@moxa/graph 2.9.0 → 3.0.0-beta.1
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.
- package/README.md +3 -7
- package/assets/icon-sprite.svg +1 -1
- package/behaviors/brush-select/index.d.ts +10 -0
- package/behaviors/brush-select/index.d.ts.map +1 -0
- package/behaviors/brush-select/models/index.d.ts +2 -0
- package/behaviors/brush-select/models/index.d.ts.map +1 -0
- package/{lib/behavior/click-select.d.ts → behaviors/click-select/index.d.ts} +9 -9
- package/behaviors/click-select/index.d.ts.map +1 -0
- package/behaviors/click-select/models/index.d.ts +2 -0
- package/behaviors/click-select/models/index.d.ts.map +1 -0
- package/behaviors/collapse-expand/index.d.ts +4 -0
- package/behaviors/collapse-expand/index.d.ts.map +1 -0
- package/behaviors/collapse-expand/models/index.d.ts +2 -0
- package/behaviors/collapse-expand/models/index.d.ts.map +1 -0
- package/{lib/behavior/create-edge.d.ts → behaviors/create-edge/index.d.ts} +11 -11
- package/behaviors/create-edge/index.d.ts.map +1 -0
- package/behaviors/create-edge/models/index.d.ts +2 -0
- package/behaviors/create-edge/models/index.d.ts.map +1 -0
- package/behaviors/drag-canvas/index.d.ts +7 -0
- package/behaviors/drag-canvas/index.d.ts.map +1 -0
- package/behaviors/drag-canvas/models/index.d.ts +2 -0
- package/behaviors/drag-canvas/models/index.d.ts.map +1 -0
- package/behaviors/drag-element/index.d.ts +6 -0
- package/behaviors/drag-element/index.d.ts.map +1 -0
- package/behaviors/drag-element/models/index.d.ts +2 -0
- package/behaviors/drag-element/models/index.d.ts.map +1 -0
- package/behaviors/fix-element-size/index.d.ts +90 -0
- package/behaviors/fix-element-size/index.d.ts.map +1 -0
- package/behaviors/fix-element-size/models/index.d.ts +2 -0
- package/behaviors/fix-element-size/models/index.d.ts.map +1 -0
- package/behaviors/focus-element/index.d.ts +4 -0
- package/behaviors/focus-element/index.d.ts.map +1 -0
- package/behaviors/focus-element/models/index.d.ts +2 -0
- package/behaviors/focus-element/models/index.d.ts.map +1 -0
- package/behaviors/hover-activate/index.d.ts +4 -0
- package/behaviors/hover-activate/index.d.ts.map +1 -0
- package/behaviors/hover-activate/models/index.d.ts +2 -0
- package/behaviors/hover-activate/models/index.d.ts.map +1 -0
- package/behaviors/scroll-canvas/index.d.ts +4 -0
- package/behaviors/scroll-canvas/index.d.ts.map +1 -0
- package/behaviors/scroll-canvas/models/index.d.ts +2 -0
- package/behaviors/scroll-canvas/models/index.d.ts.map +1 -0
- package/behaviors/select-all/index.d.ts +14 -0
- package/behaviors/select-all/index.d.ts.map +1 -0
- package/behaviors/select-all/models/index.d.ts +2 -0
- package/behaviors/select-all/models/index.d.ts.map +1 -0
- package/behaviors/zoom-canvas/index.d.ts +4 -0
- package/behaviors/zoom-canvas/index.d.ts.map +1 -0
- package/behaviors/zoom-canvas/models/index.d.ts +2 -0
- package/behaviors/zoom-canvas/models/index.d.ts.map +1 -0
- package/components/edge-arrow/index.d.ts +18 -0
- package/components/edge-arrow/index.d.ts.map +1 -0
- package/components/edge-arrow/models/index.d.ts +3 -0
- package/components/edge-arrow/models/index.d.ts.map +1 -0
- package/components/edge-arrow/transforms/index.d.ts +5 -0
- package/components/edge-arrow/transforms/index.d.ts.map +1 -0
- package/components/edge-arrow/utils/index.d.ts +6 -0
- package/components/edge-arrow/utils/index.d.ts.map +1 -0
- package/components/edge-arrow/utils/label-arrow.d.ts +5 -0
- package/components/edge-arrow/utils/label-arrow.d.ts.map +1 -0
- package/components/edge-arrow/utils/middle-arrow.d.ts +5 -0
- package/components/edge-arrow/utils/middle-arrow.d.ts.map +1 -0
- package/components/edge-arrow/utils/offset.d.ts +3 -0
- package/components/edge-arrow/utils/offset.d.ts.map +1 -0
- package/components/edge-arrow/utils/padding.d.ts +2 -0
- package/components/edge-arrow/utils/padding.d.ts.map +1 -0
- package/components/edge-arrow/utils/style.d.ts +4 -0
- package/components/edge-arrow/utils/style.d.ts.map +1 -0
- package/components/edge-label/index.d.ts +15 -0
- package/components/edge-label/index.d.ts.map +1 -0
- package/components/edge-label/utils/color.d.ts +4 -0
- package/components/edge-label/utils/color.d.ts.map +1 -0
- package/components/edge-label/utils/index.d.ts +3 -0
- package/components/edge-label/utils/index.d.ts.map +1 -0
- package/components/edge-label/utils/style.d.ts +5 -0
- package/components/edge-label/utils/style.d.ts.map +1 -0
- package/components/edge-line/index.d.ts +13 -0
- package/components/edge-line/index.d.ts.map +1 -0
- package/components/edge-line/models/index.d.ts +2 -0
- package/components/edge-line/models/index.d.ts.map +1 -0
- package/components/edge-polyline/index.d.ts +18 -0
- package/components/edge-polyline/index.d.ts.map +1 -0
- package/components/edge-polyline/models/index.d.ts +2 -0
- package/components/edge-polyline/models/index.d.ts.map +1 -0
- package/components/edge-quadratic/index.d.ts +13 -0
- package/components/edge-quadratic/index.d.ts.map +1 -0
- package/components/edge-quadratic/models/index.d.ts +2 -0
- package/components/edge-quadratic/models/index.d.ts.map +1 -0
- package/{lib/group/custom/device-group.d.ts → components/group-device/index.d.ts} +6 -11
- package/components/group-device/index.d.ts.map +1 -0
- package/components/group-device/models/index.d.ts +17 -0
- package/components/group-device/models/index.d.ts.map +1 -0
- package/components/group-device/transforms/index.d.ts +4 -0
- package/components/group-device/transforms/index.d.ts.map +1 -0
- package/components/group-device/utils/index.d.ts +2 -0
- package/components/group-device/utils/index.d.ts.map +1 -0
- package/components/group-device/utils/style.d.ts +5 -0
- package/components/group-device/utils/style.d.ts.map +1 -0
- package/components/node-device/index.d.ts +18 -0
- package/components/node-device/index.d.ts.map +1 -0
- package/components/node-device/models/index.d.ts +20 -0
- package/components/node-device/models/index.d.ts.map +1 -0
- package/components/node-device/utils/index.d.ts +2 -0
- package/components/node-device/utils/index.d.ts.map +1 -0
- package/components/node-device/utils/style.d.ts +4 -0
- package/components/node-device/utils/style.d.ts.map +1 -0
- package/components/node-icon/index.d.ts +2 -0
- package/components/node-icon/index.d.ts.map +1 -0
- package/components/node-icon/utils/icon-image.d.ts +3 -0
- package/components/node-icon/utils/icon-image.d.ts.map +1 -0
- package/components/node-icon/utils/icon-style.d.ts +2 -0
- package/components/node-icon/utils/icon-style.d.ts.map +1 -0
- package/components/node-icon/utils/index.d.ts +3 -0
- package/components/node-icon/utils/index.d.ts.map +1 -0
- package/components/node-label/index.d.ts +44 -0
- package/components/node-label/index.d.ts.map +1 -0
- package/components/node-label/utils/index.d.ts +1 -0
- package/components/node-label/utils/index.d.ts.map +1 -0
- package/components/shared/index.d.ts +3 -0
- package/components/shared/index.d.ts.map +1 -0
- package/components/shared/transforms/edge-transform.d.ts +24 -0
- package/components/shared/transforms/edge-transform.d.ts.map +1 -0
- package/components/shared/transforms/group-transform.d.ts +20 -0
- package/components/shared/transforms/group-transform.d.ts.map +1 -0
- package/components/shared/transforms/index.d.ts +4 -0
- package/components/shared/transforms/index.d.ts.map +1 -0
- package/components/shared/transforms/node-transform.d.ts +16 -0
- package/components/shared/transforms/node-transform.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/angle.d.ts +3 -0
- package/components/shared/utils/edge-utils/angle.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/color.d.ts +5 -0
- package/components/shared/utils/edge-utils/color.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/direction.d.ts +3 -0
- package/components/shared/utils/edge-utils/direction.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/distance.d.ts +2 -0
- package/components/shared/utils/edge-utils/distance.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/endpoint.d.ts +3 -0
- package/components/shared/utils/edge-utils/endpoint.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/highlight.d.ts +3 -0
- package/components/shared/utils/edge-utils/highlight.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/index.d.ts +11 -0
- package/components/shared/utils/edge-utils/index.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/position.d.ts +9 -0
- package/components/shared/utils/edge-utils/position.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/revert.d.ts +3 -0
- package/components/shared/utils/edge-utils/revert.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/state.d.ts +3 -0
- package/components/shared/utils/edge-utils/state.d.ts.map +1 -0
- package/components/shared/utils/edge-utils/style.d.ts +3 -0
- package/components/shared/utils/edge-utils/style.d.ts.map +1 -0
- package/components/shared/utils/index.d.ts +8 -0
- package/components/shared/utils/index.d.ts.map +1 -0
- package/components/shared/utils/node-utils/icon-style.d.ts +5 -0
- package/components/shared/utils/node-utils/icon-style.d.ts.map +1 -0
- package/components/shared/utils/node-utils/index.d.ts +9 -0
- package/components/shared/utils/node-utils/index.d.ts.map +1 -0
- package/components/shared/utils/node-utils/label-background.d.ts +3 -0
- package/components/shared/utils/node-utils/label-background.d.ts.map +1 -0
- package/components/shared/utils/node-utils/offset.d.ts +18 -0
- package/components/shared/utils/node-utils/offset.d.ts.map +1 -0
- package/components/shared/utils/node-utils/status-style.d.ts +4 -0
- package/components/shared/utils/node-utils/status-style.d.ts.map +1 -0
- package/components/shared/utils/node-utils/text-style.d.ts +5 -0
- package/components/shared/utils/node-utils/text-style.d.ts.map +1 -0
- package/components/shared/utils/node-utils/theme.d.ts +5 -0
- package/components/shared/utils/node-utils/theme.d.ts.map +1 -0
- package/components/shared/utils/node-utils/title-background.d.ts +3 -0
- package/components/shared/utils/node-utils/title-background.d.ts.map +1 -0
- package/components/shared/utils/node-utils/title-style.d.ts +4 -0
- package/components/shared/utils/node-utils/title-style.d.ts.map +1 -0
- package/components/shared/utils/position-helpers.d.ts +50 -0
- package/components/shared/utils/position-helpers.d.ts.map +1 -0
- package/components/shared/utils/state-helpers.d.ts +84 -0
- package/components/shared/utils/state-helpers.d.ts.map +1 -0
- package/components/shared/utils/style-helpers.d.ts +67 -0
- package/components/shared/utils/style-helpers.d.ts.map +1 -0
- package/components/shared/utils/type-helpers.d.ts +95 -0
- package/components/shared/utils/type-helpers.d.ts.map +1 -0
- package/components/shared/utils/validation-helpers.d.ts +75 -0
- package/components/shared/utils/validation-helpers.d.ts.map +1 -0
- package/core/graph/config-manager.d.ts +51 -0
- package/core/graph/config-manager.d.ts.map +1 -0
- package/core/graph/data-manager.d.ts +45 -0
- package/core/graph/data-manager.d.ts.map +1 -0
- package/core/graph/graph-renderer.d.ts +31 -0
- package/core/graph/graph-renderer.d.ts.map +1 -0
- package/{lib → core}/graph/graph.d.ts +69 -63
- package/core/graph/graph.d.ts.map +1 -0
- package/core/graph/index.d.ts +5 -0
- package/core/graph/index.d.ts.map +1 -0
- package/{lib → core}/model/background.model.d.ts +1 -1
- package/core/model/background.model.d.ts.map +1 -0
- package/core/model/behavior.model.d.ts +72 -0
- package/core/model/behavior.model.d.ts.map +1 -0
- package/{lib → core}/model/edge.model.d.ts +24 -24
- package/core/model/edge.model.d.ts.map +1 -0
- package/core/model/element.model.d.ts +2 -0
- package/core/model/element.model.d.ts.map +1 -0
- package/core/model/event.model.d.ts +217 -0
- package/core/model/event.model.d.ts.map +1 -0
- package/core/model/extension.model.d.ts +15 -0
- package/core/model/extension.model.d.ts.map +1 -0
- package/core/model/graph.model.d.ts +34 -0
- package/core/model/graph.model.d.ts.map +1 -0
- package/core/model/group.model.d.ts +43 -0
- package/core/model/group.model.d.ts.map +1 -0
- package/core/model/icon.model.d.ts +11 -0
- package/core/model/icon.model.d.ts.map +1 -0
- package/core/model/image.model.d.ts +8 -0
- package/core/model/image.model.d.ts.map +1 -0
- package/{lib → core}/model/index.d.ts +2 -0
- package/core/model/index.d.ts.map +1 -0
- package/{lib → core}/model/label.model.d.ts +3 -3
- package/core/model/label.model.d.ts.map +1 -0
- package/core/model/layout.model.d.ts +35 -0
- package/core/model/layout.model.d.ts.map +1 -0
- package/core/model/node.model.d.ts +35 -0
- package/core/model/node.model.d.ts.map +1 -0
- package/core/model/plugin.model.d.ts +52 -0
- package/core/model/plugin.model.d.ts.map +1 -0
- package/core/model/shape.model.d.ts +8 -0
- package/core/model/shape.model.d.ts.map +1 -0
- package/core/model/state.model.d.ts +7 -0
- package/core/model/state.model.d.ts.map +1 -0
- package/{lib → core}/model/theme.model.d.ts +6 -6
- package/core/model/theme.model.d.ts.map +1 -0
- package/{lib → core}/model/viewport.model.d.ts +2 -2
- package/core/model/viewport.model.d.ts.map +1 -0
- package/core/utils/element.helper.d.ts +5 -0
- package/core/utils/element.helper.d.ts.map +1 -0
- package/core/utils/graph.helper.d.ts +5 -0
- package/core/utils/graph.helper.d.ts.map +1 -0
- package/core/utils/icon.helper.d.ts +5 -0
- package/core/utils/icon.helper.d.ts.map +1 -0
- package/{lib → core}/utils/index.d.ts +0 -1
- package/core/utils/index.d.ts.map +1 -0
- package/core/utils/platform.helper.d.ts.map +1 -0
- package/core/utils/rect.helper.d.ts.map +1 -0
- package/core/utils/state.helper.d.ts.map +1 -0
- package/core/utils/theme.helper.d.ts +4 -0
- package/core/utils/theme.helper.d.ts.map +1 -0
- package/core/utils/tree.helper.d.ts.map +1 -0
- package/index.cjs +114 -103
- package/index.d.ts +37 -9
- package/index.d.ts.map +1 -1
- package/index.js +45942 -37070
- package/layouts/align/helper/layout.helper.d.ts +4 -0
- package/layouts/align/helper/layout.helper.d.ts.map +1 -0
- package/layouts/align/index.d.ts +18 -0
- package/layouts/align/index.d.ts.map +1 -0
- package/layouts/align/models/index.d.ts +2 -0
- package/layouts/align/models/index.d.ts.map +1 -0
- package/layouts/force/helper/layout.helper.d.ts +4 -0
- package/layouts/force/helper/layout.helper.d.ts.map +1 -0
- package/layouts/force/index.d.ts +10 -0
- package/layouts/force/index.d.ts.map +1 -0
- package/layouts/force/models/index.d.ts +2 -0
- package/layouts/force/models/index.d.ts.map +1 -0
- package/layouts/grid/helper/layout.helper.d.ts +4 -0
- package/layouts/grid/helper/layout.helper.d.ts.map +1 -0
- package/layouts/grid/index.d.ts +17 -0
- package/layouts/grid/index.d.ts.map +1 -0
- package/layouts/grid/models/index.d.ts +2 -0
- package/layouts/grid/models/index.d.ts.map +1 -0
- package/layouts/ring/helper/layout.helper.d.ts +4 -0
- package/layouts/ring/helper/layout.helper.d.ts.map +1 -0
- package/layouts/ring/index.d.ts +10 -0
- package/layouts/ring/index.d.ts.map +1 -0
- package/layouts/ring/models/index.d.ts +2 -0
- package/layouts/ring/models/index.d.ts.map +1 -0
- package/layouts/tree/helper/layout.helper.d.ts +4 -0
- package/layouts/tree/helper/layout.helper.d.ts.map +1 -0
- package/layouts/tree/index.d.ts +12 -0
- package/layouts/tree/index.d.ts.map +1 -0
- package/layouts/tree/models/index.d.ts +2 -0
- package/layouts/tree/models/index.d.ts.map +1 -0
- package/package.json +2 -2
- package/plugins/context-menu/index.d.ts +6 -0
- package/plugins/context-menu/index.d.ts.map +1 -0
- package/plugins/context-menu/models/index.d.ts +2 -0
- package/plugins/context-menu/models/index.d.ts.map +1 -0
- package/{lib/plugin/element-toolbar.d.ts → plugins/element-toolbar/index.d.ts} +15 -14
- package/plugins/element-toolbar/index.d.ts.map +1 -0
- package/plugins/element-toolbar/models/index.d.ts +2 -0
- package/plugins/element-toolbar/models/index.d.ts.map +1 -0
- package/plugins/fixed-toolbar/index.d.ts +29 -0
- package/plugins/fixed-toolbar/index.d.ts.map +1 -0
- package/plugins/fixed-toolbar/models/index.d.ts +2 -0
- package/plugins/fixed-toolbar/models/index.d.ts.map +1 -0
- package/{lib/plugin/graph-background.d.ts → plugins/graph-background/index.d.ts} +9 -8
- package/plugins/graph-background/index.d.ts.map +1 -0
- package/plugins/graph-background/models/index.d.ts +2 -0
- package/plugins/graph-background/models/index.d.ts.map +1 -0
- package/plugins/history/index.d.ts +7 -0
- package/plugins/history/index.d.ts.map +1 -0
- package/plugins/history/models/index.d.ts +2 -0
- package/plugins/history/models/index.d.ts.map +1 -0
- package/plugins/minimap/index.d.ts +13 -0
- package/plugins/minimap/index.d.ts.map +1 -0
- package/plugins/minimap/models/index.d.ts +2 -0
- package/plugins/minimap/models/index.d.ts.map +1 -0
- package/plugins/snapline/index.d.ts +9 -0
- package/plugins/snapline/index.d.ts.map +1 -0
- package/plugins/snapline/models/index.d.ts +2 -0
- package/plugins/snapline/models/index.d.ts.map +1 -0
- package/plugins/tooltip/index.d.ts +11 -0
- package/plugins/tooltip/index.d.ts.map +1 -0
- package/plugins/tooltip/models/index.d.ts +2 -0
- package/plugins/tooltip/models/index.d.ts.map +1 -0
- package/shared/constants/index.d.ts +1 -0
- package/shared/constants/index.d.ts.map +1 -0
- package/shared/index.d.ts +2 -0
- package/shared/index.d.ts.map +1 -0
- package/shared/transforms/behavior-transform.d.ts +57 -0
- package/shared/transforms/behavior-transform.d.ts.map +1 -0
- package/shared/transforms/graph-transform.d.ts +16 -0
- package/shared/transforms/graph-transform.d.ts.map +1 -0
- package/shared/transforms/index.d.ts +7 -0
- package/shared/transforms/index.d.ts.map +1 -0
- package/shared/transforms/layout-transform.d.ts +55 -0
- package/shared/transforms/layout-transform.d.ts.map +1 -0
- package/shared/transforms/pipeline.d.ts +47 -0
- package/shared/transforms/pipeline.d.ts.map +1 -0
- package/shared/transforms/plugin-transform.d.ts +67 -0
- package/shared/transforms/plugin-transform.d.ts.map +1 -0
- package/shared/transforms/types.d.ts +61 -0
- package/shared/transforms/types.d.ts.map +1 -0
- package/shared/types/index.d.ts +1 -0
- package/shared/types/index.d.ts.map +1 -0
- package/shared/utils/components/code-viewer-box.component.d.ts +20 -0
- package/shared/utils/components/code-viewer-box.component.d.ts.map +1 -0
- package/shared/utils/components/index.d.ts +5 -0
- package/shared/utils/components/index.d.ts.map +1 -0
- package/shared/utils/components/json-viewer.component.d.ts +7 -0
- package/shared/utils/components/json-viewer.component.d.ts.map +1 -0
- package/shared/utils/components/story-wrapper.component.d.ts +3 -0
- package/shared/utils/components/story-wrapper.component.d.ts.map +1 -0
- package/shared/utils/components/switch-button.component.d.ts +8 -0
- package/shared/utils/components/switch-button.component.d.ts.map +1 -0
- package/shared/utils/device-node.d.ts +6 -0
- package/shared/utils/device-node.d.ts.map +1 -0
- package/shared/utils/edge-labels.d.ts +3 -0
- package/shared/utils/edge-labels.d.ts.map +1 -0
- package/shared/utils/five-nodes.d.ts +3 -0
- package/shared/utils/five-nodes.d.ts.map +1 -0
- package/shared/utils/index.d.ts +14 -0
- package/shared/utils/index.d.ts.map +1 -0
- package/shared/utils/moxa-graph.d.ts +3 -0
- package/shared/utils/moxa-graph.d.ts.map +1 -0
- package/shared/utils/node-edge-group.d.ts +3 -0
- package/shared/utils/node-edge-group.d.ts.map +1 -0
- package/shared/utils/utils/clean-object.d.ts +31 -0
- package/shared/utils/utils/clean-object.d.ts.map +1 -0
- package/shared/utils/utils/code-highlight.d.ts +2 -0
- package/shared/utils/utils/code-highlight.d.ts.map +1 -0
- package/shared/utils/utils/index.d.ts +4 -0
- package/shared/utils/utils/index.d.ts.map +1 -0
- package/shared/utils/utils/node-util.d.ts +13 -0
- package/shared/utils/utils/node-util.d.ts.map +1 -0
- package/lib/behavior/brush-select.d.ts +0 -10
- package/lib/behavior/brush-select.d.ts.map +0 -1
- package/lib/behavior/click-select.d.ts.map +0 -1
- package/lib/behavior/collapse-expand.d.ts +0 -4
- package/lib/behavior/collapse-expand.d.ts.map +0 -1
- package/lib/behavior/create-edge.d.ts.map +0 -1
- package/lib/behavior/drag-canvas.d.ts +0 -7
- package/lib/behavior/drag-canvas.d.ts.map +0 -1
- package/lib/behavior/drag-element.d.ts +0 -6
- package/lib/behavior/drag-element.d.ts.map +0 -1
- package/lib/behavior/fix-element-size.d.ts +0 -9
- package/lib/behavior/fix-element-size.d.ts.map +0 -1
- package/lib/behavior/focus-element.d.ts +0 -4
- package/lib/behavior/focus-element.d.ts.map +0 -1
- package/lib/behavior/helper/behavior.mapper.d.ts +0 -9
- package/lib/behavior/helper/behavior.mapper.d.ts.map +0 -1
- package/lib/behavior/helper/index.d.ts +0 -2
- package/lib/behavior/helper/index.d.ts.map +0 -1
- package/lib/behavior/hover-activate.d.ts +0 -4
- package/lib/behavior/hover-activate.d.ts.map +0 -1
- package/lib/behavior/index.d.ts +0 -13
- package/lib/behavior/index.d.ts.map +0 -1
- package/lib/behavior/scroll-canvas.d.ts +0 -4
- package/lib/behavior/scroll-canvas.d.ts.map +0 -1
- package/lib/behavior/select-all.d.ts +0 -14
- package/lib/behavior/select-all.d.ts.map +0 -1
- package/lib/behavior/zoom-canvas.d.ts +0 -4
- package/lib/behavior/zoom-canvas.d.ts.map +0 -1
- package/lib/edge/custom/index.d.ts +0 -4
- package/lib/edge/custom/index.d.ts.map +0 -1
- package/lib/edge/custom/line-edge.d.ts +0 -15
- package/lib/edge/custom/line-edge.d.ts.map +0 -1
- package/lib/edge/custom/polyline-edge.d.ts +0 -21
- package/lib/edge/custom/polyline-edge.d.ts.map +0 -1
- package/lib/edge/custom/quadratic-edge.d.ts +0 -15
- package/lib/edge/custom/quadratic-edge.d.ts.map +0 -1
- package/lib/edge/helper/custom-edge.helper.d.ts +0 -12
- package/lib/edge/helper/custom-edge.helper.d.ts.map +0 -1
- package/lib/edge/helper/edge-g6.mapper.d.ts +0 -19
- package/lib/edge/helper/edge-g6.mapper.d.ts.map +0 -1
- package/lib/edge/helper/edge.mapper.d.ts +0 -20
- package/lib/edge/helper/edge.mapper.d.ts.map +0 -1
- package/lib/edge/helper/edge.theme.d.ts +0 -10
- package/lib/edge/helper/edge.theme.d.ts.map +0 -1
- package/lib/edge/helper/index.d.ts +0 -5
- package/lib/edge/helper/index.d.ts.map +0 -1
- package/lib/edge/index.d.ts +0 -3
- package/lib/edge/index.d.ts.map +0 -1
- package/lib/graph/graph.d.ts.map +0 -1
- package/lib/graph/graph.mapper.d.ts +0 -15
- package/lib/graph/graph.mapper.d.ts.map +0 -1
- package/lib/graph/index.d.ts +0 -3
- package/lib/graph/index.d.ts.map +0 -1
- package/lib/group/custom/device-group.d.ts.map +0 -1
- package/lib/group/custom/index.d.ts +0 -2
- package/lib/group/custom/index.d.ts.map +0 -1
- package/lib/group/helper/group-g6.mapper.d.ts +0 -16
- package/lib/group/helper/group-g6.mapper.d.ts.map +0 -1
- package/lib/group/helper/group.mapper.d.ts +0 -21
- package/lib/group/helper/group.mapper.d.ts.map +0 -1
- package/lib/group/helper/index.d.ts +0 -3
- package/lib/group/helper/index.d.ts.map +0 -1
- package/lib/group/index.d.ts +0 -3
- package/lib/group/index.d.ts.map +0 -1
- package/lib/layout/align.d.ts +0 -18
- package/lib/layout/align.d.ts.map +0 -1
- package/lib/layout/force.d.ts +0 -10
- package/lib/layout/force.d.ts.map +0 -1
- package/lib/layout/grid.d.ts +0 -17
- package/lib/layout/grid.d.ts.map +0 -1
- package/lib/layout/helper/index.d.ts +0 -2
- package/lib/layout/helper/index.d.ts.map +0 -1
- package/lib/layout/helper/layout.helper.d.ts +0 -4
- package/lib/layout/helper/layout.helper.d.ts.map +0 -1
- package/lib/layout/helper/layout.mapper.d.ts +0 -6
- package/lib/layout/helper/layout.mapper.d.ts.map +0 -1
- package/lib/layout/index.d.ts +0 -7
- package/lib/layout/index.d.ts.map +0 -1
- package/lib/layout/ring.d.ts +0 -10
- package/lib/layout/ring.d.ts.map +0 -1
- package/lib/layout/tree.d.ts +0 -12
- package/lib/layout/tree.d.ts.map +0 -1
- package/lib/model/background.model.d.ts.map +0 -1
- package/lib/model/behavior.model.d.ts +0 -27
- package/lib/model/behavior.model.d.ts.map +0 -1
- package/lib/model/edge.model.d.ts.map +0 -1
- package/lib/model/element.model.d.ts +0 -2
- package/lib/model/element.model.d.ts.map +0 -1
- package/lib/model/event.model.d.ts +0 -216
- package/lib/model/event.model.d.ts.map +0 -1
- package/lib/model/extension.model.d.ts +0 -15
- package/lib/model/extension.model.d.ts.map +0 -1
- package/lib/model/graph.model.d.ts +0 -34
- package/lib/model/graph.model.d.ts.map +0 -1
- package/lib/model/group.model.d.ts +0 -43
- package/lib/model/group.model.d.ts.map +0 -1
- package/lib/model/icon.model.d.ts +0 -11
- package/lib/model/icon.model.d.ts.map +0 -1
- package/lib/model/image.model.d.ts +0 -8
- package/lib/model/image.model.d.ts.map +0 -1
- package/lib/model/index.d.ts.map +0 -1
- package/lib/model/label.model.d.ts.map +0 -1
- package/lib/model/layout.model.d.ts +0 -22
- package/lib/model/layout.model.d.ts.map +0 -1
- package/lib/model/node.model.d.ts +0 -35
- package/lib/model/node.model.d.ts.map +0 -1
- package/lib/model/plugin.model.d.ts +0 -19
- package/lib/model/plugin.model.d.ts.map +0 -1
- package/lib/model/shape.model.d.ts +0 -8
- package/lib/model/shape.model.d.ts.map +0 -1
- package/lib/model/state.model.d.ts +0 -6
- package/lib/model/state.model.d.ts.map +0 -1
- package/lib/model/theme.model.d.ts.map +0 -1
- package/lib/model/viewport.model.d.ts.map +0 -1
- package/lib/node/custom/device-node.d.ts +0 -36
- package/lib/node/custom/device-node.d.ts.map +0 -1
- package/lib/node/custom/index.d.ts +0 -2
- package/lib/node/custom/index.d.ts.map +0 -1
- package/lib/node/helper/icon-style.d.ts +0 -4
- package/lib/node/helper/icon-style.d.ts.map +0 -1
- package/lib/node/helper/index.d.ts +0 -5
- package/lib/node/helper/index.d.ts.map +0 -1
- package/lib/node/helper/key-style.d.ts +0 -5
- package/lib/node/helper/key-style.d.ts.map +0 -1
- package/lib/node/helper/node-g6.mapper.d.ts +0 -15
- package/lib/node/helper/node-g6.mapper.d.ts.map +0 -1
- package/lib/node/helper/node.mapper.d.ts +0 -26
- package/lib/node/helper/node.mapper.d.ts.map +0 -1
- package/lib/node/index.d.ts +0 -3
- package/lib/node/index.d.ts.map +0 -1
- package/lib/plugin/context-menu.d.ts +0 -6
- package/lib/plugin/context-menu.d.ts.map +0 -1
- package/lib/plugin/element-toolbar.d.ts.map +0 -1
- package/lib/plugin/fixed-toolbar.d.ts +0 -28
- package/lib/plugin/fixed-toolbar.d.ts.map +0 -1
- package/lib/plugin/graph-background.d.ts.map +0 -1
- package/lib/plugin/helper/index.d.ts +0 -2
- package/lib/plugin/helper/index.d.ts.map +0 -1
- package/lib/plugin/helper/plugin.mapper.d.ts +0 -8
- package/lib/plugin/helper/plugin.mapper.d.ts.map +0 -1
- package/lib/plugin/history.d.ts +0 -7
- package/lib/plugin/history.d.ts.map +0 -1
- package/lib/plugin/index.d.ts +0 -10
- package/lib/plugin/index.d.ts.map +0 -1
- package/lib/plugin/minimap.d.ts +0 -13
- package/lib/plugin/minimap.d.ts.map +0 -1
- package/lib/plugin/snapline.d.ts +0 -9
- package/lib/plugin/snapline.d.ts.map +0 -1
- package/lib/plugin/tooltip.d.ts +0 -11
- package/lib/plugin/tooltip.d.ts.map +0 -1
- package/lib/themes/dark.d.ts +0 -3
- package/lib/themes/dark.d.ts.map +0 -1
- package/lib/themes/index.d.ts +0 -4
- package/lib/themes/index.d.ts.map +0 -1
- package/lib/themes/light.d.ts +0 -3
- package/lib/themes/light.d.ts.map +0 -1
- package/lib/themes/theme.mapper.d.ts +0 -65
- package/lib/themes/theme.mapper.d.ts.map +0 -1
- package/lib/utils/edge.helper.d.ts +0 -19
- package/lib/utils/edge.helper.d.ts.map +0 -1
- package/lib/utils/element.helper.d.ts +0 -5
- package/lib/utils/element.helper.d.ts.map +0 -1
- package/lib/utils/graph.helper.d.ts +0 -5
- package/lib/utils/graph.helper.d.ts.map +0 -1
- package/lib/utils/icon.helper.d.ts +0 -3
- package/lib/utils/icon.helper.d.ts.map +0 -1
- package/lib/utils/index.d.ts.map +0 -1
- package/lib/utils/platform.helper.d.ts.map +0 -1
- package/lib/utils/rect.helper.d.ts.map +0 -1
- package/lib/utils/state.helper.d.ts.map +0 -1
- package/lib/utils/theme.helper.d.ts +0 -3
- package/lib/utils/theme.helper.d.ts.map +0 -1
- package/lib/utils/tree.helper.d.ts.map +0 -1
- /package/{lib → core}/utils/platform.helper.d.ts +0 -0
- /package/{lib → core}/utils/rect.helper.d.ts +0 -0
- /package/{lib → core}/utils/state.helper.d.ts +0 -0
- /package/{lib → core}/utils/tree.helper.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Layout, LayoutConfig } from '../../core/model';
|
|
2
|
+
import { TransformContext } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Layout factory mapping
|
|
5
|
+
*/
|
|
6
|
+
export declare const LAYOUT_FACTORIES: {
|
|
7
|
+
align: (graph: import('../..').Graph, config?: Partial<import('../../layouts/align').AlignLayoutConfig>) => import('../../layouts/align').AlignLayoutConfig;
|
|
8
|
+
tree: (graph: import('../..').Graph, config?: Partial<import('../../layouts/tree').TreeLayoutConfig>) => import('@antv/g6').SingleLayoutOptions;
|
|
9
|
+
force: (graph: import('../..').Graph, config?: Partial<import('../../layouts/force').ForceLayoutConfig>) => import('@antv/g6').SingleLayoutOptions;
|
|
10
|
+
grid: (graph: import('../..').Graph, config?: Partial<import('../../layouts/grid').GridLayoutConfig>) => import('@antv/g6').SingleLayoutOptions;
|
|
11
|
+
ring: (graph: import('../..').Graph, config?: Partial<import('../../layouts/ring').RingLayoutConfig>) => import('@antv/g6').SingleLayoutOptions;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Transform single layout configuration
|
|
15
|
+
*/
|
|
16
|
+
export declare const transformLayoutConfig: (config: LayoutConfig, context?: TransformContext) => any;
|
|
17
|
+
/**
|
|
18
|
+
* Convert new LayoutConfig to legacy array format
|
|
19
|
+
*/
|
|
20
|
+
export declare const layoutConfigToArray: (config: LayoutConfig) => any[];
|
|
21
|
+
/**
|
|
22
|
+
* Transform multiple layout configurations
|
|
23
|
+
*/
|
|
24
|
+
export declare const transformLayout: (config?: LayoutConfig, context?: TransformContext) => any;
|
|
25
|
+
/**
|
|
26
|
+
* Create custom layout transformer
|
|
27
|
+
*/
|
|
28
|
+
export declare const createLayoutTransformer: (layoutType: Layout, graph?: any, options?: any) => import('../../layouts/align').AlignLayoutConfig | import('@antv/g6').BaseLayoutOptions | null;
|
|
29
|
+
/**
|
|
30
|
+
* Register custom layout factory
|
|
31
|
+
*/
|
|
32
|
+
export declare const registerLayoutFactory: (layoutType: string, factory: (graph?: any, options?: any) => any) => void;
|
|
33
|
+
/**
|
|
34
|
+
* Check if layout is registered
|
|
35
|
+
*/
|
|
36
|
+
export declare const isLayoutRegistered: (layoutType: string) => boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Get all registered layout types
|
|
39
|
+
*/
|
|
40
|
+
export declare const getRegisteredLayouts: () => string[];
|
|
41
|
+
/**
|
|
42
|
+
* Validate layout configuration
|
|
43
|
+
*/
|
|
44
|
+
export declare const validateLayoutConfig: (config: LayoutConfig) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Get layout options utility (backwards compatibility)
|
|
47
|
+
*/
|
|
48
|
+
export declare const getLayoutOptions: (graph: any, config: LayoutConfig) => any;
|
|
49
|
+
/**
|
|
50
|
+
* Transform G6 layout configuration to our LayoutConfig format
|
|
51
|
+
* @param g6Layout - G6 LayoutOptions (single or array)
|
|
52
|
+
* @returns LayoutConfig in our format
|
|
53
|
+
*/
|
|
54
|
+
export declare const transformG6LayoutToConfig: (g6Layout: any) => LayoutConfig;
|
|
55
|
+
//# sourceMappingURL=layout-transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-transform.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/transforms/layout-transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;CAM5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,QAAQ,YAAY,EACpB,UAAU,gBAAgB,KACzB,GAoBF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,YAAY,KAAG,GAAG,EAgB7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,SAAS,YAAY,EACrB,UAAU,gBAAgB,KACzB,GAQF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,EAClB,QAAQ,GAAG,EACX,UAAU,GAAG,6FAId,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,YAAY,MAAM,EAClB,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,GAAG,SAG7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,YAAY,MAAM,KAAG,OAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAO,MAAM,EAE7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,YAAY,KAAG,OAO3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,GAAG,EAAE,QAAQ,YAAY,QAEhE,CAAC;AAmEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,GAAI,UAAU,GAAG,KAAG,YAOzD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { TransformPipelineConfig, TransformFunction, TransformStep, TransformContext } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Create transform pipeline
|
|
4
|
+
*/
|
|
5
|
+
export declare const createTransformPipeline: (config: TransformPipelineConfig) => TransformFunction;
|
|
6
|
+
/**
|
|
7
|
+
* Execute transform pipeline
|
|
8
|
+
*/
|
|
9
|
+
export declare const executePipeline: (data: any, pipeline: TransformFunction) => any;
|
|
10
|
+
/**
|
|
11
|
+
* Register custom transform
|
|
12
|
+
*/
|
|
13
|
+
export declare const registerTransform: (name: string, transform: TransformFunction) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Check if transform is registered
|
|
16
|
+
*/
|
|
17
|
+
export declare const isTransformRegistered: (name: string) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Get all registered transforms
|
|
20
|
+
*/
|
|
21
|
+
export declare const getRegisteredTransforms: () => string[];
|
|
22
|
+
/**
|
|
23
|
+
* Remove registered transform
|
|
24
|
+
*/
|
|
25
|
+
export declare const unregisterTransform: (name: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Create standard data processing pipeline
|
|
28
|
+
*/
|
|
29
|
+
export declare const createStandardPipeline: (customTransforms?: Array<string | TransformFunction | TransformStep>, context?: TransformContext) => TransformFunction;
|
|
30
|
+
/**
|
|
31
|
+
* Create minimal pipeline for basic transformations
|
|
32
|
+
*/
|
|
33
|
+
export declare const createMinimalPipeline: (context?: TransformContext) => TransformFunction;
|
|
34
|
+
/**
|
|
35
|
+
* Pipeline utilities
|
|
36
|
+
*/
|
|
37
|
+
export declare const PipelineUtils: {
|
|
38
|
+
create: (config: TransformPipelineConfig) => TransformFunction;
|
|
39
|
+
execute: (data: any, pipeline: TransformFunction) => any;
|
|
40
|
+
register: (name: string, transform: TransformFunction) => void;
|
|
41
|
+
unregister: (name: string) => void;
|
|
42
|
+
isRegistered: (name: string) => boolean;
|
|
43
|
+
getRegistered: () => string[];
|
|
44
|
+
createStandard: (customTransforms?: Array<string | TransformFunction | TransformStep>, context?: TransformContext) => TransformFunction;
|
|
45
|
+
createMinimal: (context?: TransformContext) => TransformFunction;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/transforms/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EACjB,MAAM,SAAS,CAAC;AA+DjB;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,QAAQ,uBAAuB,KAC9B,iBA0BF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,GAAG,EACT,UAAU,iBAAiB,KAC1B,GAOF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,EACZ,WAAW,iBAAiB,KAC3B,IAEF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,KAAG,OAEpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MAAM,EAEhD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,KAAG,IAElD,CAAC;AASF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GACjC,mBAAkB,KAAK,CAAC,MAAM,GAAG,iBAAiB,GAAG,aAAa,CAAM,EACxE,UAAU,gBAAgB,KACzB,iBAYF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,UAAU,gBAAgB,KACzB,iBAKF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;qBArHhB,uBAAuB,KAC9B,iBAAiB;oBAgCZ,GAAG,YACC,iBAAiB,KAC1B,GAAG;qBAaE,MAAM,aACD,iBAAiB,KAC3B,IAAI;uBAqBmC,MAAM,KAAG,IAAI;yBAdX,MAAM,KAAG,OAAO;yBAOjB,MAAM,EAAE;wCAsB/B,KAAK,CAAC,MAAM,GAAG,iBAAiB,GAAG,aAAa,CAAC,YACzD,gBAAgB,KACzB,iBAAiB;8BAkBR,gBAAgB,KACzB,iBAAiB;CAmBnB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Plugin, PluginConfig, UserPlugin } from '../../core/model';
|
|
2
|
+
import { TransformContext } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Built-in plugins that are always included
|
|
5
|
+
*/
|
|
6
|
+
export declare const BUILT_IN_PLUGINS: {
|
|
7
|
+
type: Plugin;
|
|
8
|
+
}[];
|
|
9
|
+
/**
|
|
10
|
+
* Default plugins
|
|
11
|
+
*/
|
|
12
|
+
export declare const DEFAULT_PLUGINS: Plugin[];
|
|
13
|
+
/**
|
|
14
|
+
* Plugin factory mapping
|
|
15
|
+
*/
|
|
16
|
+
export declare const PLUGIN_FACTORIES: {
|
|
17
|
+
contextMenu: import('../../core/model').PluginFunction<import('@antv/g6').BasePluginOptions, import('@antv/g6').ContextmenuOptions>;
|
|
18
|
+
elementToolbar: import('../../core/model').PluginFunction<import('../../plugins/element-toolbar').ElementToolbarOptions, import('../../plugins/element-toolbar').ElementToolbarOptions>;
|
|
19
|
+
fixedToolbar: import('../../core/model').PluginFunction<import('../../plugins/fixed-toolbar').FixedToolbarOptions, import('../../plugins/fixed-toolbar').FixedToolbarOptions>;
|
|
20
|
+
graphBackground: import('../../core/model').PluginFunction<import('../../plugins/graph-background').GraphBackgroundOptions, import('../../plugins/graph-background').GraphBackgroundOptions>;
|
|
21
|
+
history: import('../../core/model').PluginFunction<import('@antv/g6').BasePluginOptions, import('@antv/g6').BasePluginOptions>;
|
|
22
|
+
minimap: import('../../core/model').PluginFunction<import('../../plugins/minimap').MinimapOptions, import('../../plugins/minimap').MinimapOptions>;
|
|
23
|
+
snapline: import('../../core/model').PluginFunction<import('@antv/g6').BasePluginOptions, import('@antv/g6').BasePluginOptions>;
|
|
24
|
+
tooltip: import('../../core/model').PluginFunction<import('../../plugins/tooltip').TooltipOptions, import('@antv/g6').ContextmenuOptions>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Transform single plugin configuration
|
|
28
|
+
*/
|
|
29
|
+
export declare const transformPlugin: (plugin: UserPlugin, context?: TransformContext) => any;
|
|
30
|
+
/**
|
|
31
|
+
* Transform plugin configuration with theme support
|
|
32
|
+
*/
|
|
33
|
+
export declare const transformPlugins: (plugins?: UserPlugin[], context?: TransformContext) => any;
|
|
34
|
+
/**
|
|
35
|
+
* Create custom plugin transformer
|
|
36
|
+
*/
|
|
37
|
+
export declare const createPluginTransformer: (pluginType: Plugin, graph?: any, options?: any) => import('@antv/g6').BasePluginOptions | null;
|
|
38
|
+
/**
|
|
39
|
+
* Register custom plugin factory
|
|
40
|
+
*/
|
|
41
|
+
export declare const registerPluginFactory: (pluginType: string, factory: (graph?: any, options?: any) => any) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Check if plugin is registered
|
|
44
|
+
*/
|
|
45
|
+
export declare const isPluginRegistered: (pluginType: string) => boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Get all registered plugin types
|
|
48
|
+
*/
|
|
49
|
+
export declare const getRegisteredPlugins: () => string[];
|
|
50
|
+
/**
|
|
51
|
+
* Validate plugin configuration
|
|
52
|
+
*/
|
|
53
|
+
export declare const validatePluginConfig: (plugin: UserPlugin) => boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Convert PluginConfig (boolean/options) to UserPlugin array
|
|
56
|
+
* Each plugin can be boolean (uses defaults) or specific options object
|
|
57
|
+
*/
|
|
58
|
+
export declare const pluginConfigToUserPlugins: (config?: PluginConfig) => UserPlugin[];
|
|
59
|
+
/**
|
|
60
|
+
* Convert UserPlugin array to PluginConfig
|
|
61
|
+
*/
|
|
62
|
+
export declare const userPluginsToPluginConfig: (plugins: any[]) => PluginConfig;
|
|
63
|
+
/**
|
|
64
|
+
* Get plugins utility (backwards compatibility)
|
|
65
|
+
*/
|
|
66
|
+
export declare const getPlugins: (graph: any, plugins: UserPlugin[]) => any[];
|
|
67
|
+
//# sourceMappingURL=plugin-transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-transform.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/transforms/plugin-transform.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,YAAY,EACZ,UAAU,EAEX,MAAM,aAAa,CAAC;AASrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,gBAAgB;;GAAsC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,eAAe,UAK3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;CAS5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,QAAQ,UAAU,EAClB,UAAU,gBAAgB,KACzB,GAYF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,UAAU,UAAU,EAAE,EACtB,UAAU,gBAAgB,KACzB,GA0BF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,EAClB,QAAQ,GAAG,EACX,UAAU,GAAG,gDAId,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,YAAY,MAAM,EAClB,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,GAAG,SAG7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,YAAY,MAAM,KAAG,OAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAAO,MAAM,EAE7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,UAAU,KAAG,OAUzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GACpC,SAAS,YAAY,KACpB,UAAU,EA2CZ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,SAAS,GAAG,EAAE,KAAG,YAoB1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,EAAE,SAAS,UAAU,EAAE,UAE3D,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ComboData, EdgeData, GraphData as G6GraphData, NodeData } from '@antv/g6';
|
|
2
|
+
import { GraphData, PartialEdgeData, PartialGroupData, PartialNodeData, UserThemeType } from '../../core/model';
|
|
3
|
+
/**
|
|
4
|
+
* Base interface for data transformers
|
|
5
|
+
*/
|
|
6
|
+
export interface DataTransformer<TInput, TOutput> {
|
|
7
|
+
transform: (data: TInput, options?: TransformOptions) => TOutput;
|
|
8
|
+
reverse?: (data: TOutput, options?: TransformOptions) => TInput;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Common options for all transformers
|
|
12
|
+
*/
|
|
13
|
+
export interface TransformOptions {
|
|
14
|
+
full?: boolean;
|
|
15
|
+
theme?: UserThemeType;
|
|
16
|
+
strict?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Node transformer interface
|
|
20
|
+
*/
|
|
21
|
+
export type NodeTransformer = DataTransformer<PartialNodeData, NodeData>;
|
|
22
|
+
/**
|
|
23
|
+
* Edge transformer interface
|
|
24
|
+
*/
|
|
25
|
+
export type EdgeTransformer = DataTransformer<PartialEdgeData, EdgeData>;
|
|
26
|
+
/**
|
|
27
|
+
* Group/Combo transformer interface
|
|
28
|
+
*/
|
|
29
|
+
export type GroupTransformer = DataTransformer<PartialGroupData, ComboData>;
|
|
30
|
+
/**
|
|
31
|
+
* Graph data transformer interface
|
|
32
|
+
*/
|
|
33
|
+
export type GraphDataTransformer = DataTransformer<GraphData, G6GraphData>;
|
|
34
|
+
/**
|
|
35
|
+
* Transform context for accessing graph instance and other utilities
|
|
36
|
+
*/
|
|
37
|
+
export interface TransformContext {
|
|
38
|
+
graph?: any;
|
|
39
|
+
theme?: UserThemeType;
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Custom transform function type
|
|
44
|
+
*/
|
|
45
|
+
export type TransformFunction<TInput = any, TOutput = any> = (input: TInput, context?: TransformContext) => TOutput;
|
|
46
|
+
/**
|
|
47
|
+
* Transform pipeline configuration
|
|
48
|
+
*/
|
|
49
|
+
export interface TransformPipelineConfig {
|
|
50
|
+
transforms: Array<string | TransformFunction | TransformStep>;
|
|
51
|
+
context?: TransformContext;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Individual transform step in pipeline
|
|
55
|
+
*/
|
|
56
|
+
export interface TransformStep {
|
|
57
|
+
name: string;
|
|
58
|
+
transform: TransformFunction;
|
|
59
|
+
options?: Record<string, any>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/transforms/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,SAAS,IAAI,WAAW,EACxB,QAAQ,EACT,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,aAAa,EACd,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,MAAM,EAAE,OAAO;IAC9C,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,OAAO,CAAC;IACjE,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,MAAM,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,CAC3D,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,gBAAgB,KACvB,OAAO,CAAC;AAEb;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,iBAAiB,GAAG,aAAa,CAAC,CAAC;IAC9D,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/types/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class CodeViewerBoxComponent {
|
|
2
|
+
set code(value: string);
|
|
3
|
+
get code(): string;
|
|
4
|
+
private _rawCode;
|
|
5
|
+
private _formattedCode;
|
|
6
|
+
language: string;
|
|
7
|
+
codeSpace: string;
|
|
8
|
+
direction: 'horizontal' | 'vertical';
|
|
9
|
+
json: undefined;
|
|
10
|
+
enableCode: boolean;
|
|
11
|
+
enableJson: boolean;
|
|
12
|
+
currTab: number;
|
|
13
|
+
get codeBoxStyles(): {
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
};
|
|
17
|
+
private formatCode;
|
|
18
|
+
changeTab(n: number): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=code-viewer-box.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-viewer-box.component.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/components/code-viewer-box.component.ts"],"names":[],"mappings":"AAQA,qBA0Fa,sBAAsB;IACjC,IAAa,IAAI,CAAC,KAAK,EAAE,MAAM,EAG9B;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,OAAO,CAAC,QAAQ,CAAM;IACtB,OAAO,CAAC,cAAc,CAAM;IACnB,QAAQ,SAAgB;IACxB,SAAS,SAAS;IAClB,SAAS,EAAE,YAAY,GAAG,UAAU,CAAgB;IACpD,IAAI,YAAa;IACjB,UAAU,UAAQ;IAClB,UAAU,UAAQ;IAE3B,OAAO,SAAK;IAEZ,IAAI,aAAa;;;MAWhB;YAEa,UAAU;IAcxB,SAAS,CAAC,CAAC,EAAE,MAAM;CAUpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/components/json-viewer.component.ts"],"names":[],"mappings":"AAGA,qBA2Ha,mBAAmB;IAC9B,KAAK,8CAAyB;IAC9B,IAAI,2CAAkB;IAEtB,QAAQ,UAAS;IAEjB,eAAe;CAGhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/components/story-wrapper.component.ts"],"names":[],"mappings":"AAEA,qBAuBa,qBAAqB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-button.component.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/components/switch-button.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AAEvE,qBA+Ea,qBAAqB;IACvB,IAAI,SAAM;IACV,KAAK,UAAS;IACb,OAAO,wBAA+B;IAEhD,MAAM,CAAC,CAAC,EAAE,GAAG;CAGd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-node.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/device-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,eAAO,MAAM,UAAU,GACrB,IAAI,MAAM,EACV,QAAO;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAmB,EAChD,cAAU,KACT,QAcF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edge-labels.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/edge-labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,eAAO,MAAM,gBAAgB,EAAE,SA2H9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"five-nodes.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/five-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,eAAO,MAAM,UAAU,EAAE,SAwExB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './device-node';
|
|
2
|
+
export * from './five-nodes';
|
|
3
|
+
export * from './moxa-graph';
|
|
4
|
+
export * from './node-edge-group';
|
|
5
|
+
export * from './edge-labels';
|
|
6
|
+
export * from './components';
|
|
7
|
+
export * from './utils';
|
|
8
|
+
export declare const Demo: {
|
|
9
|
+
FIVE_NODES: import('../..').GraphData;
|
|
10
|
+
MOXA_GRAPH: import('../..').GraphData;
|
|
11
|
+
EDGE_LABELS_DATA: import('../..').GraphData;
|
|
12
|
+
NODE_EDGE_GROUP: import('../..').GraphData;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/index.ts"],"names":[],"mappings":"AAKA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,IAAI;;;;;CAKhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moxa-graph.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/moxa-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,eAAO,MAAM,UAAU,EAAE,SAyGxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-edge-group.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/shared/utils/node-edge-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,eAAO,MAAM,eAAe,EAAE,SAmH7B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration options for cleaning objects
|
|
3
|
+
*/
|
|
4
|
+
export interface CleanObjectOptions {
|
|
5
|
+
/** Remove undefined values (default: true) */
|
|
6
|
+
removeUndefined?: boolean;
|
|
7
|
+
/** Remove null values (default: false) */
|
|
8
|
+
removeNull?: boolean;
|
|
9
|
+
/** Remove empty objects {} (default: true) */
|
|
10
|
+
removeEmptyObjects?: boolean;
|
|
11
|
+
/** Remove empty arrays [] (default: false) */
|
|
12
|
+
removeEmptyArrays?: boolean;
|
|
13
|
+
/** Remove empty strings "" (default: false) */
|
|
14
|
+
removeEmptyStrings?: boolean;
|
|
15
|
+
/** Remove strings with only whitespace (default: false) */
|
|
16
|
+
removeWhitespaceStrings?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Recursively clean an object by removing specified empty or invalid values
|
|
20
|
+
* @param obj - The object to clean
|
|
21
|
+
* @param options - Configuration options for cleaning behavior
|
|
22
|
+
* @returns A new cleaned object
|
|
23
|
+
*/
|
|
24
|
+
export declare function cleanObject<T>(obj: T, options?: CleanObjectOptions): T;
|
|
25
|
+
/**
|
|
26
|
+
* Aggressive cleaning that removes most empty values
|
|
27
|
+
* @param obj - The object to clean
|
|
28
|
+
* @returns A new cleaned object
|
|
29
|
+
*/
|
|
30
|
+
export declare function deepClean<T>(obj: T): T;
|
|
31
|
+
//# sourceMappingURL=clean-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clean-object.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/utils/clean-object.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,0CAA0C;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,8CAA8C;IAC9C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,+CAA+C;IAC/C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,2DAA2D;IAC3D,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAcD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,GAAE,kBAAuB,GAAG,CAAC,CAyC1E;AAuDD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAStC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-highlight.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/utils/code-highlight.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,oCAG/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-util.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/shared/utils/utils/node-util.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,eAAW,EAAE,YAAS,EAAE,YAAO;;;;;;;;;;;GAa1D,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MxBehaviorBaseOptions, MxBehaviorFunction, MxElementType } from '../model';
|
|
2
|
-
export type MxBrushSelectOptions = MxBehaviorBaseOptions & {
|
|
3
|
-
mode?: 'key' | 'select';
|
|
4
|
-
elementTypes?: MxElementType[];
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export declare const getBrushSelectBehavior: MxBehaviorFunction<MxBrushSelectOptions>;
|
|
10
|
-
//# sourceMappingURL=brush-select.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brush-select.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/brush-select.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EAEd,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,CACrD,oBAAoB,CAmCnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"click-select.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/click-select.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EAQnB,aAAa,EAEb,cAAc,EAEd,WAAW,EACX,KAAK,EACN,MAAM,UAAU,CAAC;AAKlB,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAElB,aAAa,EAGd,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,CACrD,oBAAoB,CA+CnB,CAAC;AAEJ;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC;IACvD;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,KAAK,MAAM,CAAC,CAAC;IACrD;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1C;AAED;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,YAAY,CAAC,kBAAkB,CAAC;IAC/D,OAAO,CAAC,QAAQ,CAAW;IAE3B,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAShD;gBAEU,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,kBAAkB;IAMhE,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,aAAa,CAInB;IAEF,OAAO,CAAC,aAAa,CAInB;IAEF,OAAO,KAAK,gBAAgB,GAG3B;IAED,OAAO,CAAC,cAAc;YAYR,WAAW;IAkGzB,OAAO,CAAC,aAAa;IAYrB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;YAkBR,UAAU;IAKxB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,YAAY;IASJ,OAAO;CAIxB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MxBehaviorBaseOptions, MxBehaviorFunction } from '../model';
|
|
2
|
-
export type MxCollapseExpandOptions = MxBehaviorBaseOptions;
|
|
3
|
-
export declare const getCollapseExpandBehavior: MxBehaviorFunction<MxCollapseExpandOptions>;
|
|
4
|
-
//# sourceMappingURL=collapse-expand.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapse-expand.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/collapse-expand.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,eAAO,MAAM,yBAAyB,EAAE,kBAAkB,CACxD,uBAAuB,CAatB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-edge.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/create-edge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAOZ,EAAE,EAMF,cAAc,EACf,MAAM,UAAU,CAAC;AAGlB,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAClB,UAAU,EACX,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,CAAC,mBAAmB,CASvE,CAAC;AAKJ;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,qBAAqB;IAChE;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,GAAG,KAAK,CAAC;IAEnD;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,GAAG,KAAK,CAAC;IAEjD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,qBAAa,YAAa,SAAQ,YAAY,CAAC,mBAAmB,CAAC;IACjE,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAMjD;IAEK,MAAM,CAAC,EAAE,EAAE,CAAC;IACnB,OAAO,CAAC,WAAW,CAAiB;gBAExB,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,mBAAmB;IAK1D,SAAS,QAAO;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;KAAE,CAiC5D;IAEc,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAMnE,OAAO,CAAC,IAAI,CAOV;IAGK,eAAe,OAAQ,EAAE,KAAG,IAAI,CAKrC;IAEF,OAAO,CAAC,YAAY,CAqDlB;IAEF,OAAO,CAAC,mBAAmB,CAGzB;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEF,OAAO,CAAC,gBAAgB,CAOtB;IAEF,OAAO,CAAC,UAAU,CAwBhB;IAEF,OAAO,CAAC,UAAU,CAahB;IAEF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,YAAY;IAQJ,OAAO;CAIxB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPointerEvent } from '@antv/g6';
|
|
2
|
-
import { MxBehaviorBaseOptions, MxBehaviorFunction } from '../model';
|
|
3
|
-
export type MxDragCanvasOptions = MxBehaviorBaseOptions & {
|
|
4
|
-
enable: (e: IPointerEvent) => boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const getDragCanvasBehavior: MxBehaviorFunction<MxDragCanvasOptions>;
|
|
7
|
-
//# sourceMappingURL=drag-canvas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drag-canvas.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/drag-canvas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,aAAa,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,GAAG;IACxD,MAAM,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,OAAO,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,CAAC,mBAAmB,CAmBvE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MxBehaviorBaseOptions, MxBehaviorFunction } from '../model';
|
|
2
|
-
export type MxDragElementOptions = MxBehaviorBaseOptions & {
|
|
3
|
-
onFinish?: (ids: string[]) => void;
|
|
4
|
-
};
|
|
5
|
-
export declare const getDragElementBehavior: MxBehaviorFunction<MxDragElementOptions>;
|
|
6
|
-
//# sourceMappingURL=drag-element.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drag-element.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/drag-element.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,CACrD,oBAAoB,CAuCnB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MxBehaviorBaseOptions, MxBehaviorFunction } from '../model';
|
|
2
|
-
export type MxFixElementSizeOptions = MxBehaviorBaseOptions & {
|
|
3
|
-
ranges?: [number] | [number, number];
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare const getFixElementSizeBehavior: MxBehaviorFunction<MxFixElementSizeOptions>;
|
|
9
|
-
//# sourceMappingURL=fix-element-size.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fix-element-size.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/fix-element-size.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,kBAAkB,CACxD,uBAAuB,CAUtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focus-element.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/focus-element.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE1D,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,CACtD,qBAAqB,CAOpB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BehaviorOptions } from '@antv/g6';
|
|
2
|
-
import { MxBehavior, MxUserBehavior } from '../../model/behavior.model';
|
|
3
|
-
import { MxBehaviorFunction } from '../../model';
|
|
4
|
-
export declare const BEHAVIOR_MAPPER: Record<MxBehavior, MxBehaviorFunction>;
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare const getBehaviorOptions: (behaviors: MxUserBehavior[]) => BehaviorOptions;
|
|
9
|
-
//# sourceMappingURL=behavior.mapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"behavior.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/behavior/helper/behavior.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAcjD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,UAAU,EAAE,kBAAkB,CAalE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,cAClB,cAAc,EAAE,KAC1B,eAOF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/behavior/helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover-activate.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/behavior/hover-activate.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC;AAE3D,eAAO,MAAM,wBAAwB,EAAE,kBAAkB,CACvD,sBAAsB,CAYrB,CAAC"}
|
package/lib/behavior/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './brush-select';
|
|
2
|
-
export * from './click-select';
|
|
3
|
-
export * from './collapse-expand';
|
|
4
|
-
export * from './create-edge';
|
|
5
|
-
export * from './drag-canvas';
|
|
6
|
-
export * from './drag-element';
|
|
7
|
-
export * from './fix-element-size';
|
|
8
|
-
export * from './focus-element';
|
|
9
|
-
export * from './helper';
|
|
10
|
-
export * from './hover-activate';
|
|
11
|
-
export * from './select-all';
|
|
12
|
-
export * from './zoom-canvas';
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|