Skip to content

Commit

Permalink
Fix missing preamble in SpanningTreeComputation.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 21, 2024
1 parent 4a14150 commit 13d36d9
Showing 1 changed file with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,23 @@ declare {
preferred in the computation of the spanning tree, but use
|no span edge| to cause the algorithm to ignore these edges.
"]],
examples = [['
\tikz \graph [tree layout, nodes={draw}, sibling distance=0pt,
every group/.style={
default edge kind=->, no span edge,
path=source}]
{
5 -> {
"1,3" -> {0,2,4},
11 -> {
"7,9" -> { 6, 8, 10 }
examples = {
options = [[ preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{trees} ]],
[[
\tikz \graph [tree layout, nodes={draw}, sibling distance=0pt,
every group/.style={
default edge kind=->, no span edge,
path=source}]
{
5 -> {
"1,3" -> {0,2,4},
11 -> {
"7,9" -> { 6, 8, 10 }
}
}
}
};
']]
};
]]
}
}


Expand Down

0 comments on commit 13d36d9

Please sign in to comment.