Skip to content

Commit

Permalink
Tidy up formatting of Components.lua and control/library.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 22, 2024
1 parent d4c1104 commit b725732
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions tex/generic/pgf/graphdrawing/lua/pgf/gd/control/Components.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,20 @@ declare {
rather it works as if this option were always set.
"]],
examples = {
options = [[preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{circular}]],
[["
\tikz \graph [simple necklace layout]
{
a -- b -- c -- d -- a,
1 -- 2 -- 3 -- 1
};
"]],[["
\tikz \graph [simple necklace layout, componentwise]
{
a -- b -- c -- d -- a,
1 -- 2 -- 3 -- 1
};
"]]
options = [[ preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{circular} ]],
[[
\tikz \graph [simple necklace layout]
{
a -- b -- c -- d -- a,
1 -- 2 -- 3 -- 1
};
]],[[
\tikz \graph [simple necklace layout, componentwise]
{
a -- b -- c -- d -- a,
1 -- 2 -- 3 -- 1
};
]]
}
}

Expand Down
8 changes: 4 additions & 4 deletions tex/generic/pgf/graphdrawing/lua/pgf/gd/control/library.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ declare {
"]],
examples = {
options = [[ preamble=\usetikzlibrary{graphs.standard,graphdrawing} \usegdlibrary{circular,trees} ]],
[["
[[
\tikz \graph [simple necklace layout, nodes={draw,fill=white},
nodes behind edges]
{ subgraph K_n [n=7], 1 [regardless at={(0,-1)}] };
"]]
]]
}
}

Expand All @@ -77,11 +77,11 @@ declare {
"]],
examples = {
options = [[ preamble=\usetikzlibrary{graphs.standard,graphdrawing} \usegdlibrary{circular,trees} ]],
[["
[[
\tikz \graph [simple necklace layout, nodes={draw,fill=white},
edges behind nodes]
{ subgraph K_n [n=7], 1 [regardless at={(0,-1)}] };
"]]
]]
}
}

Expand Down

0 comments on commit b725732

Please sign in to comment.