summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/misclayout/CircularLayout.lua
blob: c5e2cf7a6c8b8c6aa5a6816d2201297fb046a2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
-- Copyright 2013 by Till Tantau
--
-- This file may be distributed an/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information

-- @release $Header$


local key           = require 'pgf.gd.doc'.key
local documentation = require 'pgf.gd.doc'.documentation
local summary       = require 'pgf.gd.doc'.summary
local example       = require 'pgf.gd.doc'.example


--------------------------------------------------------------------------------
key           "CircularLayout"
summary       "The circular layout algorithm."

documentation
[[
The implementation used in CircularLayout is based on the following publication:
%
\begin{itemize}
  \item Ugur Dogrus\"oz, Brendan Madden, Patrick Madden: Circular
    Layout in the Graph Layout Toolkit. \emph{Proc. Graph Drawing 1996,}
    LNCS 1190, pp. 92--100, 1997.
\end{itemize}
]]

example
[[
\tikz \graph [CircularLayout] {
  a -- b -- c -- a -- d -- e -- f -- g -- d;
  b -- {x,y,z};
};
]]
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
key           "CircularLayout.minDistCircle"
summary       "The minimal padding between nodes on a circle."

documentation "This is an alias for |part sep|."

example
[[
\tikz \graph [CircularLayout, part sep=1cm] {
  a -- b -- c -- a -- d -- e -- f -- g -- d;
  b -- {x,y,z};
};
]]
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
key           "CircularLayout.minDistLevel"
summary       "The minimal padding between nodes on different levels."

documentation "This is an alias for |layer sep| and |level sep|."

example
[[
\tikz \graph [CircularLayout, layer sep=1cm] {
  a -- b -- c -- a -- d -- e -- f -- g -- d;
  b -- {x,y,z};
};
]]
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
key           "CircularLayout.minDistSibling"
summary       "The minimal padding between sibling nodes."

documentation "This is an alias for |sibling sep|."

example
[[
\tikz \graph [CircularLayout, sibling sep=1cm] {
  a -- b -- c -- a -- d -- e -- f -- g -- d;
  b -- {x,y,z};
};
]]
--------------------------------------------------------------------------------


-- Local Variables:
-- mode:latex
-- End: