blob: f8854e71618a85428f56ee0cea060642fa1e9089 (
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
|
-- Copyright 2012 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: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd/force/SpringElectricalLayouts.lua,v 1.4 2013/05/23 20:01:27 tantau Exp $
-- Imports
local declare = require("pgf.gd.interface.InterfaceToAlgorithms").declare
---
-- @section subsection {Spring Electrical Layouts}
--
-- @end
---
declare {
key = "spring electrical layout",
use = {
{ key = "spring electrical Hu 2006 layout" },
{ key = "spring constant", value = "0.2" }
},
summary = [["
This key selects Hu's 2006 spring electrical layout with
appropriate settings for some parameters.
"]]
}
---
declare {
key = "spring electrical layout'",
use = {
{ key = "spring electrical Walshaw 2000 layout" },
{ key = "spring constant", value = "0.01" },
{ key = "convergence tolerance", value = "0.001" },
},
summary = [["
This key selects Walshaw's 2000 spring electrical layout with
appropriate settings for some parameters.
"]]
}
|