Skip to content

Commit

Permalink
correct codeexample preamble entries in Lua file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo-Gul committed Jun 21, 2020
1 parent d46891b commit 55b316d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ local declare = require("pgf.gd.interface.InterfaceToAlgorithms").declare
-- The following examples shows how a simple graph can be scaled by
-- changing the |node distance|:
-- %
-- \begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
-- \begin{codeexample}[preamble={\usetikzlibrary{graphs.standard,graphdrawing}
-- \usegdlibrary{force}}]
-- \tikz \graph [spring layout, node distance=7mm] { subgraph C_n[n=3] };
-- \tikz \graph [spring layout] { subgraph C_n[n=3] };
-- \tikz \graph [spring layout, node distance=15mm]{ subgraph C_n[n=3] };
-- \end{codeexample}
-- %
-- \begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
-- \begin{codeexample}[preamble={\usetikzlibrary{graphs.standard,graphdrawing}
-- \usegdlibrary{force}}]
-- \tikz \graph [spring electrical layout, node distance=0.7cm] { subgraph C_n[n=3] };
-- \tikz \graph [spring electrical layout] { subgraph C_n[n=3] };
Expand Down

0 comments on commit 55b316d

Please sign in to comment.