summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/LongestPathRanking.lua
blob: e81bb2e1c30725481ac0889b88cb95be4dcacee0 (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
-- 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          "LongestPathRanking"
summary      "The longest-path ranking algorithm."
documentation
[[
|LongestPathRanking| implements the well-known longest-path ranking
algorithm, which can be used as first phase in |SugiyamaLayout|. The
implementation contains a special optimization for reducing edge
lengths, as well as special treatment of mixed-upward graphs (for
instance, \textsc{uml} class diagrams).
]]
--------------------------------------------------------------------


--------------------------------------------------------------------
key          "LongestPathRanking.separateDeg0Layer"
summary      "If set to true, isolated nodes are placed on a separate layer."
--------------------------------------------------------------------


--------------------------------------------------------------------
key          "LongestPathRanking.separateMultiEdges"
summary      "If set to true, multi-edges will span at least two layers."
--------------------------------------------------------------------



--------------------------------------------------------------------
key          "LongestPathRanking.optimizeEdgeLength"
summary
[[
If set to true the ranking algorithm tries to reduce edge
length even if this might increase the height of the layout. Choose
false, if the longest-path ranking known from the literature should be
used.
]]
--------------------------------------------------------------------