Skip to content

Commit 014e351

Browse files
committed
1.3.0 build
1 parent 5e09a11 commit 014e351

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed

docs/components/Node.md

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

1414

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

1717
type: `number`
18-
defaultValue: `10`
1918

2019

2120
### `name` (required)

docs/components/Tree.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
Props
77
-----
88

9+
### `circleRadius`
10+
11+
type: `number`
12+
defaultValue: `10`
13+
14+
915
### `collapsible`
1016

1117
type: `bool`
@@ -29,6 +35,18 @@ type: `number`
2935
defaultValue: `undefined`
3036

3137

38+
### `nodeSize`
39+
40+
type: `shape[object Object]`
41+
defaultValue: `{ x: 140, y: 140 }`
42+
43+
44+
### `onClick`
45+
46+
type: `func`
47+
defaultValue: `undefined`
48+
49+
3250
### `orientation`
3351

3452
type: `enum('horizontal'|'vertical')`
@@ -47,6 +65,12 @@ type: `shape[object Object]`
4765
defaultValue: `{ min: 0.1, max: 1 }`
4866

4967

68+
### `separation`
69+
70+
type: `shape[object Object]`
71+
defaultValue: `{ siblings: 1, nonSiblings: 2 }`
72+
73+
5074
### `styles`
5175

5276
type: `shape[object Object]`

docs/util/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ parseCSV - Parses a CSV file into a hierarchy structure.
2727
| Param | Type | Description |
2828
| --- | --- | --- |
2929
| csvFilePath | <code>string</code> | Path to CSV file to be parsed. |
30-
| attributeFields | <code>array.&lt;string&gt;</code> OR <code>undefined</code> | Set of column names to be used as attributes (optional) |
30+
| attributeFields | <code>array.&lt;string&gt;</code> \| <code>undefined</code> | Set of column names to be used as attributes (optional) |
3131

3232
<a name="parseJSON"></a>
3333

@@ -52,7 +52,7 @@ parseFlatJSON - Parses a flat JSON file into a hierarchy structure.
5252
| Param | Type | Description |
5353
| --- | --- | --- |
5454
| jsonFilePath | <code>string</code> | Path to flat JSON file to be parsed. |
55-
| attributeFields | <code>array.&lt;string&gt;</code> OR <code>undefined</code> | Set of `link` fields to be used as attributes |
55+
| attributeFields | <code>array.&lt;string&gt;</code> \| <code>undefined</code> | Set of `link` fields to be used as attributes |
5656

5757
<a name="generateHierarchy"></a>
5858

0 commit comments

Comments
 (0)