Skip to content

Commit 30ccff4

Browse files
committed
1.5.0 build
1 parent 8f18700 commit 30ccff4

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed

docs/components/Node.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ type: `object`
1212
defaultValue: `undefined`
1313

1414

15-
### `circleRadius` (required)
15+
### `circleRadius`
1616

1717
type: `number`
18+
defaultValue: `undefined`
1819

1920

2021
### `name` (required)
@@ -27,6 +28,11 @@ type: `string`
2728
type: `object`
2829

2930

31+
### `nodeSvgShape` (required)
32+
33+
type: `object`
34+
35+
3036
### `onClick` (required)
3137

3238
type: `func`
@@ -56,10 +62,14 @@ defaultValue: `{
5662

5763
### `textAnchor`
5864

59-
type: `string`
6065
defaultValue: `'start'`
6166

6267

68+
### `textLayout` (required)
69+
70+
type: `object`
71+
72+
6373
### `transitionDuration` (required)
6474

6575
type: `number`

docs/components/Tree.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Props
99
### `circleRadius`
1010

1111
type: `number`
12-
defaultValue: `10`
12+
defaultValue: `undefined`
1313

1414

1515
### `collapsible`
@@ -41,6 +41,17 @@ type: `shape[object Object]`
4141
defaultValue: `{ x: 140, y: 140 }`
4242

4343

44+
### `nodeSvgShape`
45+
46+
type: `shape[object Object]`
47+
defaultValue: `{
48+
shape: 'circle',
49+
shapeProps: {
50+
r: 10,
51+
},
52+
}`
53+
54+
4455
### `onClick`
4556

4657
type: `func`
@@ -77,6 +88,16 @@ type: `shape[object Object]`
7788
defaultValue: `{}`
7889

7990

91+
### `textLayout`
92+
93+
type: `object`
94+
defaultValue: `{
95+
textAnchor: 'start',
96+
x: 10,
97+
y: -10,
98+
}`
99+
100+
80101
### `transitionDuration`
81102

82103
type: `number`

0 commit comments

Comments
 (0)