-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartgraph.css
48 lines (42 loc) · 1.1 KB
/
smartgraph.css
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
.graph {
-fx-background-color: #F4FFFB;
}
.vertex {
-fx-stroke-width: 3;
-fx-stroke: #61B5F1;
-fx-stroke-type: inside; /* you should keep this for vertex.radius to hold */
-fx-fill: #B1DFF7;
}
.vertex-label {
-fx-font: bold 12pt "sans-serif";
}
.edge {
-fx-stroke-width: 2;
-fx-stroke: #FF6D66;
-fx-stroke-dash-array: 2 5 2 5; /* remove for clean edges */
-fx-fill: transparent; /*important for curved edges. do not remove */
-fx-stroke-line-cap: round;
-fx-opacity: 0.8;
}
.edge-label {
-fx-font: normal 8pt "sans-serif";
}
.arrow {
-fx-stroke-width: 4;
-fx-stroke: #dc143c;
-fx-opacity: 5;
}
/* Custom vertex. You should revert any unwanted styling in the default element,
style, since custom styles will be appended to the default style */
.myVertex {
-fx-stroke-width: 5;
-fx-stroke: green;
-fx-stroke-type: inside; /* you should keep this if using arrows */
-fx-fill: yellowgreen;
}
.myVertex2 {
-fx-stroke-width: 5;
-fx-stroke: red;
-fx-stroke-type: inside; /* you should keep this if using arrows */
-fx-fill: orange;
}