File tree Expand file tree Collapse file tree 3 files changed +49
-36
lines changed Expand file tree Collapse file tree 3 files changed +49
-36
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,13 @@ type: `enum('horizontal'|'vertical')`
20
20
21
21
type: ` enum('diagonal'|'elbow') `
22
22
23
+
24
+ ### ` styles ` (required)
25
+
26
+ type: ` object `
27
+
28
+
29
+ ### ` transitionDuration ` (required)
30
+
31
+ type: ` number `
32
+
Original file line number Diff line number Diff line change 6
6
Props
7
7
-----
8
8
9
- ### ` circleRadius `
10
-
11
- type: ` number `
12
- defaultValue: ` 10 `
13
-
14
-
15
- ### ` circleStyle `
9
+ ### ` attributes `
16
10
17
11
type: ` object `
18
- defaultValue: `{
19
- stroke: '#000 ',
20
- strokeWidth: 2,
21
- fill: 'grey',
22
- }`
12
+ defaultValue: ` undefined `
23
13
24
14
25
- ### ` depthFactor `
15
+ ### ` circleRadius `
26
16
27
17
type: ` number `
18
+ defaultValue: ` 10 `
28
19
29
20
30
- ### ` leafCircleStyle `
21
+ ### ` name ` (required)
31
22
32
- type: ` object `
33
- defaultValue: `{
34
- stroke: '#000 ',
35
- strokeWidth: 2,
36
- fill: 'transparent',
37
- }`
23
+ type: ` string `
38
24
39
25
40
26
### ` nodeData ` (required)
41
27
42
28
type: ` object `
43
29
44
30
45
- ### ` onClick `
31
+ ### ` onClick ` (required)
46
32
47
33
type: ` func `
48
34
@@ -52,27 +38,18 @@ type: `func`
52
38
type: ` enum('horizontal'|'vertical') `
53
39
54
40
55
- ### ` primaryLabel `
56
-
57
- type: ` string `
58
-
59
-
60
- ### ` primaryLabelStyle `
61
-
62
- type: ` object `
63
-
64
-
65
- ### ` secondaryLabels `
41
+ ### ` styles ` (required)
66
42
67
43
type: ` object `
68
44
69
45
70
- ### ` secondaryLabelsStyle `
46
+ ### ` textAnchor `
71
47
72
- type: ` object `
48
+ type: ` string `
49
+ defaultValue: ` 'start' `
73
50
74
51
75
- ### ` textAnchor `
52
+ ### ` transitionDuration ` (required)
76
53
77
- type: ` string `
54
+ type: ` number `
78
55
Original file line number Diff line number Diff line change @@ -47,6 +47,32 @@ type: `shape[object Object]`
47
47
defaultValue: ` { min: 0.1, max: 1 } `
48
48
49
49
50
+ ### ` styles `
51
+
52
+ type: ` shape[object Object] `
53
+ defaultValue: `{
54
+ nodes: {
55
+ node: {
56
+ circle: {},
57
+ name: {},
58
+ attributes: {},
59
+ },
60
+ leafNode: {
61
+ circle: {},
62
+ name: {},
63
+ attributes: {},
64
+ },
65
+ },
66
+ links: {},
67
+ }`
68
+
69
+
70
+ ### ` transitionDuration `
71
+
72
+ type: ` number `
73
+ defaultValue: ` 500 `
74
+
75
+
50
76
### ` translate `
51
77
52
78
type: ` shape[object Object] `
You can’t perform that action at this time.
0 commit comments