diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-25 22:01:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-25 22:01:58 +0000 |
commit | 1e611e5edb570cb045a27e8fa52e7ffa36ba2f29 (patch) | |
tree | 7ab33bc15b74c32c00a740fca680c541387320eb /Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua | |
parent | 59ded7330e89e2fd397692f54866a264ef5ba679 (diff) |
pgf (25dec20)
git-svn-id: svn://tug.org/texlive/trunk@57224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua b/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua index 71005d85274..9b0c1071e37 100644 --- a/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua +++ b/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua @@ -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] }; |