@next-bricks/diagram 0.42.11 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/{1122.97ee7474.js → 1122.dea87200.js} +2 -2
  3. package/dist/chunks/{1122.97ee7474.js.map → 1122.dea87200.js.map} +1 -1
  4. package/dist/chunks/{114.9d0b78d2.js → 114.d27688d7.js} +2 -2
  5. package/dist/chunks/{114.9d0b78d2.js.map → 114.d27688d7.js.map} +1 -1
  6. package/dist/chunks/{1940.3fa9b819.js → 1940.e1fdb1c6.js} +2 -2
  7. package/dist/chunks/{1940.3fa9b819.js.map → 1940.e1fdb1c6.js.map} +1 -1
  8. package/dist/chunks/{2277.642aada3.js → 2277.0b3548af.js} +2 -2
  9. package/dist/chunks/{4658.ff7efb11.js.map → 2277.0b3548af.js.map} +1 -1
  10. package/dist/chunks/3025.6d94cc70.js +3 -0
  11. package/dist/chunks/3025.6d94cc70.js.map +1 -0
  12. package/dist/chunks/{3171.9a74d0e1.js → 3171.633b30e8.js} +2 -2
  13. package/dist/chunks/{3171.9a74d0e1.js.map → 3171.633b30e8.js.map} +1 -1
  14. package/dist/chunks/3233.70157b34.js +3 -0
  15. package/dist/chunks/3233.70157b34.js.map +1 -0
  16. package/dist/chunks/3252.0a5098f4.js +2 -0
  17. package/dist/chunks/3252.0a5098f4.js.map +1 -0
  18. package/dist/chunks/3933.fca8ae82.js +2 -0
  19. package/dist/chunks/{3933.e4f7efe6.js.map → 3933.fca8ae82.js.map} +1 -1
  20. package/dist/chunks/{4658.ff7efb11.js → 4658.d4d0115b.js} +2 -2
  21. package/dist/chunks/{2277.642aada3.js.map → 4658.d4d0115b.js.map} +1 -1
  22. package/dist/chunks/4837.44f22425.js +2 -0
  23. package/dist/chunks/{7218.3cc8b20d.js.map → 4837.44f22425.js.map} +1 -1
  24. package/dist/chunks/{5552.69fe3835.js → 5552.ad11237e.js} +2 -2
  25. package/dist/chunks/{5552.69fe3835.js.map → 5552.ad11237e.js.map} +1 -1
  26. package/dist/chunks/6314.f35cc928.js +2 -0
  27. package/dist/chunks/{6314.d82ad8ed.js.map → 6314.f35cc928.js.map} +1 -1
  28. package/dist/chunks/7218.6822e904.js +2 -0
  29. package/dist/chunks/{4837.ac3853bb.js.map → 7218.6822e904.js.map} +1 -1
  30. package/dist/chunks/{7733.a27200f8.js → 7733.e752ca8f.js} +2 -2
  31. package/dist/chunks/{7733.a27200f8.js.map → 7733.e752ca8f.js.map} +1 -1
  32. package/dist/chunks/799.5e6749ba.js +3 -0
  33. package/dist/chunks/799.5e6749ba.js.map +1 -0
  34. package/dist/chunks/{9559.436645e2.js → 9559.1cd5e0b2.js} +2 -2
  35. package/dist/chunks/{9559.436645e2.js.map → 9559.1cd5e0b2.js.map} +1 -1
  36. package/dist/chunks/9711.d7bd00df.js +2 -0
  37. package/dist/chunks/9711.d7bd00df.js.map +1 -0
  38. package/dist/chunks/{editable-label.a3d1d983.js → editable-label.e65ba20e.js} +3 -3
  39. package/dist/chunks/{editable-label.a3d1d983.js.map → editable-label.e65ba20e.js.map} +1 -1
  40. package/dist/chunks/eo-diagram.1934f2b2.js +2 -0
  41. package/dist/chunks/eo-diagram.1934f2b2.js.map +1 -0
  42. package/dist/chunks/eo-display-canvas.f874fb2f.js +2 -0
  43. package/dist/chunks/eo-display-canvas.f874fb2f.js.map +1 -0
  44. package/dist/chunks/eo-draw-canvas.84ade234.js +2 -0
  45. package/dist/chunks/eo-draw-canvas.84ade234.js.map +1 -0
  46. package/dist/chunks/experimental-node.7441f68a.js +2 -0
  47. package/dist/chunks/{experimental-node.c9bb5135.js.map → experimental-node.7441f68a.js.map} +1 -1
  48. package/dist/chunks/main.9e233da7.js +2 -0
  49. package/dist/chunks/main.9e233da7.js.map +1 -0
  50. package/dist/examples.json +4 -4
  51. package/dist/index.d6687c6f.js +2 -0
  52. package/dist/index.d6687c6f.js.map +1 -0
  53. package/dist/manifest.json +48 -41
  54. package/dist/types.json +1018 -472
  55. package/dist-types/diagram/lines/getPolyLinePoints.d.ts +2 -2
  56. package/dist-types/draw-canvas/CellComponent.d.ts +3 -2
  57. package/dist-types/draw-canvas/HoverStateContext.d.ts +27 -0
  58. package/dist-types/draw-canvas/LineConnectorComponent.d.ts +9 -0
  59. package/dist-types/draw-canvas/SmartConnectLineComponent.d.ts +8 -0
  60. package/dist-types/draw-canvas/constants.d.ts +2 -0
  61. package/dist-types/draw-canvas/decorators/DecoratorArea.d.ts +1 -1
  62. package/dist-types/draw-canvas/decorators/index.d.ts +1 -1
  63. package/dist-types/draw-canvas/index.d.ts +4 -2
  64. package/dist-types/draw-canvas/interfaces.d.ts +56 -16
  65. package/dist-types/draw-canvas/processors/handleMouseDown.d.ts +3 -2
  66. package/dist-types/draw-canvas/processors/normalizeSnapOptions.d.ts +6 -0
  67. package/dist-types/draw-canvas/processors/normalizeSnapOptions.spec.d.ts +1 -0
  68. package/dist-types/draw-canvas/reducers/interfaces.d.ts +3 -1
  69. package/dist-types/shared/canvas/processors/getConnectLinePoints.d.ts +4 -0
  70. package/dist-types/shared/canvas/processors/getConnectLinePoints.spec.d.ts +1 -0
  71. package/dist-types/shared/canvas/processors/getSmartLinePoints.d.ts +3 -0
  72. package/dist-types/shared/canvas/processors/nodeViewToNodeRect.d.ts +3 -0
  73. package/dist-types/shared/canvas/shapes/Rectangle.d.ts +2 -0
  74. package/dist-types/shared/canvas/useLineMarkers.d.ts +7 -5
  75. package/docs/eo-draw-canvas.md +15 -5
  76. package/package.json +4 -4
  77. package/dist/chunks/1371.4d56b3dc.js +0 -2
  78. package/dist/chunks/1371.4d56b3dc.js.map +0 -1
  79. package/dist/chunks/2416.1dd136d0.js +0 -2
  80. package/dist/chunks/2416.1dd136d0.js.map +0 -1
  81. package/dist/chunks/3489.e0ce6106.js +0 -3
  82. package/dist/chunks/3489.e0ce6106.js.map +0 -1
  83. package/dist/chunks/3790.093a51f1.js +0 -3
  84. package/dist/chunks/3790.093a51f1.js.map +0 -1
  85. package/dist/chunks/3933.e4f7efe6.js +0 -2
  86. package/dist/chunks/4017.2680d65a.js +0 -3
  87. package/dist/chunks/4017.2680d65a.js.LICENSE.txt +0 -5
  88. package/dist/chunks/4017.2680d65a.js.map +0 -1
  89. package/dist/chunks/4837.ac3853bb.js +0 -2
  90. package/dist/chunks/6314.d82ad8ed.js +0 -2
  91. package/dist/chunks/7218.3cc8b20d.js +0 -2
  92. package/dist/chunks/799.0d07ef57.js +0 -3
  93. package/dist/chunks/799.0d07ef57.js.map +0 -1
  94. package/dist/chunks/eo-diagram.261eb2d9.js +0 -2
  95. package/dist/chunks/eo-diagram.261eb2d9.js.map +0 -1
  96. package/dist/chunks/eo-display-canvas.e43ca2e5.js +0 -2
  97. package/dist/chunks/eo-display-canvas.e43ca2e5.js.map +0 -1
  98. package/dist/chunks/eo-draw-canvas.91b46e0d.js +0 -2
  99. package/dist/chunks/eo-draw-canvas.91b46e0d.js.map +0 -1
  100. package/dist/chunks/experimental-node.c9bb5135.js +0 -2
  101. package/dist/chunks/main.4e79d4df.js +0 -2
  102. package/dist/chunks/main.4e79d4df.js.map +0 -1
  103. package/dist/index.4a8ba3c2.js +0 -2
  104. package/dist/index.4a8ba3c2.js.map +0 -1
  105. /package/dist/chunks/{3489.e0ce6106.js.LICENSE.txt → 3025.6d94cc70.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{3790.093a51f1.js.LICENSE.txt → 3233.70157b34.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{799.0d07ef57.js.LICENSE.txt → 799.5e6749ba.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{editable-label.a3d1d983.js.LICENSE.txt → editable-label.e65ba20e.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -860,6 +860,22 @@
860
860
  }
861
861
  },
862
862
  "computed": false
863
+ },
864
+ {
865
+ "type": "propertySignature",
866
+ "key": {
867
+ "type": "identifier",
868
+ "name": "view"
869
+ },
870
+ "annotation": {
871
+ "type": "reference",
872
+ "typeName": {
873
+ "type": "identifier",
874
+ "name": "EdgeView"
875
+ }
876
+ },
877
+ "optional": true,
878
+ "computed": false
863
879
  }
864
880
  ],
865
881
  "extends": [
@@ -872,6 +888,228 @@
872
888
  }
873
889
  ]
874
890
  },
891
+ {
892
+ "type": "interface",
893
+ "name": "EdgeView",
894
+ "body": [
895
+ {
896
+ "type": "propertySignature",
897
+ "key": {
898
+ "type": "identifier",
899
+ "name": "exitPosition"
900
+ },
901
+ "annotation": {
902
+ "type": "reference",
903
+ "typeName": {
904
+ "type": "identifier",
905
+ "name": "NodePosition"
906
+ }
907
+ },
908
+ "optional": true,
909
+ "computed": false
910
+ },
911
+ {
912
+ "type": "propertySignature",
913
+ "key": {
914
+ "type": "identifier",
915
+ "name": "entryPosition"
916
+ },
917
+ "annotation": {
918
+ "type": "reference",
919
+ "typeName": {
920
+ "type": "identifier",
921
+ "name": "NodePosition"
922
+ }
923
+ },
924
+ "optional": true,
925
+ "computed": false
926
+ }
927
+ ],
928
+ "extends": [
929
+ {
930
+ "type": "expressionWithTypeArguments",
931
+ "expression": {
932
+ "type": "identifier",
933
+ "name": "BaseEdgeLineConf"
934
+ }
935
+ }
936
+ ]
937
+ },
938
+ {
939
+ "type": "interface",
940
+ "name": "BaseEdgeLineConf",
941
+ "body": [
942
+ {
943
+ "type": "propertySignature",
944
+ "key": {
945
+ "type": "identifier",
946
+ "name": "type"
947
+ },
948
+ "annotation": {
949
+ "type": "reference",
950
+ "typeName": {
951
+ "type": "identifier",
952
+ "name": "LineType"
953
+ }
954
+ },
955
+ "optional": true,
956
+ "computed": false
957
+ },
958
+ {
959
+ "type": "propertySignature",
960
+ "key": {
961
+ "type": "identifier",
962
+ "name": "curveType"
963
+ },
964
+ "annotation": {
965
+ "type": "reference",
966
+ "typeName": {
967
+ "type": "identifier",
968
+ "name": "CurveType"
969
+ }
970
+ },
971
+ "optional": true,
972
+ "computed": false
973
+ },
974
+ {
975
+ "type": "propertySignature",
976
+ "key": {
977
+ "type": "identifier",
978
+ "name": "dashed"
979
+ },
980
+ "annotation": {
981
+ "type": "keyword",
982
+ "value": "boolean"
983
+ },
984
+ "optional": true,
985
+ "computed": false
986
+ },
987
+ {
988
+ "type": "propertySignature",
989
+ "key": {
990
+ "type": "identifier",
991
+ "name": "strokeWidth"
992
+ },
993
+ "annotation": {
994
+ "type": "keyword",
995
+ "value": "number"
996
+ },
997
+ "optional": true,
998
+ "computed": false
999
+ },
1000
+ {
1001
+ "type": "propertySignature",
1002
+ "key": {
1003
+ "type": "identifier",
1004
+ "name": "strokeColor"
1005
+ },
1006
+ "annotation": {
1007
+ "type": "keyword",
1008
+ "value": "string"
1009
+ },
1010
+ "optional": true,
1011
+ "computed": false
1012
+ },
1013
+ {
1014
+ "type": "propertySignature",
1015
+ "key": {
1016
+ "type": "identifier",
1017
+ "name": "interactStrokeWidth"
1018
+ },
1019
+ "annotation": {
1020
+ "type": "keyword",
1021
+ "value": "number"
1022
+ },
1023
+ "optional": true,
1024
+ "computed": false
1025
+ },
1026
+ {
1027
+ "type": "propertySignature",
1028
+ "key": {
1029
+ "type": "identifier",
1030
+ "name": "parallelGap"
1031
+ },
1032
+ "annotation": {
1033
+ "type": "keyword",
1034
+ "value": "number"
1035
+ },
1036
+ "optional": true,
1037
+ "computed": false
1038
+ },
1039
+ {
1040
+ "type": "propertySignature",
1041
+ "key": {
1042
+ "type": "identifier",
1043
+ "name": "showStartArrow"
1044
+ },
1045
+ "annotation": {
1046
+ "type": "keyword",
1047
+ "value": "boolean"
1048
+ },
1049
+ "optional": true,
1050
+ "computed": false
1051
+ },
1052
+ {
1053
+ "type": "propertySignature",
1054
+ "key": {
1055
+ "type": "identifier",
1056
+ "name": "showEndArrow"
1057
+ },
1058
+ "annotation": {
1059
+ "type": "keyword",
1060
+ "value": "boolean"
1061
+ },
1062
+ "optional": true,
1063
+ "computed": false
1064
+ },
1065
+ {
1066
+ "type": "propertySignature",
1067
+ "key": {
1068
+ "type": "identifier",
1069
+ "name": "animate"
1070
+ },
1071
+ "annotation": {
1072
+ "type": "reference",
1073
+ "typeName": {
1074
+ "type": "identifier",
1075
+ "name": "LineAnimate"
1076
+ }
1077
+ },
1078
+ "optional": true,
1079
+ "computed": false
1080
+ }
1081
+ ]
1082
+ },
1083
+ {
1084
+ "type": "interface",
1085
+ "name": "LineAnimate",
1086
+ "body": [
1087
+ {
1088
+ "type": "propertySignature",
1089
+ "key": {
1090
+ "type": "identifier",
1091
+ "name": "useAnimate"
1092
+ },
1093
+ "annotation": {
1094
+ "type": "keyword",
1095
+ "value": "boolean"
1096
+ },
1097
+ "computed": false
1098
+ },
1099
+ {
1100
+ "type": "propertySignature",
1101
+ "key": {
1102
+ "type": "identifier",
1103
+ "name": "duration"
1104
+ },
1105
+ "annotation": {
1106
+ "type": "keyword",
1107
+ "value": "number"
1108
+ },
1109
+ "computed": false
1110
+ }
1111
+ ]
1112
+ },
875
1113
  {
876
1114
  "type": "interface",
877
1115
  "name": "DecoratorCell",
@@ -1048,39 +1286,190 @@
1048
1286
  "type": "jsLiteral",
1049
1287
  "value": "force"
1050
1288
  },
1051
- {
1052
- "type": "jsLiteral",
1053
- "value": "dagre"
1289
+ {
1290
+ "type": "jsLiteral",
1291
+ "value": "dagre"
1292
+ },
1293
+ {
1294
+ "type": "keyword",
1295
+ "value": "undefined"
1296
+ }
1297
+ ]
1298
+ }
1299
+ },
1300
+ {
1301
+ "type": "typeAlias",
1302
+ "name": "LayoutOptions",
1303
+ "annotation": {
1304
+ "type": "union",
1305
+ "types": [
1306
+ {
1307
+ "type": "reference",
1308
+ "typeName": {
1309
+ "type": "identifier",
1310
+ "name": "LayoutOptionsManual"
1311
+ }
1312
+ },
1313
+ {
1314
+ "type": "reference",
1315
+ "typeName": {
1316
+ "type": "identifier",
1317
+ "name": "LayoutOptionsDagre"
1318
+ }
1319
+ },
1320
+ {
1321
+ "type": "reference",
1322
+ "typeName": {
1323
+ "type": "identifier",
1324
+ "name": "LayoutOptionsForce"
1325
+ }
1326
+ }
1327
+ ]
1328
+ }
1329
+ },
1330
+ {
1331
+ "type": "interface",
1332
+ "name": "LayoutOptionsManual",
1333
+ "body": [],
1334
+ "extends": [
1335
+ {
1336
+ "type": "expressionWithTypeArguments",
1337
+ "expression": {
1338
+ "type": "identifier",
1339
+ "name": "LayoutSnapOptions"
1340
+ }
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "type": "interface",
1346
+ "name": "LayoutSnapOptions",
1347
+ "body": [
1348
+ {
1349
+ "type": "propertySignature",
1350
+ "key": {
1351
+ "type": "identifier",
1352
+ "name": "snap"
1353
+ },
1354
+ "annotation": {
1355
+ "type": "union",
1356
+ "types": [
1357
+ {
1358
+ "type": "keyword",
1359
+ "value": "boolean"
1360
+ },
1361
+ {
1362
+ "type": "reference",
1363
+ "typeName": {
1364
+ "type": "identifier",
1365
+ "name": "SnapOptions"
1366
+ }
1367
+ }
1368
+ ]
1369
+ },
1370
+ "optional": true,
1371
+ "computed": false,
1372
+ "description": "Snap options. Setting to true means enable all snap options"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "type": "interface",
1378
+ "name": "SnapOptions",
1379
+ "body": [
1380
+ {
1381
+ "type": "propertySignature",
1382
+ "key": {
1383
+ "type": "identifier",
1384
+ "name": "grid"
1385
+ },
1386
+ "annotation": {
1387
+ "type": "union",
1388
+ "types": [
1389
+ {
1390
+ "type": "keyword",
1391
+ "value": "boolean"
1392
+ },
1393
+ {
1394
+ "type": "reference",
1395
+ "typeName": {
1396
+ "type": "identifier",
1397
+ "name": "SnapToGridOptions"
1398
+ }
1399
+ }
1400
+ ]
1401
+ },
1402
+ "optional": true,
1403
+ "computed": false,
1404
+ "description": "Snap to grid"
1405
+ },
1406
+ {
1407
+ "type": "propertySignature",
1408
+ "key": {
1409
+ "type": "identifier",
1410
+ "name": "object"
1411
+ },
1412
+ "annotation": {
1413
+ "type": "union",
1414
+ "types": [
1415
+ {
1416
+ "type": "keyword",
1417
+ "value": "boolean"
1418
+ },
1419
+ {
1420
+ "type": "reference",
1421
+ "typeName": {
1422
+ "type": "identifier",
1423
+ "name": "SnapToObjectOptions"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
+ "optional": true,
1429
+ "computed": false,
1430
+ "description": "Snap to object"
1431
+ }
1432
+ ]
1433
+ },
1434
+ {
1435
+ "type": "interface",
1436
+ "name": "SnapToGridOptions",
1437
+ "body": [
1438
+ {
1439
+ "type": "propertySignature",
1440
+ "key": {
1441
+ "type": "identifier",
1442
+ "name": "size"
1054
1443
  },
1055
- {
1444
+ "annotation": {
1056
1445
  "type": "keyword",
1057
- "value": "undefined"
1058
- }
1059
- ]
1060
- }
1446
+ "value": "number"
1447
+ },
1448
+ "optional": true,
1449
+ "computed": false,
1450
+ "description": ""
1451
+ }
1452
+ ]
1061
1453
  },
1062
1454
  {
1063
- "type": "typeAlias",
1064
- "name": "LayoutOptions",
1065
- "annotation": {
1066
- "type": "union",
1067
- "types": [
1068
- {
1069
- "type": "reference",
1070
- "typeName": {
1071
- "type": "identifier",
1072
- "name": "LayoutOptionsDagre"
1073
- }
1455
+ "type": "interface",
1456
+ "name": "SnapToObjectOptions",
1457
+ "body": [
1458
+ {
1459
+ "type": "propertySignature",
1460
+ "key": {
1461
+ "type": "identifier",
1462
+ "name": "distance"
1074
1463
  },
1075
- {
1076
- "type": "reference",
1077
- "typeName": {
1078
- "type": "identifier",
1079
- "name": "LayoutOptionsForce"
1080
- }
1081
- }
1082
- ]
1083
- }
1464
+ "annotation": {
1465
+ "type": "keyword",
1466
+ "value": "number"
1467
+ },
1468
+ "optional": true,
1469
+ "computed": false,
1470
+ "description": ""
1471
+ }
1472
+ ]
1084
1473
  },
1085
1474
  {
1086
1475
  "type": "interface",
@@ -1233,6 +1622,15 @@
1233
1622
  "computed": false,
1234
1623
  "description": "根据节点什么位置进行对齐,支持关键字、百分比和比例值。\n第一个值为 x 轴,第二个值为 y 轴。\n使用数字时,表示相对于节点的宽高的比例。\n\n注意,节点宽高将包含 nodePadding 的值。"
1235
1624
  }
1625
+ ],
1626
+ "extends": [
1627
+ {
1628
+ "type": "expressionWithTypeArguments",
1629
+ "expression": {
1630
+ "type": "identifier",
1631
+ "name": "LayoutSnapOptions"
1632
+ }
1633
+ }
1236
1634
  ]
1237
1635
  },
1238
1636
  {
@@ -1475,198 +1873,11 @@
1475
1873
  "type": "expressionWithTypeArguments",
1476
1874
  "expression": {
1477
1875
  "type": "identifier",
1478
- "name": "Omit"
1479
- },
1480
- "typeParameters": {
1481
- "type": "typeParameterInstantiation",
1482
- "params": [
1483
- {
1484
- "type": "reference",
1485
- "typeName": {
1486
- "type": "identifier",
1487
- "name": "Partial"
1488
- },
1489
- "typeParameters": {
1490
- "type": "typeParameterInstantiation",
1491
- "params": [
1492
- {
1493
- "type": "reference",
1494
- "typeName": {
1495
- "type": "identifier",
1496
- "name": "ComputedEdgeLineConf"
1497
- }
1498
- }
1499
- ]
1500
- }
1501
- },
1502
- {
1503
- "type": "jsLiteral",
1504
- "value": "markerArrow"
1505
- }
1506
- ]
1876
+ "name": "BaseEdgeLineConf"
1507
1877
  }
1508
1878
  }
1509
1879
  ]
1510
1880
  },
1511
- {
1512
- "type": "interface",
1513
- "name": "ComputedEdgeLineConf",
1514
- "body": [
1515
- {
1516
- "type": "propertySignature",
1517
- "key": {
1518
- "type": "identifier",
1519
- "name": "dashed"
1520
- },
1521
- "annotation": {
1522
- "type": "keyword",
1523
- "value": "boolean"
1524
- },
1525
- "computed": false
1526
- },
1527
- {
1528
- "type": "propertySignature",
1529
- "key": {
1530
- "type": "identifier",
1531
- "name": "strokeWidth"
1532
- },
1533
- "annotation": {
1534
- "type": "keyword",
1535
- "value": "number"
1536
- },
1537
- "computed": false
1538
- },
1539
- {
1540
- "type": "propertySignature",
1541
- "key": {
1542
- "type": "identifier",
1543
- "name": "strokeColor"
1544
- },
1545
- "annotation": {
1546
- "type": "keyword",
1547
- "value": "string"
1548
- },
1549
- "computed": false
1550
- },
1551
- {
1552
- "type": "propertySignature",
1553
- "key": {
1554
- "type": "identifier",
1555
- "name": "interactStrokeWidth"
1556
- },
1557
- "annotation": {
1558
- "type": "keyword",
1559
- "value": "number"
1560
- },
1561
- "computed": false
1562
- },
1563
- {
1564
- "type": "propertySignature",
1565
- "key": {
1566
- "type": "identifier",
1567
- "name": "parallelGap"
1568
- },
1569
- "annotation": {
1570
- "type": "keyword",
1571
- "value": "number"
1572
- },
1573
- "computed": false
1574
- },
1575
- {
1576
- "type": "propertySignature",
1577
- "key": {
1578
- "type": "identifier",
1579
- "name": "markerEnd"
1580
- },
1581
- "annotation": {
1582
- "type": "keyword",
1583
- "value": "string"
1584
- },
1585
- "computed": false
1586
- },
1587
- {
1588
- "type": "propertySignature",
1589
- "key": {
1590
- "type": "identifier",
1591
- "name": "markerArrow"
1592
- },
1593
- "annotation": {
1594
- "type": "keyword",
1595
- "value": "string"
1596
- },
1597
- "computed": false
1598
- },
1599
- {
1600
- "type": "propertySignature",
1601
- "key": {
1602
- "type": "identifier",
1603
- "name": "showStartArrow"
1604
- },
1605
- "annotation": {
1606
- "type": "keyword",
1607
- "value": "boolean"
1608
- },
1609
- "computed": false
1610
- },
1611
- {
1612
- "type": "propertySignature",
1613
- "key": {
1614
- "type": "identifier",
1615
- "name": "showEndArrow"
1616
- },
1617
- "annotation": {
1618
- "type": "keyword",
1619
- "value": "boolean"
1620
- },
1621
- "computed": false
1622
- },
1623
- {
1624
- "type": "propertySignature",
1625
- "key": {
1626
- "type": "identifier",
1627
- "name": "animate"
1628
- },
1629
- "annotation": {
1630
- "type": "reference",
1631
- "typeName": {
1632
- "type": "identifier",
1633
- "name": "LineAnimate"
1634
- }
1635
- },
1636
- "computed": false
1637
- }
1638
- ]
1639
- },
1640
- {
1641
- "type": "interface",
1642
- "name": "LineAnimate",
1643
- "body": [
1644
- {
1645
- "type": "propertySignature",
1646
- "key": {
1647
- "type": "identifier",
1648
- "name": "useAnimate"
1649
- },
1650
- "annotation": {
1651
- "type": "keyword",
1652
- "value": "boolean"
1653
- },
1654
- "computed": false
1655
- },
1656
- {
1657
- "type": "propertySignature",
1658
- "key": {
1659
- "type": "identifier",
1660
- "name": "duration"
1661
- },
1662
- "annotation": {
1663
- "type": "keyword",
1664
- "value": "number"
1665
- },
1666
- "computed": false
1667
- }
1668
- ]
1669
- },
1670
1881
  {
1671
1882
  "type": "typeAlias",
1672
1883
  "name": "ActiveTarget",
@@ -3906,13 +4117,6 @@
3906
4117
  "value": "boolean"
3907
4118
  }
3908
4119
  },
3909
- {
3910
- "name": "selectable",
3911
- "annotation": {
3912
- "type": "keyword",
3913
- "value": "boolean"
3914
- }
3915
- },
3916
4120
  {
3917
4121
  "name": "allowEdgeToArea",
3918
4122
  "annotation": {
@@ -3949,6 +4153,25 @@
3949
4153
  "name": "RangeTuple"
3950
4154
  }
3951
4155
  }
4156
+ },
4157
+ {
4158
+ "name": "lineConnector",
4159
+ "annotation": {
4160
+ "type": "union",
4161
+ "types": [
4162
+ {
4163
+ "type": "reference",
4164
+ "typeName": {
4165
+ "type": "identifier",
4166
+ "name": "LineConnecterConf"
4167
+ }
4168
+ },
4169
+ {
4170
+ "type": "keyword",
4171
+ "value": "boolean"
4172
+ }
4173
+ ]
4174
+ }
3952
4175
  }
3953
4176
  ],
3954
4177
  "events": [
@@ -4075,6 +4298,18 @@
4075
4298
  }
4076
4299
  }
4077
4300
  },
4301
+ {
4302
+ "name": "edge.add",
4303
+ "detail": {
4304
+ "annotation": {
4305
+ "type": "reference",
4306
+ "typeName": {
4307
+ "type": "identifier",
4308
+ "name": "EdgeCell"
4309
+ }
4310
+ }
4311
+ }
4312
+ },
4078
4313
  {
4079
4314
  "name": "decorator.text.change",
4080
4315
  "detail": {
@@ -4678,70 +4913,304 @@
4678
4913
  "type": "propertySignature",
4679
4914
  "key": {
4680
4915
  "type": "identifier",
4681
- "name": "width"
4916
+ "name": "width"
4917
+ },
4918
+ "annotation": {
4919
+ "type": "keyword",
4920
+ "value": "number"
4921
+ },
4922
+ "computed": false
4923
+ },
4924
+ {
4925
+ "type": "propertySignature",
4926
+ "key": {
4927
+ "type": "identifier",
4928
+ "name": "height"
4929
+ },
4930
+ "annotation": {
4931
+ "type": "keyword",
4932
+ "value": "number"
4933
+ },
4934
+ "computed": false
4935
+ }
4936
+ ],
4937
+ "extends": [
4938
+ {
4939
+ "type": "expressionWithTypeArguments",
4940
+ "expression": {
4941
+ "type": "identifier",
4942
+ "name": "InitialNodeView"
4943
+ }
4944
+ }
4945
+ ]
4946
+ },
4947
+ {
4948
+ "type": "interface",
4949
+ "name": "InitialNodeView",
4950
+ "body": [
4951
+ {
4952
+ "type": "propertySignature",
4953
+ "key": {
4954
+ "type": "identifier",
4955
+ "name": "x"
4956
+ },
4957
+ "annotation": {
4958
+ "type": "keyword",
4959
+ "value": "number"
4960
+ },
4961
+ "computed": false
4962
+ },
4963
+ {
4964
+ "type": "propertySignature",
4965
+ "key": {
4966
+ "type": "identifier",
4967
+ "name": "y"
4968
+ },
4969
+ "annotation": {
4970
+ "type": "keyword",
4971
+ "value": "number"
4972
+ },
4973
+ "computed": false
4974
+ },
4975
+ {
4976
+ "type": "propertySignature",
4977
+ "key": {
4978
+ "type": "identifier",
4979
+ "name": "width"
4980
+ },
4981
+ "annotation": {
4982
+ "type": "keyword",
4983
+ "value": "number"
4984
+ },
4985
+ "optional": true,
4986
+ "computed": false
4987
+ },
4988
+ {
4989
+ "type": "propertySignature",
4990
+ "key": {
4991
+ "type": "identifier",
4992
+ "name": "height"
4993
+ },
4994
+ "annotation": {
4995
+ "type": "keyword",
4996
+ "value": "number"
4997
+ },
4998
+ "optional": true,
4999
+ "computed": false
5000
+ }
5001
+ ]
5002
+ },
5003
+ {
5004
+ "type": "typeAlias",
5005
+ "name": "EdgeCell",
5006
+ "annotation": {
5007
+ "type": "reference",
5008
+ "typeName": {
5009
+ "type": "identifier",
5010
+ "name": "BaseEdgeCell"
5011
+ }
5012
+ }
5013
+ },
5014
+ {
5015
+ "type": "interface",
5016
+ "name": "BaseEdgeCell",
5017
+ "body": [
5018
+ {
5019
+ "type": "propertySignature",
5020
+ "key": {
5021
+ "type": "identifier",
5022
+ "name": "type"
5023
+ },
5024
+ "annotation": {
5025
+ "type": "jsLiteral",
5026
+ "value": "edge"
5027
+ },
5028
+ "computed": false
5029
+ },
5030
+ {
5031
+ "type": "propertySignature",
5032
+ "key": {
5033
+ "type": "identifier",
5034
+ "name": "source"
5035
+ },
5036
+ "annotation": {
5037
+ "type": "reference",
5038
+ "typeName": {
5039
+ "type": "identifier",
5040
+ "name": "NodeId"
5041
+ }
5042
+ },
5043
+ "computed": false
5044
+ },
5045
+ {
5046
+ "type": "propertySignature",
5047
+ "key": {
5048
+ "type": "identifier",
5049
+ "name": "target"
5050
+ },
5051
+ "annotation": {
5052
+ "type": "reference",
5053
+ "typeName": {
5054
+ "type": "identifier",
5055
+ "name": "NodeId"
5056
+ }
5057
+ },
5058
+ "computed": false
5059
+ },
5060
+ {
5061
+ "type": "propertySignature",
5062
+ "key": {
5063
+ "type": "identifier",
5064
+ "name": "view"
5065
+ },
5066
+ "annotation": {
5067
+ "type": "reference",
5068
+ "typeName": {
5069
+ "type": "identifier",
5070
+ "name": "EdgeView"
5071
+ }
5072
+ },
5073
+ "optional": true,
5074
+ "computed": false
5075
+ }
5076
+ ],
5077
+ "extends": [
5078
+ {
5079
+ "type": "expressionWithTypeArguments",
5080
+ "expression": {
5081
+ "type": "identifier",
5082
+ "name": "BaseCell"
5083
+ }
5084
+ }
5085
+ ]
5086
+ },
5087
+ {
5088
+ "type": "interface",
5089
+ "name": "EdgeView",
5090
+ "body": [
5091
+ {
5092
+ "type": "propertySignature",
5093
+ "key": {
5094
+ "type": "identifier",
5095
+ "name": "exitPosition"
5096
+ },
5097
+ "annotation": {
5098
+ "type": "reference",
5099
+ "typeName": {
5100
+ "type": "identifier",
5101
+ "name": "NodePosition"
5102
+ }
5103
+ },
5104
+ "optional": true,
5105
+ "computed": false
5106
+ },
5107
+ {
5108
+ "type": "propertySignature",
5109
+ "key": {
5110
+ "type": "identifier",
5111
+ "name": "entryPosition"
5112
+ },
5113
+ "annotation": {
5114
+ "type": "reference",
5115
+ "typeName": {
5116
+ "type": "identifier",
5117
+ "name": "NodePosition"
5118
+ }
5119
+ },
5120
+ "optional": true,
5121
+ "computed": false
5122
+ }
5123
+ ],
5124
+ "extends": [
5125
+ {
5126
+ "type": "expressionWithTypeArguments",
5127
+ "expression": {
5128
+ "type": "identifier",
5129
+ "name": "BaseEdgeLineConf"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
+ {
5135
+ "type": "interface",
5136
+ "name": "BaseEdgeLineConf",
5137
+ "body": [
5138
+ {
5139
+ "type": "propertySignature",
5140
+ "key": {
5141
+ "type": "identifier",
5142
+ "name": "type"
5143
+ },
5144
+ "annotation": {
5145
+ "type": "reference",
5146
+ "typeName": {
5147
+ "type": "identifier",
5148
+ "name": "LineType"
5149
+ }
5150
+ },
5151
+ "optional": true,
5152
+ "computed": false
5153
+ },
5154
+ {
5155
+ "type": "propertySignature",
5156
+ "key": {
5157
+ "type": "identifier",
5158
+ "name": "curveType"
4682
5159
  },
4683
5160
  "annotation": {
4684
- "type": "keyword",
4685
- "value": "number"
5161
+ "type": "reference",
5162
+ "typeName": {
5163
+ "type": "identifier",
5164
+ "name": "CurveType"
5165
+ }
4686
5166
  },
5167
+ "optional": true,
4687
5168
  "computed": false
4688
5169
  },
4689
5170
  {
4690
5171
  "type": "propertySignature",
4691
5172
  "key": {
4692
5173
  "type": "identifier",
4693
- "name": "height"
5174
+ "name": "dashed"
4694
5175
  },
4695
5176
  "annotation": {
4696
5177
  "type": "keyword",
4697
- "value": "number"
5178
+ "value": "boolean"
4698
5179
  },
5180
+ "optional": true,
4699
5181
  "computed": false
4700
- }
4701
- ],
4702
- "extends": [
4703
- {
4704
- "type": "expressionWithTypeArguments",
4705
- "expression": {
4706
- "type": "identifier",
4707
- "name": "InitialNodeView"
4708
- }
4709
- }
4710
- ]
4711
- },
4712
- {
4713
- "type": "interface",
4714
- "name": "InitialNodeView",
4715
- "body": [
5182
+ },
4716
5183
  {
4717
5184
  "type": "propertySignature",
4718
5185
  "key": {
4719
5186
  "type": "identifier",
4720
- "name": "x"
5187
+ "name": "strokeWidth"
4721
5188
  },
4722
5189
  "annotation": {
4723
5190
  "type": "keyword",
4724
5191
  "value": "number"
4725
5192
  },
5193
+ "optional": true,
4726
5194
  "computed": false
4727
5195
  },
4728
5196
  {
4729
5197
  "type": "propertySignature",
4730
5198
  "key": {
4731
5199
  "type": "identifier",
4732
- "name": "y"
5200
+ "name": "strokeColor"
4733
5201
  },
4734
5202
  "annotation": {
4735
5203
  "type": "keyword",
4736
- "value": "number"
5204
+ "value": "string"
4737
5205
  },
5206
+ "optional": true,
4738
5207
  "computed": false
4739
5208
  },
4740
5209
  {
4741
5210
  "type": "propertySignature",
4742
5211
  "key": {
4743
5212
  "type": "identifier",
4744
- "name": "width"
5213
+ "name": "interactStrokeWidth"
4745
5214
  },
4746
5215
  "annotation": {
4747
5216
  "type": "keyword",
@@ -4754,7 +5223,7 @@
4754
5223
  "type": "propertySignature",
4755
5224
  "key": {
4756
5225
  "type": "identifier",
4757
- "name": "height"
5226
+ "name": "parallelGap"
4758
5227
  },
4759
5228
  "annotation": {
4760
5229
  "type": "keyword",
@@ -4762,74 +5231,78 @@
4762
5231
  },
4763
5232
  "optional": true,
4764
5233
  "computed": false
4765
- }
4766
- ]
4767
- },
4768
- {
4769
- "type": "typeAlias",
4770
- "name": "EdgeCell",
4771
- "annotation": {
4772
- "type": "reference",
4773
- "typeName": {
4774
- "type": "identifier",
4775
- "name": "BaseEdgeCell"
4776
- }
4777
- }
4778
- },
4779
- {
4780
- "type": "interface",
4781
- "name": "BaseEdgeCell",
4782
- "body": [
5234
+ },
4783
5235
  {
4784
5236
  "type": "propertySignature",
4785
5237
  "key": {
4786
5238
  "type": "identifier",
4787
- "name": "type"
5239
+ "name": "showStartArrow"
4788
5240
  },
4789
5241
  "annotation": {
4790
- "type": "jsLiteral",
4791
- "value": "edge"
5242
+ "type": "keyword",
5243
+ "value": "boolean"
4792
5244
  },
5245
+ "optional": true,
4793
5246
  "computed": false
4794
5247
  },
4795
5248
  {
4796
5249
  "type": "propertySignature",
4797
5250
  "key": {
4798
5251
  "type": "identifier",
4799
- "name": "source"
5252
+ "name": "showEndArrow"
4800
5253
  },
4801
5254
  "annotation": {
4802
- "type": "reference",
4803
- "typeName": {
4804
- "type": "identifier",
4805
- "name": "NodeId"
4806
- }
5255
+ "type": "keyword",
5256
+ "value": "boolean"
4807
5257
  },
5258
+ "optional": true,
4808
5259
  "computed": false
4809
5260
  },
4810
5261
  {
4811
5262
  "type": "propertySignature",
4812
5263
  "key": {
4813
5264
  "type": "identifier",
4814
- "name": "target"
5265
+ "name": "animate"
4815
5266
  },
4816
5267
  "annotation": {
4817
5268
  "type": "reference",
4818
5269
  "typeName": {
4819
5270
  "type": "identifier",
4820
- "name": "NodeId"
5271
+ "name": "LineAnimate"
4821
5272
  }
4822
5273
  },
5274
+ "optional": true,
4823
5275
  "computed": false
4824
5276
  }
4825
- ],
4826
- "extends": [
5277
+ ]
5278
+ },
5279
+ {
5280
+ "type": "interface",
5281
+ "name": "LineAnimate",
5282
+ "body": [
4827
5283
  {
4828
- "type": "expressionWithTypeArguments",
4829
- "expression": {
5284
+ "type": "propertySignature",
5285
+ "key": {
4830
5286
  "type": "identifier",
4831
- "name": "BaseCell"
4832
- }
5287
+ "name": "useAnimate"
5288
+ },
5289
+ "annotation": {
5290
+ "type": "keyword",
5291
+ "value": "boolean"
5292
+ },
5293
+ "computed": false
5294
+ },
5295
+ {
5296
+ "type": "propertySignature",
5297
+ "key": {
5298
+ "type": "identifier",
5299
+ "name": "duration"
5300
+ },
5301
+ "annotation": {
5302
+ "type": "keyword",
5303
+ "value": "number"
5304
+ },
5305
+ "computed": false
4833
5306
  }
4834
5307
  ]
4835
5308
  },
@@ -5026,6 +5499,13 @@
5026
5499
  "annotation": {
5027
5500
  "type": "union",
5028
5501
  "types": [
5502
+ {
5503
+ "type": "reference",
5504
+ "typeName": {
5505
+ "type": "identifier",
5506
+ "name": "LayoutOptionsManual"
5507
+ }
5508
+ },
5029
5509
  {
5030
5510
  "type": "reference",
5031
5511
  "typeName": {
@@ -5043,6 +5523,150 @@
5043
5523
  ]
5044
5524
  }
5045
5525
  },
5526
+ {
5527
+ "type": "interface",
5528
+ "name": "LayoutOptionsManual",
5529
+ "body": [],
5530
+ "extends": [
5531
+ {
5532
+ "type": "expressionWithTypeArguments",
5533
+ "expression": {
5534
+ "type": "identifier",
5535
+ "name": "LayoutSnapOptions"
5536
+ }
5537
+ }
5538
+ ]
5539
+ },
5540
+ {
5541
+ "type": "interface",
5542
+ "name": "LayoutSnapOptions",
5543
+ "body": [
5544
+ {
5545
+ "type": "propertySignature",
5546
+ "key": {
5547
+ "type": "identifier",
5548
+ "name": "snap"
5549
+ },
5550
+ "annotation": {
5551
+ "type": "union",
5552
+ "types": [
5553
+ {
5554
+ "type": "keyword",
5555
+ "value": "boolean"
5556
+ },
5557
+ {
5558
+ "type": "reference",
5559
+ "typeName": {
5560
+ "type": "identifier",
5561
+ "name": "SnapOptions"
5562
+ }
5563
+ }
5564
+ ]
5565
+ },
5566
+ "optional": true,
5567
+ "computed": false,
5568
+ "description": "Snap options. Setting to true means enable all snap options"
5569
+ }
5570
+ ]
5571
+ },
5572
+ {
5573
+ "type": "interface",
5574
+ "name": "SnapOptions",
5575
+ "body": [
5576
+ {
5577
+ "type": "propertySignature",
5578
+ "key": {
5579
+ "type": "identifier",
5580
+ "name": "grid"
5581
+ },
5582
+ "annotation": {
5583
+ "type": "union",
5584
+ "types": [
5585
+ {
5586
+ "type": "keyword",
5587
+ "value": "boolean"
5588
+ },
5589
+ {
5590
+ "type": "reference",
5591
+ "typeName": {
5592
+ "type": "identifier",
5593
+ "name": "SnapToGridOptions"
5594
+ }
5595
+ }
5596
+ ]
5597
+ },
5598
+ "optional": true,
5599
+ "computed": false,
5600
+ "description": "Snap to grid"
5601
+ },
5602
+ {
5603
+ "type": "propertySignature",
5604
+ "key": {
5605
+ "type": "identifier",
5606
+ "name": "object"
5607
+ },
5608
+ "annotation": {
5609
+ "type": "union",
5610
+ "types": [
5611
+ {
5612
+ "type": "keyword",
5613
+ "value": "boolean"
5614
+ },
5615
+ {
5616
+ "type": "reference",
5617
+ "typeName": {
5618
+ "type": "identifier",
5619
+ "name": "SnapToObjectOptions"
5620
+ }
5621
+ }
5622
+ ]
5623
+ },
5624
+ "optional": true,
5625
+ "computed": false,
5626
+ "description": "Snap to object"
5627
+ }
5628
+ ]
5629
+ },
5630
+ {
5631
+ "type": "interface",
5632
+ "name": "SnapToGridOptions",
5633
+ "body": [
5634
+ {
5635
+ "type": "propertySignature",
5636
+ "key": {
5637
+ "type": "identifier",
5638
+ "name": "size"
5639
+ },
5640
+ "annotation": {
5641
+ "type": "keyword",
5642
+ "value": "number"
5643
+ },
5644
+ "optional": true,
5645
+ "computed": false,
5646
+ "description": ""
5647
+ }
5648
+ ]
5649
+ },
5650
+ {
5651
+ "type": "interface",
5652
+ "name": "SnapToObjectOptions",
5653
+ "body": [
5654
+ {
5655
+ "type": "propertySignature",
5656
+ "key": {
5657
+ "type": "identifier",
5658
+ "name": "distance"
5659
+ },
5660
+ "annotation": {
5661
+ "type": "keyword",
5662
+ "value": "number"
5663
+ },
5664
+ "optional": true,
5665
+ "computed": false,
5666
+ "description": ""
5667
+ }
5668
+ ]
5669
+ },
5046
5670
  {
5047
5671
  "type": "interface",
5048
5672
  "name": "LayoutOptionsDagre",
@@ -5194,6 +5818,15 @@
5194
5818
  "computed": false,
5195
5819
  "description": "根据节点什么位置进行对齐,支持关键字、百分比和比例值。\n第一个值为 x 轴,第二个值为 y 轴。\n使用数字时,表示相对于节点的宽高的比例。\n\n注意,节点宽高将包含 nodePadding 的值。"
5196
5820
  }
5821
+ ],
5822
+ "extends": [
5823
+ {
5824
+ "type": "expressionWithTypeArguments",
5825
+ "expression": {
5826
+ "type": "identifier",
5827
+ "name": "LayoutSnapOptions"
5828
+ }
5829
+ }
5197
5830
  ]
5198
5831
  },
5199
5832
  {
@@ -5436,198 +6069,11 @@
5436
6069
  "type": "expressionWithTypeArguments",
5437
6070
  "expression": {
5438
6071
  "type": "identifier",
5439
- "name": "Omit"
5440
- },
5441
- "typeParameters": {
5442
- "type": "typeParameterInstantiation",
5443
- "params": [
5444
- {
5445
- "type": "reference",
5446
- "typeName": {
5447
- "type": "identifier",
5448
- "name": "Partial"
5449
- },
5450
- "typeParameters": {
5451
- "type": "typeParameterInstantiation",
5452
- "params": [
5453
- {
5454
- "type": "reference",
5455
- "typeName": {
5456
- "type": "identifier",
5457
- "name": "ComputedEdgeLineConf"
5458
- }
5459
- }
5460
- ]
5461
- }
5462
- },
5463
- {
5464
- "type": "jsLiteral",
5465
- "value": "markerArrow"
5466
- }
5467
- ]
6072
+ "name": "BaseEdgeLineConf"
5468
6073
  }
5469
6074
  }
5470
6075
  ]
5471
6076
  },
5472
- {
5473
- "type": "interface",
5474
- "name": "ComputedEdgeLineConf",
5475
- "body": [
5476
- {
5477
- "type": "propertySignature",
5478
- "key": {
5479
- "type": "identifier",
5480
- "name": "dashed"
5481
- },
5482
- "annotation": {
5483
- "type": "keyword",
5484
- "value": "boolean"
5485
- },
5486
- "computed": false
5487
- },
5488
- {
5489
- "type": "propertySignature",
5490
- "key": {
5491
- "type": "identifier",
5492
- "name": "strokeWidth"
5493
- },
5494
- "annotation": {
5495
- "type": "keyword",
5496
- "value": "number"
5497
- },
5498
- "computed": false
5499
- },
5500
- {
5501
- "type": "propertySignature",
5502
- "key": {
5503
- "type": "identifier",
5504
- "name": "strokeColor"
5505
- },
5506
- "annotation": {
5507
- "type": "keyword",
5508
- "value": "string"
5509
- },
5510
- "computed": false
5511
- },
5512
- {
5513
- "type": "propertySignature",
5514
- "key": {
5515
- "type": "identifier",
5516
- "name": "interactStrokeWidth"
5517
- },
5518
- "annotation": {
5519
- "type": "keyword",
5520
- "value": "number"
5521
- },
5522
- "computed": false
5523
- },
5524
- {
5525
- "type": "propertySignature",
5526
- "key": {
5527
- "type": "identifier",
5528
- "name": "parallelGap"
5529
- },
5530
- "annotation": {
5531
- "type": "keyword",
5532
- "value": "number"
5533
- },
5534
- "computed": false
5535
- },
5536
- {
5537
- "type": "propertySignature",
5538
- "key": {
5539
- "type": "identifier",
5540
- "name": "markerEnd"
5541
- },
5542
- "annotation": {
5543
- "type": "keyword",
5544
- "value": "string"
5545
- },
5546
- "computed": false
5547
- },
5548
- {
5549
- "type": "propertySignature",
5550
- "key": {
5551
- "type": "identifier",
5552
- "name": "markerArrow"
5553
- },
5554
- "annotation": {
5555
- "type": "keyword",
5556
- "value": "string"
5557
- },
5558
- "computed": false
5559
- },
5560
- {
5561
- "type": "propertySignature",
5562
- "key": {
5563
- "type": "identifier",
5564
- "name": "showStartArrow"
5565
- },
5566
- "annotation": {
5567
- "type": "keyword",
5568
- "value": "boolean"
5569
- },
5570
- "computed": false
5571
- },
5572
- {
5573
- "type": "propertySignature",
5574
- "key": {
5575
- "type": "identifier",
5576
- "name": "showEndArrow"
5577
- },
5578
- "annotation": {
5579
- "type": "keyword",
5580
- "value": "boolean"
5581
- },
5582
- "computed": false
5583
- },
5584
- {
5585
- "type": "propertySignature",
5586
- "key": {
5587
- "type": "identifier",
5588
- "name": "animate"
5589
- },
5590
- "annotation": {
5591
- "type": "reference",
5592
- "typeName": {
5593
- "type": "identifier",
5594
- "name": "LineAnimate"
5595
- }
5596
- },
5597
- "computed": false
5598
- }
5599
- ]
5600
- },
5601
- {
5602
- "type": "interface",
5603
- "name": "LineAnimate",
5604
- "body": [
5605
- {
5606
- "type": "propertySignature",
5607
- "key": {
5608
- "type": "identifier",
5609
- "name": "useAnimate"
5610
- },
5611
- "annotation": {
5612
- "type": "keyword",
5613
- "value": "boolean"
5614
- },
5615
- "computed": false
5616
- },
5617
- {
5618
- "type": "propertySignature",
5619
- "key": {
5620
- "type": "identifier",
5621
- "name": "duration"
5622
- },
5623
- "annotation": {
5624
- "type": "keyword",
5625
- "value": "number"
5626
- },
5627
- "computed": false
5628
- }
5629
- ]
5630
- },
5631
6077
  {
5632
6078
  "type": "typeAlias",
5633
6079
  "name": "ActiveTarget",
@@ -5896,6 +6342,54 @@
5896
6342
  ]
5897
6343
  }
5898
6344
  },
6345
+ {
6346
+ "type": "typeAlias",
6347
+ "name": "LineConnecterConf",
6348
+ "annotation": {
6349
+ "type": "reference",
6350
+ "typeName": {
6351
+ "type": "identifier",
6352
+ "name": "Pick"
6353
+ },
6354
+ "typeParameters": {
6355
+ "type": "typeParameterInstantiation",
6356
+ "params": [
6357
+ {
6358
+ "type": "reference",
6359
+ "typeName": {
6360
+ "type": "identifier",
6361
+ "name": "BaseEdgeLineConf"
6362
+ }
6363
+ },
6364
+ {
6365
+ "type": "union",
6366
+ "types": [
6367
+ {
6368
+ "type": "jsLiteral",
6369
+ "value": "type"
6370
+ },
6371
+ {
6372
+ "type": "jsLiteral",
6373
+ "value": "strokeWidth"
6374
+ },
6375
+ {
6376
+ "type": "jsLiteral",
6377
+ "value": "strokeColor"
6378
+ },
6379
+ {
6380
+ "type": "jsLiteral",
6381
+ "value": "showStartArrow"
6382
+ },
6383
+ {
6384
+ "type": "jsLiteral",
6385
+ "value": "showEndArrow"
6386
+ }
6387
+ ]
6388
+ }
6389
+ ]
6390
+ }
6391
+ }
6392
+ },
5899
6393
  {
5900
6394
  "type": "interface",
5901
6395
  "name": "MoveCellPayload",
@@ -6017,9 +6511,61 @@
6017
6511
  },
6018
6512
  "optional": true,
6019
6513
  "computed": false
6514
+ },
6515
+ {
6516
+ "type": "propertySignature",
6517
+ "key": {
6518
+ "type": "identifier",
6519
+ "name": "guideLines"
6520
+ },
6521
+ "annotation": {
6522
+ "type": "array",
6523
+ "elementType": {
6524
+ "type": "reference",
6525
+ "typeName": {
6526
+ "type": "identifier",
6527
+ "name": "LineTuple"
6528
+ }
6529
+ }
6530
+ },
6531
+ "optional": true,
6532
+ "computed": false
6020
6533
  }
6021
6534
  ]
6022
6535
  },
6536
+ {
6537
+ "type": "typeAlias",
6538
+ "name": "LineTuple",
6539
+ "annotation": {
6540
+ "type": "tuple",
6541
+ "elementTypes": [
6542
+ {
6543
+ "type": "namedTupleMember",
6544
+ "label": "start",
6545
+ "optional": false,
6546
+ "elementType": {
6547
+ "type": "reference",
6548
+ "typeName": {
6549
+ "type": "identifier",
6550
+ "name": "PositionTuple"
6551
+ }
6552
+ }
6553
+ },
6554
+ {
6555
+ "type": "namedTupleMember",
6556
+ "label": "end",
6557
+ "optional": false,
6558
+ "elementType": {
6559
+ "type": "reference",
6560
+ "typeName": {
6561
+ "type": "identifier",
6562
+ "name": "PositionTuple"
6563
+ }
6564
+ }
6565
+ }
6566
+ ]
6567
+ }
6568
+ },
6023
6569
  {
6024
6570
  "type": "interface",
6025
6571
  "name": "ResizeCellPayload",