newick2.gv 634 B

12345678910111213141516171819202122232425
  1. /*
  2. The Newick tree format is a way of representing graph-theoretical trees
  3. with edge length using parentheses and commas.
  4. https://github.com/IAL32/Newick-To-DOT
  5. (A:0.1,B:0.2,(C:0.3,D:0.4):0.5);
  6. */
  7. graph {
  8. rankdir=LR;
  9. splines=line;
  10. node [shape=none]
  11. "d8a2fd" [shape="point"];
  12. "333740" [shape="point"];
  13. "d8a2fd" -- "333740" [shape="point"];
  14. "2dc477" [label="A"];
  15. "333740" -- "2dc477" ;
  16. "ac10d6" [label="B"];
  17. "333740" -- "ac10d6" ;
  18. "360377" [shape="point"];
  19. "333740" -- "360377" ;
  20. "c07b3f" [label="C"];
  21. "360377" -- "c07b3f" ;
  22. "e008f6" [label="D"];
  23. "360377" -- "e008f6" ;
  24. }