-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.js
81 lines (74 loc) · 1.65 KB
/
config.js
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
var config = {
svg : null,
shape : {
stroke : "black",
fill : "white",
strokeOpacity : "1",
strokeWidth : "1px",
fillOpacity : "1",
limitWidth: 20,
limitHeight: 20
},
arc : {
stroke : "black",
fill : "white",
strokeOpacity : "1",
strokeWidth : "1px",
fillOpacity : "1",
limitWidth: 20,
limitHeight: 20
},
box : {
stroke : "indigo",
strokeWidth : "2px",
fill : "none",
strokeDasharray : "4"
},
point : {
fill : "black",
strokeWidth : "1pt",
radius : 3,
},
line : {
stroke: "black",
fill : "white",
strokeWidth : "1px",
strokeDasharray : "4",
strokelinejoin: "round"
},
link: {
type: "broke",
end_start : "cirle",
end_dest : "triangle",
},
text : {
fill : "black",
fontfamily: "sans-serif",
fontstyle: "normal", // normal || italic || oblic
fontsize: "medium", // smaller || value in em unit
fontweight: "normal", // normal || bold || bolder || lighter
size: 100,
textanchor: "middle", //start || middle || end
letterspacing: 0,
startoffset: "50%"
},
ends : {
tri: {
h: 8,
base: 8,
fill: "black",
stroke: "black",
strokeWidth: "1px"
},
circle: {
r: 3.5,
fill: "white",
stroke: "black",
strokeWidth: "1px"
},
lozenge: {
},
minspace: 10
}
}
export {config};