Skip to content

Commit

Permalink
Add missing preamble to SokaMichener1958.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 21, 2024
1 parent 0f4f5d6 commit d31a9d9
Showing 1 changed file with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,22 @@ declare {
This algorithm uses a distance matrix, ideally an ultrametric
one, to compute the graph.
"]],
examples = [["
\tikz \graph [phylogenetic tree layout, sibling distance=0pt, sibling sep=2pt,
unweighted pair group method using arithmetic averages,
distance matrix={
0 4 9 9 9 9 9
4 0 9 9 9 9 9
9 9 0 2 7 7 7
9 9 2 0 7 7 7
9 9 7 7 0 3 5
9 9 7 7 3 0 5
9 9 7 7 5 5 0}]
{ a, b, c, d, e, f, g };
"]]
examples = {
options = [[ preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{phylogenetics} ]],
[[
\tikz \graph [phylogenetic tree layout, sibling distance=0pt, sibling sep=2pt,
unweighted pair group method using arithmetic averages,
distance matrix={
0 4 9 9 9 9 9
4 0 9 9 9 9 9
9 9 0 2 7 7 7
9 9 2 0 7 7 7
9 9 7 7 0 3 5
9 9 7 7 3 0 5
9 9 7 7 5 5 0}]
{ a, b, c, d, e, f, g };
]]
}
}


Expand Down

0 comments on commit d31a9d9

Please sign in to comment.