Skip to content

Commit 3e126db

Browse files
committed
Update schema and types
1 parent 87f1387 commit 3e126db

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

src/types/generated/schema.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6775,6 +6775,11 @@ export interface SankeyData {
67756775
*/
67766776
label?: Datum[] | Datum[][] | TypedArray;
67776777
line?: _internal.Line;
6778+
/**
6779+
* For `auto` (the default), the order of links attached to each node is determined automatically by the layout. For `input`, the order of links at each node is kept the same as the order in the input array.
6780+
* @default 'auto'
6781+
*/
6782+
sort?: 'auto' | 'input';
67786783
/**
67796784
* An integer number `[0..nodes.length - 1]` that represents the source node.
67806785
* @default []
@@ -6838,7 +6843,7 @@ export interface SankeyData {
68386843
*/
68396844
pad?: number;
68406845
/**
6841-
* If the value is `auto` (the default), the vertical order of nodes will be determined automatically by the layout. If the value is `input`, the vertical order is kept the same as the order in the input node array
6846+
* For `auto` (the default), the vertical order of nodes will be determined automatically by the layout. For `input`, the vertical order of nodes is kept the same as the order in the input array.
68426847
* @default 'auto'
68436848
*/
68446849
sort?: 'auto' | 'input';

test/plot-schema.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50476,6 +50476,16 @@
5047650476
}
5047750477
},
5047850478
"role": "object",
50479+
"sort": {
50480+
"description": "For `auto` (the default), the order of links attached to each node is determined automatically by the layout. For `input`, the order of links at each node is kept the same as the order in the input array.",
50481+
"dflt": "auto",
50482+
"editType": "calc",
50483+
"valType": "enumerated",
50484+
"values": [
50485+
"auto",
50486+
"input"
50487+
]
50488+
},
5047950489
"source": {
5048050490
"description": "An integer number `[0..nodes.length - 1]` that represents the source node.",
5048150491
"dflt": [],
@@ -50747,7 +50757,7 @@
5074750757
},
5074850758
"role": "object",
5074950759
"sort": {
50750-
"description": "If the value is `auto` (the default), the vertical order of nodes will be determined automatically by the layout. If the value is `input`, the vertical order is kept the same as the order in the input node array",
50760+
"description": "For `auto` (the default), the vertical order of nodes will be determined automatically by the layout. For `input`, the vertical order of nodes is kept the same as the order in the input array.",
5075150761
"dflt": "auto",
5075250762
"editType": "calc",
5075350763
"valType": "enumerated",

0 commit comments

Comments
 (0)