Skip to content

Commit

Permalink
Fix preamble in ControlElectric.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 23, 2024
1 parent 19d67f6 commit 31cecf5
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,14 @@ declare {
of symmetries and an upscaling of the drawings.
]],
examples = {
options = [[ preamble={\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{force}} ]],
options = [[ preamble={\usetikzlibrary{graphs.standard,graphdrawing} \usegdlibrary{force}} ]],
[[
\tikz \graph [spring electrical layout, horizontal=0 to 1]
{ 0 [electric charge=1] -- subgraph C_n [n=10] };
]],
[[
]],[[
\tikz \graph [spring electrical layout, horizontal=0 to 1]
{ 0 [electric charge=5] -- subgraph C_n [n=10] };
]],
[[
]],[[
\tikz \graph [spring electrical layout, horizontal=0 to 1]
{ [clique] 1 [electric charge=5], 2, 3, 4 };
]]
Expand Down

0 comments on commit 31cecf5

Please sign in to comment.