Commit b805f17 1 parent 37b5c4a commit b805f17 Copy full SHA for b805f17
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ graphModel.graphDataToModel(graphData)
367
367
返回值: GraphConfigData
368
368
369
369
``` js
370
- cosnt graphData = graphModel .modelToGraphData ();
370
+ const graphData = graphModel .modelToGraphData ();
371
371
console .log (graphData)
372
372
```
373
373
@@ -387,7 +387,7 @@ console.log(graphData)
387
387
[ EdgeModel] ( /api/baseEdgeModelApi.html )
388
388
389
389
``` js
390
- cosnt edgeModel = graphModel .getEdgeModelById (' edge_id' );
390
+ const edgeModel = graphModel .getEdgeModelById (' edge_id' );
391
391
console .log (edgeModel)
392
392
```
393
393
@@ -408,7 +408,7 @@ console.log(edgeModel)
408
408
409
409
410
410
``` js
411
- cosnt edgeModel = graphModel .getElement (' edge_id' );
411
+ const edgeModel = graphModel .getElement (' edge_id' );
412
412
console .log (edgeModel)
413
413
```
414
414
@@ -428,7 +428,7 @@ console.log(edgeModel)
428
428
[ EdgeModel] ( /api/baseEdgeModelApi.html )
429
429
430
430
``` js
431
- cosnt edgeModels = graphModel .getNodeEdges (' node_id_1' );
431
+ const edgeModels = graphModel .getNodeEdges (' node_id_1' );
432
432
console .log (edgeModels)
433
433
```
434
434
@@ -444,7 +444,7 @@ console.log(edgeModels)
444
444
| isIgnoreCheck| boolean| true| 是否包括sourceNode和targetNode没有被选中的边,默认包括。 复制的时候不能包括此类边, 因为复制的时候不允许悬空的边|
445
445
446
446
``` js
447
- cosnt elements = graphModel .getSelectElements (true );
447
+ const elements = graphModel .getSelectElements (true );
448
448
console .log (elements)
449
449
```
450
450
You can’t perform that action at this time.
0 commit comments