@visuallyjs/browser-ui 1.0.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.
- package/css/visuallyjs-theme.css +148 -0
- package/css/visuallyjs.css +1879 -0
- package/js/visuallyjs.browser-ui.cjs.js +143 -0
- package/js/visuallyjs.browser-ui.esm.js +143 -0
- package/package.json +16 -0
- package/types/browser-ui/base-dom-ui-layout-adapter.d.ts +14 -0
- package/types/browser-ui/browser-ui.d.ts +95 -0
- package/types/browser-ui/browser-util.d.ts +233 -0
- package/types/browser-ui/browser-visuallyjs-instance.d.ts +881 -0
- package/types/browser-ui/canvas-layout-adapter.d.ts +15 -0
- package/types/browser-ui/collicat.d.ts +245 -0
- package/types/browser-ui/components/controls/controls-component.d.ts +137 -0
- package/types/browser-ui/components/controls/copy-paste-controls-component.d.ts +9 -0
- package/types/browser-ui/components/controls/css-classes.d.ts +79 -0
- package/types/browser-ui/components/controls/index.d.ts +4 -0
- package/types/browser-ui/components/controls/svg-export-component.d.ts +60 -0
- package/types/browser-ui/components/edge-type-picker/edge-type-picker.d.ts +37 -0
- package/types/browser-ui/components/edge-type-picker/index.d.ts +1 -0
- package/types/browser-ui/components/index.d.ts +4 -0
- package/types/browser-ui/components/inspector/color-picker-tag.d.ts +32 -0
- package/types/browser-ui/components/inspector/definitions.d.ts +114 -0
- package/types/browser-ui/components/inspector/edge-type-tag.d.ts +15 -0
- package/types/browser-ui/components/inspector/index.d.ts +6 -0
- package/types/browser-ui/components/inspector/inspector.d.ts +138 -0
- package/types/browser-ui/components/inspector/shape-type-inspector.d.ts +43 -0
- package/types/browser-ui/components/inspector/vanilla-inspector.d.ts +39 -0
- package/types/browser-ui/components/palette/index.d.ts +2 -0
- package/types/browser-ui/components/palette/palette-content-generator.d.ts +14 -0
- package/types/browser-ui/components/palette/palette-options.d.ts +159 -0
- package/types/browser-ui/components/palette/palette.d.ts +126 -0
- package/types/browser-ui/connector-editor.d.ts +65 -0
- package/types/browser-ui/connector-editors/anchors.d.ts +31 -0
- package/types/browser-ui/connector-editors/css-constants.d.ts +33 -0
- package/types/browser-ui/connector-editors/definitions.d.ts +74 -0
- package/types/browser-ui/connector-editors/editor-base.d.ts +177 -0
- package/types/browser-ui/connector-editors/index.d.ts +52 -0
- package/types/browser-ui/connector-editors/util.d.ts +33 -0
- package/types/browser-ui/connector-editors-bezier/bezier-editor.d.ts +82 -0
- package/types/browser-ui/connector-editors-bezier/css-constants.d.ts +42 -0
- package/types/browser-ui/connector-editors-bezier/index.d.ts +9 -0
- package/types/browser-ui/connector-editors-orthogonal/css-constants.d.ts +28 -0
- package/types/browser-ui/connector-editors-orthogonal/index.d.ts +9 -0
- package/types/browser-ui/connector-editors-orthogonal/orthogonal-editor.d.ts +86 -0
- package/types/browser-ui/connector-editors-straight/auto-split-mode.d.ts +24 -0
- package/types/browser-ui/connector-editors-straight/click-split-mode.d.ts +20 -0
- package/types/browser-ui/connector-editors-straight/css-constants.d.ts +30 -0
- package/types/browser-ui/connector-editors-straight/definitions.d.ts +69 -0
- package/types/browser-ui/connector-editors-straight/index.d.ts +11 -0
- package/types/browser-ui/connector-editors-straight/straight-editor.d.ts +42 -0
- package/types/browser-ui/constants.d.ts +79 -0
- package/types/browser-ui/copy-paste/clipboard.d.ts +34 -0
- package/types/browser-ui/copy-paste/index.d.ts +2 -0
- package/types/browser-ui/copy-paste/transformer.d.ts +14 -0
- package/types/browser-ui/css-constants.d.ts +436 -0
- package/types/browser-ui/d.d.ts +2 -0
- package/types/browser-ui/definitions.d.ts +442 -0
- package/types/browser-ui/dialogs/binder.d.ts +49 -0
- package/types/browser-ui/dialogs/constants.d.ts +51 -0
- package/types/browser-ui/dialogs/dialogs.d.ts +30 -0
- package/types/browser-ui/dialogs/index.d.ts +3 -0
- package/types/browser-ui/drag-manager-2.d.ts +54 -0
- package/types/browser-ui/edge-handler-base.d.ts +168 -0
- package/types/browser-ui/edge-input-handler.d.ts +116 -0
- package/types/browser-ui/edge-mappings/flowchart-basic.d.ts +22 -0
- package/types/browser-ui/edge-mappings/index.d.ts +1 -0
- package/types/browser-ui/edge-relocate-handler.d.ts +51 -0
- package/types/browser-ui/element-drag-handler-2.d.ts +254 -0
- package/types/browser-ui/element-dragger.d.ts +45 -0
- package/types/browser-ui/element-facade.d.ts +11 -0
- package/types/browser-ui/event-manager.d.ts +50 -0
- package/types/browser-ui/fixed-layer.d.ts +107 -0
- package/types/browser-ui/group-layout-adapter.d.ts +19 -0
- package/types/browser-ui/html-element-overlay.d.ts +32 -0
- package/types/browser-ui/icons/definitions.d.ts +59 -0
- package/types/browser-ui/icons/icon-renderer.d.ts +43 -0
- package/types/browser-ui/icons/index.d.ts +2 -0
- package/types/browser-ui/index.d.ts +48 -0
- package/types/browser-ui/pan-zoom-options.d.ts +262 -0
- package/types/browser-ui/pan-zoom.d.ts +674 -0
- package/types/browser-ui/paper-renderer/definitions.d.ts +83 -0
- package/types/browser-ui/paper-renderer/index.d.ts +2 -0
- package/types/browser-ui/paper-renderer/paper.d.ts +50 -0
- package/types/browser-ui/pinch-listener.d.ts +33 -0
- package/types/browser-ui/plugins/background/available-backgrounds.d.ts +12 -0
- package/types/browser-ui/plugins/background/background-options.d.ts +62 -0
- package/types/browser-ui/plugins/background/background-plugin.d.ts +62 -0
- package/types/browser-ui/plugins/background/generated-grid-background.d.ts +230 -0
- package/types/browser-ui/plugins/background/index.d.ts +6 -0
- package/types/browser-ui/plugins/background/simple-background.d.ts +33 -0
- package/types/browser-ui/plugins/background/tiled-background.d.ts +118 -0
- package/types/browser-ui/plugins/browser-ui-plugin.d.ts +90 -0
- package/types/browser-ui/plugins/edge-routing/index.d.ts +66 -0
- package/types/browser-ui/plugins/index.d.ts +5 -0
- package/types/browser-ui/plugins/selected-edge-highlight/index.d.ts +1 -0
- package/types/browser-ui/plugins/selected-edge-highlight/selected-edge-highlight-plugin.d.ts +36 -0
- package/types/browser-ui/plugins/ui-states/index.d.ts +2 -0
- package/types/browser-ui/plugins/ui-states/ui-state.d.ts +14 -0
- package/types/browser-ui/plugins/ui-states/ui-states-plugin.d.ts +69 -0
- package/types/browser-ui/positioning-and-sizing-utils.d.ts +103 -0
- package/types/browser-ui/shape-library/index.d.ts +4 -0
- package/types/browser-ui/shape-library/shape-library-definitions.d.ts +243 -0
- package/types/browser-ui/shape-library/shape-library.d.ts +266 -0
- package/types/browser-ui/shape-library/shapes-basic.d.ts +7 -0
- package/types/browser-ui/shape-library/shapes-flowchart.d.ts +7 -0
- package/types/browser-ui/storage.d.ts +8 -0
- package/types/browser-ui/surface-renderer/anim/anim.d.ts +64 -0
- package/types/browser-ui/surface-renderer/anim/constants.d.ts +74 -0
- package/types/browser-ui/surface-renderer/anim/definitions.d.ts +134 -0
- package/types/browser-ui/surface-renderer/anim/index.d.ts +4 -0
- package/types/browser-ui/surface-renderer/anim/path-transport.d.ts +23 -0
- package/types/browser-ui/surface-renderer/css-classes.d.ts +64 -0
- package/types/browser-ui/surface-renderer/decorators.d.ts +162 -0
- package/types/browser-ui/surface-renderer/definitions.d.ts +83 -0
- package/types/browser-ui/surface-renderer/diagrams/constants.d.ts +28 -0
- package/types/browser-ui/surface-renderer/diagrams/definitions.d.ts +528 -0
- package/types/browser-ui/surface-renderer/diagrams/diagram-cell.d.ts +123 -0
- package/types/browser-ui/surface-renderer/diagrams/diagram-link.d.ts +116 -0
- package/types/browser-ui/surface-renderer/diagrams/diagram-palette.d.ts +11 -0
- package/types/browser-ui/surface-renderer/diagrams/diagram-tools.d.ts +112 -0
- package/types/browser-ui/surface-renderer/diagrams/diagram.d.ts +221 -0
- package/types/browser-ui/surface-renderer/diagrams/index.d.ts +25 -0
- package/types/browser-ui/surface-renderer/diagrams/mediator.d.ts +59 -0
- package/types/browser-ui/surface-renderer/diagrams/util.d.ts +15 -0
- package/types/browser-ui/surface-renderer/elastic-group-manager.d.ts +102 -0
- package/types/browser-ui/surface-renderer/index.d.ts +34 -0
- package/types/browser-ui/surface-renderer/params.d.ts +175 -0
- package/types/browser-ui/surface-renderer/plugins/controls/controls-plugin.d.ts +26 -0
- package/types/browser-ui/surface-renderer/plugins/controls/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/drag-groups/drag-groups-plugin.d.ts +78 -0
- package/types/browser-ui/surface-renderer/plugins/drag-groups/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/export-controls/export-controls-plugin.d.ts +25 -0
- package/types/browser-ui/surface-renderer/plugins/export-controls/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/index.d.ts +10 -0
- package/types/browser-ui/surface-renderer/plugins/lasso/index.d.ts +2 -0
- package/types/browser-ui/surface-renderer/plugins/lasso/lasso-plugin.d.ts +78 -0
- package/types/browser-ui/surface-renderer/plugins/lasso/lasso.d.ts +74 -0
- package/types/browser-ui/surface-renderer/plugins/miniview/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/miniview/miniview-plugin.d.ts +235 -0
- package/types/browser-ui/surface-renderer/plugins/palette/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/palette/palette-plugin.d.ts +17 -0
- package/types/browser-ui/surface-renderer/plugins/pan-buttons/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/pan-buttons/pan-buttons-plugin.d.ts +55 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/border-drag-handlers.d.ts +3 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/definitions.d.ts +411 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/drag-handlers.d.ts +3 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/handle-gen.d.ts +15 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/index.d.ts +4 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/resizing-tools-plugin.d.ts +185 -0
- package/types/browser-ui/surface-renderer/plugins/resizing-tools/util.d.ts +16 -0
- package/types/browser-ui/surface-renderer/plugins/snaplines/index.d.ts +1 -0
- package/types/browser-ui/surface-renderer/plugins/snaplines/snaplines-plugin.d.ts +128 -0
- package/types/browser-ui/surface-renderer/plugins/vertex-drawing/definitions.d.ts +90 -0
- package/types/browser-ui/surface-renderer/plugins/vertex-drawing/index.d.ts +2 -0
- package/types/browser-ui/surface-renderer/plugins/vertex-drawing/vertex-drawing-plugin.d.ts +64 -0
- package/types/browser-ui/surface-renderer/shape-palette-options.d.ts +127 -0
- package/types/browser-ui/surface-renderer/shape-palette.d.ts +55 -0
- package/types/browser-ui/surface-renderer/surface-decorator.d.ts +35 -0
- package/types/browser-ui/surface-renderer/surface-events.d.ts +9 -0
- package/types/browser-ui/surface-renderer/surface-render-options.d.ts +125 -0
- package/types/browser-ui/surface-renderer/surface.d.ts +665 -0
- package/types/browser-ui/svg-component.d.ts +6 -0
- package/types/browser-ui/svg-element-connector.d.ts +16 -0
- package/types/browser-ui/svg-element-overlay.d.ts +55 -0
- package/types/browser-ui/svg-export/definitions.d.ts +153 -0
- package/types/browser-ui/svg-export/image-export-ui.d.ts +20 -0
- package/types/browser-ui/svg-export/image-exporter.d.ts +15 -0
- package/types/browser-ui/svg-export/index.d.ts +6 -0
- package/types/browser-ui/svg-export/svg-export-ui.d.ts +11 -0
- package/types/browser-ui/svg-export/svg-exporter.d.ts +8 -0
- package/types/browser-ui/svg-export/util.d.ts +23 -0
- package/types/browser-ui/svg-util.d.ts +27 -0
- package/types/browser-ui/templating/browser-ui-recado.d.ts +48 -0
- package/types/browser-ui/templating/custom-tag-definition.d.ts +32 -0
- package/types/browser-ui/templating/index.d.ts +11 -0
- package/types/browser-ui/templating/recado-template-renderer.d.ts +69 -0
- package/types/browser-ui/ui-path.d.ts +57 -0
- package/types/browser-ui/util.d.ts +4 -0
- package/types/browser-ui/wheel-listener.d.ts +2 -0
- package/types/charts/area/area-chart.d.ts +85 -0
- package/types/charts/area/index.d.ts +1 -0
- package/types/charts/bar-and-column/bar-chart.d.ts +34 -0
- package/types/charts/bar-and-column/bar-plot.d.ts +90 -0
- package/types/charts/bar-and-column/column-chart.d.ts +35 -0
- package/types/charts/bar-and-column/index.d.ts +3 -0
- package/types/charts/base-chart.d.ts +395 -0
- package/types/charts/base-xy-chart.d.ts +224 -0
- package/types/charts/bubble/bubble-chart.d.ts +30 -0
- package/types/charts/bubble/definitions.d.ts +32 -0
- package/types/charts/bubble/index.d.ts +2 -0
- package/types/charts/category-value-chart.d.ts +146 -0
- package/types/charts/chart-exporter.d.ts +38 -0
- package/types/charts/chart-zoom-controls.d.ts +23 -0
- package/types/charts/constants.d.ts +16 -0
- package/types/charts/css-classes.d.ts +312 -0
- package/types/charts/datasource.d.ts +61 -0
- package/types/charts/definitions.d.ts +261 -0
- package/types/charts/domain_scale_utilities.d.ts +72 -0
- package/types/charts/dual-value-chart.d.ts +60 -0
- package/types/charts/gauge/definitions.d.ts +108 -0
- package/types/charts/gauge/gauge-chart.d.ts +91 -0
- package/types/charts/gauge/index.d.ts +2 -0
- package/types/charts/index.d.ts +25 -0
- package/types/charts/legend.d.ts +120 -0
- package/types/charts/line/index.d.ts +1 -0
- package/types/charts/line/line-chart.d.ts +79 -0
- package/types/charts/markers.d.ts +13 -0
- package/types/charts/pie/index.d.ts +1 -0
- package/types/charts/pie/pie-chart.d.ts +146 -0
- package/types/charts/plot.d.ts +75 -0
- package/types/charts/sankey/index.d.ts +1 -0
- package/types/charts/sankey/preprocessor.d.ts +37 -0
- package/types/charts/sankey/sankey.d.ts +208 -0
- package/types/charts/scatter/definitions.d.ts +6 -0
- package/types/charts/scatter/index.d.ts +2 -0
- package/types/charts/scatter/scatter-chart.d.ts +16 -0
- package/types/charts/series/array-based-series.d.ts +95 -0
- package/types/charts/series/collation-series.d.ts +24 -0
- package/types/charts/series/definitions.d.ts +52 -0
- package/types/charts/series/dual-value-chart-series.d.ts +26 -0
- package/types/charts/series/index.d.ts +7 -0
- package/types/charts/series/record-based-series.d.ts +58 -0
- package/types/charts/series/series.d.ts +66 -0
- package/types/charts/series/summing-collation-series.d.ts +31 -0
- package/types/charts/series/summing-series.d.ts +19 -0
- package/types/charts/series-based-chart.d.ts +59 -0
- package/types/charts/tooltip.d.ts +167 -0
- package/types/charts/util.d.ts +149 -0
- package/types/core/astar/astar-path-finder.d.ts +37 -0
- package/types/core/astar/astar-util.d.ts +100 -0
- package/types/core/astar/candidate-finder.d.ts +16 -0
- package/types/core/astar/candidate-sorter.d.ts +10 -0
- package/types/core/astar/definitions.d.ts +185 -0
- package/types/core/astar/index.d.ts +3 -0
- package/types/core/astar/path-to-segments.d.ts +45 -0
- package/types/core/autosaver.d.ts +67 -0
- package/types/core/color-generator.d.ts +66 -0
- package/types/core/constants.d.ts +181 -0
- package/types/core/csv-loader.d.ts +84 -0
- package/types/core/datamodel/data-model.d.ts +23 -0
- package/types/core/datamodel/vertex-definition.d.ts +40 -0
- package/types/core/datasource.d.ts +87 -0
- package/types/core/event-constants.d.ts +308 -0
- package/types/core/event-generator.d.ts +102 -0
- package/types/core/filterable-dataset.d.ts +38 -0
- package/types/core/geom.d.ts +278 -0
- package/types/core/index.d.ts +39 -0
- package/types/core/io.d.ts +106 -0
- package/types/core/layout/absolute-layout.d.ts +91 -0
- package/types/core/layout/abstract-layout-adapter.d.ts +17 -0
- package/types/core/layout/abstract-layout.d.ts +192 -0
- package/types/core/layout/circular/circular-layout.d.ts +31 -0
- package/types/core/layout/circular/index.d.ts +1 -0
- package/types/core/layout/empty-layout.d.ts +17 -0
- package/types/core/layout/force-directed/force-directed-layout.d.ts +148 -0
- package/types/core/layout/force-directed/index.d.ts +1 -0
- package/types/core/layout/grid/definitions.d.ts +81 -0
- package/types/core/layout/grid/grid-layout.d.ts +60 -0
- package/types/core/layout/grid/index.d.ts +2 -0
- package/types/core/layout/hierarchical/abstract-hierarchical-layout.d.ts +90 -0
- package/types/core/layout/hierarchical/balloon-layout.d.ts +62 -0
- package/types/core/layout/hierarchical/definitions.d.ts +45 -0
- package/types/core/layout/hierarchical/hierarchical-layout.d.ts +102 -0
- package/types/core/layout/hierarchical/index.d.ts +5 -0
- package/types/core/layout/hierarchical/parent-relative-placement.d.ts +96 -0
- package/types/core/layout/hierarchy/assign-layers-stage.d.ts +26 -0
- package/types/core/layout/hierarchy/crossing-stage.d.ts +78 -0
- package/types/core/layout/hierarchy/definitions.d.ts +261 -0
- package/types/core/layout/hierarchy/edge-routing.d.ts +25 -0
- package/types/core/layout/hierarchy/hierarchy-layout-stage.d.ts +9 -0
- package/types/core/layout/hierarchy/hierarchy-layout.d.ts +87 -0
- package/types/core/layout/hierarchy/index.d.ts +11 -0
- package/types/core/layout/hierarchy/model.d.ts +167 -0
- package/types/core/layout/hierarchy/parent-relative-placement.d.ts +69 -0
- package/types/core/layout/hierarchy/placement-stage.d.ts +82 -0
- package/types/core/layout/hierarchy/util.d.ts +13 -0
- package/types/core/layout/hierarchy/vertex-set.d.ts +45 -0
- package/types/core/layout/index.d.ts +10 -0
- package/types/core/layout/layouts.d.ts +10 -0
- package/types/core/magnetizer.d.ts +232 -0
- package/types/core/model/anchor.d.ts +38 -0
- package/types/core/model/cluster.d.ts +19 -0
- package/types/core/model/defs.d.ts +8 -0
- package/types/core/model/djikstra.d.ts +26 -0
- package/types/core/model/floyd-warshall.d.ts +15 -0
- package/types/core/model/graph.d.ts +1166 -0
- package/types/core/model/path.d.ts +227 -0
- package/types/core/params.d.ts +476 -0
- package/types/core/renderer.d.ts +74 -0
- package/types/core/router/common.d.ts +104 -0
- package/types/core/router/direct-router.d.ts +12 -0
- package/types/core/router/index.d.ts +3 -0
- package/types/core/router/orthogonal-router.d.ts +46 -0
- package/types/core/rtree/definitions.d.ts +24 -0
- package/types/core/rtree/hilbert.d.ts +9 -0
- package/types/core/rtree/index.d.ts +4 -0
- package/types/core/rtree/rtree.d.ts +102 -0
- package/types/core/rtree/util.d.ts +55 -0
- package/types/core/search/index.d.ts +1 -0
- package/types/core/search/visuallyjs-search.d.ts +167 -0
- package/types/core/selection.d.ts +394 -0
- package/types/core/templates/abstract-entry.d.ts +19 -0
- package/types/core/templates/comment-entry.d.ts +11 -0
- package/types/core/templates/core.d.ts +162 -0
- package/types/core/templates/custom-tag.d.ts +74 -0
- package/types/core/templates/defs.d.ts +123 -0
- package/types/core/templates/each-entry.d.ts +23 -0
- package/types/core/templates/element-entry.d.ts +18 -0
- package/types/core/templates/elements.d.ts +14 -0
- package/types/core/templates/executions.d.ts +100 -0
- package/types/core/templates/expressions.d.ts +47 -0
- package/types/core/templates/fake-dom.d.ts +42 -0
- package/types/core/templates/headless.d.ts +15 -0
- package/types/core/templates/if-entry.d.ts +25 -0
- package/types/core/templates/index.d.ts +14 -0
- package/types/core/templates/parser.d.ts +84 -0
- package/types/core/templates/text-entry.d.ts +17 -0
- package/types/core/templates/tmpl-entry.d.ts +13 -0
- package/types/core/toolkit.d.ts +1314 -0
- package/types/core/undo-redo/compound-action.d.ts +19 -0
- package/types/core/undo-redo/edge-action.d.ts +62 -0
- package/types/core/undo-redo/group-action.d.ts +60 -0
- package/types/core/undo-redo/move-action.d.ts +18 -0
- package/types/core/undo-redo/node-group-action.d.ts +62 -0
- package/types/core/undo-redo/port-action.d.ts +29 -0
- package/types/core/undo-redo/renderer-vertex-removed-action.d.ts +17 -0
- package/types/core/undo-redo/set-type-action.d.ts +14 -0
- package/types/core/undo-redo/undo-redo.d.ts +203 -0
- package/types/core/undo-redo/update-action.d.ts +20 -0
- package/types/core/undo-redo/vertex-update-action.d.ts +12 -0
- package/types/core/util.d.ts +661 -0
- package/types/index.d.ts +16 -0
- package/types/l.d.ts +2 -0
- package/types/test-support/index.d.ts +1 -0
- package/types/test-support/test-support.d.ts +833 -0
- package/types/ui/common/abstract-segment.d.ts +88 -0
- package/types/ui/common/anchor.d.ts +280 -0
- package/types/ui/common/connector.d.ts +106 -0
- package/types/ui/common/index.d.ts +5 -0
- package/types/ui/common/overlay.d.ts +117 -0
- package/types/ui/common/paint-style.d.ts +33 -0
- package/types/ui/connector-bezier/abstract-bezier-connector.d.ts +68 -0
- package/types/ui/connector-bezier/bezier-connector.d.ts +34 -0
- package/types/ui/connector-bezier/bezier-segment.d.ts +31 -0
- package/types/ui/connector-bezier/bezier.d.ts +129 -0
- package/types/ui/connector-bezier/index.d.ts +6 -0
- package/types/ui/connector-bezier/operations.d.ts +18 -0
- package/types/ui/connector-bezier/quadratic-bezier-connector.d.ts +35 -0
- package/types/ui/connector-orthogonal/default-orthogonal-path-compute.d.ts +11 -0
- package/types/ui/connector-orthogonal/definitions.d.ts +120 -0
- package/types/ui/connector-orthogonal/index.d.ts +7 -0
- package/types/ui/connector-orthogonal/modern-source-target-relocator.d.ts +37 -0
- package/types/ui/connector-orthogonal/operations.d.ts +49 -0
- package/types/ui/connector-orthogonal/stub-calculators.d.ts +12 -0
- package/types/ui/connector-orthogonal/utils.d.ts +134 -0
- package/types/ui/connector-orthogonal/vertex-avoidance.d.ts +29 -0
- package/types/ui/connector-straight/index.d.ts +2 -0
- package/types/ui/connector-straight/operations.d.ts +55 -0
- package/types/ui/connector-straight/straight-connector.d.ts +121 -0
- package/types/ui/copy-paste/clipboard.d.ts +45 -0
- package/types/ui/copy-paste/copy-data.d.ts +93 -0
- package/types/ui/copy-paste/index.d.ts +2 -0
- package/types/ui/core/callbacks.d.ts +48 -0
- package/types/ui/core/component/component.d.ts +115 -0
- package/types/ui/core/connector/abstract-connector.d.ts +66 -0
- package/types/ui/core/connector/arc-segment.d.ts +39 -0
- package/types/ui/core/connector/connection-impl.d.ts +81 -0
- package/types/ui/core/connector/connections.d.ts +113 -0
- package/types/ui/core/connector/connectors.d.ts +205 -0
- package/types/ui/core/connector/operations.d.ts +0 -0
- package/types/ui/core/connector/segments.d.ts +24 -0
- package/types/ui/core/connector/straight-segment.d.ts +32 -0
- package/types/ui/core/constants.d.ts +181 -0
- package/types/ui/core/context.d.ts +26 -0
- package/types/ui/core/core-events.d.ts +7 -0
- package/types/ui/core/core.d.ts +1734 -0
- package/types/ui/core/css-constants.d.ts +149 -0
- package/types/ui/core/defaults.d.ts +242 -0
- package/types/ui/core/definitions.d.ts +540 -0
- package/types/ui/core/event-constants.d.ts +510 -0
- package/types/ui/core/factory/anchor-record-factory.d.ts +17 -0
- package/types/ui/core/factory/continuous-anchors.d.ts +27 -0
- package/types/ui/core/factory/overlay-factory.d.ts +8 -0
- package/types/ui/core/grid-profile.d.ts +28 -0
- package/types/ui/core/group-collapse-expand.d.ts +23 -0
- package/types/ui/core/group-sizer.d.ts +9 -0
- package/types/ui/core/index.d.ts +45 -0
- package/types/ui/core/magnetize-profile.d.ts +82 -0
- package/types/ui/core/overlay/arrow-overlay.d.ts +34 -0
- package/types/ui/core/overlay/custom-overlay.d.ts +38 -0
- package/types/ui/core/overlay/diamond-overlay.d.ts +14 -0
- package/types/ui/core/overlay/dot-overlay.d.ts +54 -0
- package/types/ui/core/overlay/ellipse-overlay.d.ts +60 -0
- package/types/ui/core/overlay/label-overlay.d.ts +37 -0
- package/types/ui/core/overlay/overlay.d.ts +131 -0
- package/types/ui/core/overlay/plain-arrow-overlay.d.ts +15 -0
- package/types/ui/core/overlay/rectangle-overlay.d.ts +66 -0
- package/types/ui/core/params.d.ts +223 -0
- package/types/ui/core/router/astar-path-finder.d.ts +29 -0
- package/types/ui/core/router/base-router.d.ts +100 -0
- package/types/ui/core/router/default-router.d.ts +38 -0
- package/types/ui/core/router/index.d.ts +5 -0
- package/types/ui/core/router/router-utils.d.ts +118 -0
- package/types/ui/core/router/router.d.ts +30 -0
- package/types/ui/core/type-descriptors.d.ts +83 -0
- package/types/ui/core/ui-model.d.ts +65 -0
- package/types/ui/core/view/common-options.d.ts +15 -0
- package/types/ui/core/view/edge-options.d.ts +126 -0
- package/types/ui/core/view/events.d.ts +159 -0
- package/types/ui/core/view/group-options.d.ts +75 -0
- package/types/ui/core/view/index.d.ts +35 -0
- package/types/ui/core/view/node-options.d.ts +20 -0
- package/types/ui/core/view/node-or-port-options.d.ts +28 -0
- package/types/ui/core/view/port-options.d.ts +51 -0
- package/types/ui/core/view/vertex-options.d.ts +28 -0
- package/types/ui/core/viewport.d.ts +297 -0
- package/types/ui/index.d.ts +9 -0
- package/types/ui/plugins/definitions.d.ts +118 -0
- package/types/ui/plugins/index.d.ts +2 -0
- package/types/ui/plugins/plugins.d.ts +7 -0
- package/types/ui/property-mappings/definitions.d.ts +28 -0
- package/types/ui/property-mappings/index.d.ts +2 -0
- package/types/ui/property-mappings/property-mapper.d.ts +16 -0
- package/types/ui/util/index.d.ts +3 -0
- package/types/ui/util/property-tracker.d.ts +8 -0
- package/types/ui/util/svg-constants.d.ts +111 -0
- package/types/ui/util/util.d.ts +69 -0
- package/types/version.d.ts +1 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assigned to the DOM element a surface is rendered to.
|
|
3
|
+
* @group Components
|
|
4
|
+
* @category Surface
|
|
5
|
+
* @cssClass
|
|
6
|
+
* @context surface
|
|
7
|
+
*/
|
|
8
|
+
export declare const CLASS_SURFACE = "vjs-surface";
|
|
9
|
+
/**
|
|
10
|
+
* Assigned to the DOM element a surface is rendered to when direct rendering is switched on.
|
|
11
|
+
* @group Components
|
|
12
|
+
* @category Surface
|
|
13
|
+
* @cssClass
|
|
14
|
+
* @context surface
|
|
15
|
+
*/
|
|
16
|
+
export declare const CLASS_SURFACE_DIRECT = "vjs-surface-direct-render";
|
|
17
|
+
/**
|
|
18
|
+
* Assigned to the Surface's DOM element when VisuallyJs detects the device supports touch events.
|
|
19
|
+
* @group Components
|
|
20
|
+
* @category Surface
|
|
21
|
+
* @cssClass
|
|
22
|
+
* @context surface
|
|
23
|
+
*/
|
|
24
|
+
export declare const CLASS_SURFACE_TOUCH_DEVICE = "vjs-surface-touch-device";
|
|
25
|
+
/**
|
|
26
|
+
* Assigned to the Surface's DOM element when VisuallyJs detects the device supports pointer events.
|
|
27
|
+
* @group Components
|
|
28
|
+
* @category Surface
|
|
29
|
+
* @cssClass
|
|
30
|
+
* @context surface
|
|
31
|
+
*/
|
|
32
|
+
export declare const CLASS_SURFACE_POINTER_DEVICE = "vjs-surface-pointer-device";
|
|
33
|
+
/**
|
|
34
|
+
* Assigned to the Surface's DOM element when panning is disabled.
|
|
35
|
+
* @group Components
|
|
36
|
+
* @category Surface
|
|
37
|
+
* @cssClass
|
|
38
|
+
* @context surface
|
|
39
|
+
*/
|
|
40
|
+
export declare const CLASS_SURFACE_NO_PAN = "vjs-surface-nopan";
|
|
41
|
+
/**
|
|
42
|
+
* Assigned to the canvas element used by a Surface - the DOM element that is the parent of all vertices and edges.
|
|
43
|
+
* @group Components
|
|
44
|
+
* @category Surface
|
|
45
|
+
* @cssClass
|
|
46
|
+
* @context surface
|
|
47
|
+
*/
|
|
48
|
+
export declare const CLASS_SURFACE_CANVAS = "vjs-surface-canvas";
|
|
49
|
+
/**
|
|
50
|
+
* Assigned to each of the pan buttons added around the surface.
|
|
51
|
+
* @group Plugins
|
|
52
|
+
* @category Pan Buttons
|
|
53
|
+
* @see {@link CLASS_SURFACE_PAN_LEFT}
|
|
54
|
+
* @see {@link CLASS_SURFACE_PAN_TOP}
|
|
55
|
+
* @see {@link CLASS_SURFACE_PAN_RIGHT}
|
|
56
|
+
* @see {@link CLASS_SURFACE_PAN_BOTTOM}
|
|
57
|
+
* @cssClass
|
|
58
|
+
* @context pan-buttons
|
|
59
|
+
*/
|
|
60
|
+
export declare const CLASS_SURFACE_PAN = "vjs-surface-pan";
|
|
61
|
+
/**
|
|
62
|
+
* Assigned to the pan button added on the left edge of the surface.
|
|
63
|
+
* @group Plugins
|
|
64
|
+
* @category Pan Buttons
|
|
65
|
+
* @see {@link CLASS_SURFACE_PAN}
|
|
66
|
+
* @cssClass
|
|
67
|
+
* @context pan-buttons
|
|
68
|
+
*/
|
|
69
|
+
export declare const CLASS_SURFACE_PAN_LEFT = "vjs-surface-pan-left";
|
|
70
|
+
/**
|
|
71
|
+
* Assigned by to the pan button on the top edge of the surface.
|
|
72
|
+
* @group Plugins
|
|
73
|
+
* @category Pan Buttons
|
|
74
|
+
* @see {@link CLASS_SURFACE_PAN}
|
|
75
|
+
* @cssClass
|
|
76
|
+
* @context pan-buttons
|
|
77
|
+
*/
|
|
78
|
+
export declare const CLASS_SURFACE_PAN_TOP = "vjs-surface-pan-top";
|
|
79
|
+
/**
|
|
80
|
+
* Assigned to the pan button on the right edge of the surface.
|
|
81
|
+
* @group Plugins
|
|
82
|
+
* @category Pan Buttons
|
|
83
|
+
* @see {@link CLASS_SURFACE_PAN}
|
|
84
|
+
* @cssClass
|
|
85
|
+
* @context pan-buttons
|
|
86
|
+
*/
|
|
87
|
+
export declare const CLASS_SURFACE_PAN_RIGHT = "vjs-surface-pan-right";
|
|
88
|
+
/**
|
|
89
|
+
* Assigned to the pan button on the bottom edge of the surface.
|
|
90
|
+
* @group Plugins
|
|
91
|
+
* @category Pan Buttons
|
|
92
|
+
* @see {@link CLASS_SURFACE_PAN}
|
|
93
|
+
* @cssClass
|
|
94
|
+
* @context pan-buttons
|
|
95
|
+
*/
|
|
96
|
+
export declare const CLASS_SURFACE_PAN_BOTTOM = "vjs-surface-pan-bottom";
|
|
97
|
+
/**
|
|
98
|
+
* Assigned when the user is pressing a pan button and a pan is in motion.
|
|
99
|
+
* @group Plugins
|
|
100
|
+
* @category Pan Buttons
|
|
101
|
+
* @see {@link CLASS_SURFACE_PAN}
|
|
102
|
+
* @cssClass
|
|
103
|
+
* @context pan-buttons
|
|
104
|
+
*/
|
|
105
|
+
export declare const CLASS_SURFACE_PAN_ACTIVE = "vjs-surface-pan-active";
|
|
106
|
+
/**
|
|
107
|
+
* Assigned by the Surface to the DOM element representing a vertex when it is being flashed to get the user's attention.
|
|
108
|
+
* @group Components
|
|
109
|
+
* @category Surface
|
|
110
|
+
* @cssClass
|
|
111
|
+
* @context surface
|
|
112
|
+
*/
|
|
113
|
+
export declare const CLASS_SURFACE_ELEMENT_FLASH = "vjs-surface-flash";
|
|
114
|
+
/**
|
|
115
|
+
* The name of the CSS animation that is applied to a vertex when it is being flashed. NOTE: this is not a CSS class; its the name of the animation.
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
export declare const ANIM_SURFACE_ELEMENT_FLASH = "vjs-flash-vertex";
|
|
119
|
+
/**
|
|
120
|
+
* Assigned by the Surface to its canvas while the canvas is being panned (either programmatically or via pointer/touch)
|
|
121
|
+
* @group Components
|
|
122
|
+
* @category Surface
|
|
123
|
+
* @cssClass
|
|
124
|
+
* @context surface
|
|
125
|
+
*/
|
|
126
|
+
export declare const CLASS_SURFACE_PANNING = "vjs-surface-panning";
|
|
127
|
+
/**
|
|
128
|
+
* Assigned by the Surface to its container when a node or group is being dragged
|
|
129
|
+
* @group Components
|
|
130
|
+
* @category Surface
|
|
131
|
+
* @cssClass
|
|
132
|
+
* @context element-dragging
|
|
133
|
+
*/
|
|
134
|
+
export declare const CLASS_SURFACE_ELEMENT_DRAGGING = "vjs-surface-element-dragging";
|
|
135
|
+
/**
|
|
136
|
+
* Assigned by the Surface to a vertex element that is being dragged
|
|
137
|
+
* @group Components
|
|
138
|
+
* @category Surface
|
|
139
|
+
* @cssClass
|
|
140
|
+
* @context element-dragging
|
|
141
|
+
*/
|
|
142
|
+
export declare const CLASS_ELEMENT_DRAGGING = "vjs-element-dragging";
|
|
143
|
+
/**
|
|
144
|
+
* Assigned by the Surface to the group parent of a vertex element that is being dragged, if applicable. You can use this class for a couple of things - to show that a child element is being dragged, of course, but also a good idea is to use this class to bump the z-index for any group that has it assigned, to put that group above other groups. This ensures that as you drag a child vertex over to some other group, it appears on top of that group in the UI.
|
|
145
|
+
* @group Components
|
|
146
|
+
* @category Surface
|
|
147
|
+
* @cssClass
|
|
148
|
+
* @context element-dragging
|
|
149
|
+
*/
|
|
150
|
+
export declare const CLASS_GROUP_CHILD_ELEMENT_DRAGGING = "vjs-group-child-element-dragging";
|
|
151
|
+
/**
|
|
152
|
+
* Assigned by the Surface to the vertex element(s) that was/were the most recently dragged elements.
|
|
153
|
+
* @group Components
|
|
154
|
+
* @category Surface
|
|
155
|
+
* @cssClass
|
|
156
|
+
* @context element-dragging
|
|
157
|
+
*/
|
|
158
|
+
export declare const CLASS_MOST_RECENTLY_DRAGGED = "vjs-most-recently-dragged";
|
|
159
|
+
/**
|
|
160
|
+
* Assigned by the Surface to its root element when an edge is being dragged. This is not assigned to the edge element itself.
|
|
161
|
+
* @group Components
|
|
162
|
+
* @category Surface
|
|
163
|
+
* @cssClass
|
|
164
|
+
* @context edge-dragging
|
|
165
|
+
*/
|
|
166
|
+
export declare const CLASS_SURFACE_EDGE_DRAGGING = "vjs-surface-edge-dragging";
|
|
167
|
+
/**
|
|
168
|
+
* Assigned by the Surface to the DOM element representing an edge that is being dragged to relocate its source or target. This class is only added when the edge input handler is in drag mode. It is assigned to the connector element once the mouse starts to move, and removed on mouseup.
|
|
169
|
+
* @group Components
|
|
170
|
+
* @category Surface
|
|
171
|
+
* @cssClass
|
|
172
|
+
* @context edge-dragging
|
|
173
|
+
*/
|
|
174
|
+
export declare const CLASS_EDGE_RELOCATING = "vjs-edge-relocating";
|
|
175
|
+
/**
|
|
176
|
+
* Assigned by the Surface to the DOM element representing an edge that is about to be relocated. When the edge input mode is dragging, this class is assigned on mousedown on one of the drag handles, before the mouse moves, and removed when the mouse begins to move (or on mouseup if the user does not move the mouse). When the edge input mode is tap, this class is assigned when the user has tapped on one of the relocate handles, and is removed either when the user clicks on whitespace, cancelling the relocation, or clicks on an active target and effects the relocation.
|
|
177
|
+
* @group Components
|
|
178
|
+
* @category Surface
|
|
179
|
+
* @cssClass
|
|
180
|
+
* @context edge-dragging
|
|
181
|
+
*/
|
|
182
|
+
export declare const CLASS_EDGE_WILL_RELOCATE = "vjs-edge-will-relocate";
|
|
183
|
+
/**
|
|
184
|
+
* Assigned to the DOM element representing a lasso
|
|
185
|
+
* @group Plugins
|
|
186
|
+
* @category Lasso
|
|
187
|
+
* @cssClass
|
|
188
|
+
* @context lasso
|
|
189
|
+
*/
|
|
190
|
+
export declare const CLASS_LASSO = "vjs-lasso";
|
|
191
|
+
/**
|
|
192
|
+
* Assigned to each DOM element representing part of the lasso mask, when the lasso is inverted mode. The lasso mask consists of four parts, one to the left, right, top and bottom of the area that has been lassoed.
|
|
193
|
+
* @group Plugins
|
|
194
|
+
* @category Lasso
|
|
195
|
+
* @see {@link CLASS_LASSO_MASK_BOTTOM}
|
|
196
|
+
* @see {@link CLASS_LASSO_MASK_TOP}
|
|
197
|
+
* @see {@link CLASS_LASSO_MASK_LEFT}
|
|
198
|
+
* @see {@link CLASS_LASSO_MASK_RIGHT}
|
|
199
|
+
* @cssClass
|
|
200
|
+
* @context lasso
|
|
201
|
+
*/
|
|
202
|
+
export declare const CLASS_LASSO_MASK = "vjs-lasso-mask";
|
|
203
|
+
/**
|
|
204
|
+
* Assigned to the DOM element representing the left part of the lasso mask, when the lasso is inverted mode.
|
|
205
|
+
* @group Plugins
|
|
206
|
+
* @category Lasso
|
|
207
|
+
* @see {@link CLASS_LASSO_MASK}
|
|
208
|
+
* @cssClass
|
|
209
|
+
* @context lasso
|
|
210
|
+
*/
|
|
211
|
+
export declare const CLASS_LASSO_MASK_LEFT = "vjs-lasso-mask-left";
|
|
212
|
+
/**
|
|
213
|
+
* Assigned to the DOM element representing the top part of the lasso mask, when the lasso is inverted mode.
|
|
214
|
+
* @group Plugins
|
|
215
|
+
* @category Lasso
|
|
216
|
+
* @see {@link CLASS_LASSO_MASK}
|
|
217
|
+
* @cssClass
|
|
218
|
+
* @context lasso
|
|
219
|
+
*/
|
|
220
|
+
export declare const CLASS_LASSO_MASK_TOP = "vjs-lasso-mask-top";
|
|
221
|
+
/**
|
|
222
|
+
* Assigned to the DOM element representing the right part of the lasso mask, when the lasso is inverted mode.
|
|
223
|
+
* @group Plugins
|
|
224
|
+
* @category Lasso
|
|
225
|
+
* @see {@link CLASS_LASSO_MASK}
|
|
226
|
+
* @cssClass
|
|
227
|
+
* @context lasso
|
|
228
|
+
*/
|
|
229
|
+
export declare const CLASS_LASSO_MASK_RIGHT = "vjs-lasso-mask-right";
|
|
230
|
+
/**
|
|
231
|
+
* Assigned to the DOM element representing the bottom part of the lasso mask, when the lasso is inverted mode.
|
|
232
|
+
* @group Plugins
|
|
233
|
+
* @category Lasso
|
|
234
|
+
* @see {@link CLASS_LASSO_MASK}
|
|
235
|
+
* @cssClass
|
|
236
|
+
* @context lasso
|
|
237
|
+
*/
|
|
238
|
+
export declare const CLASS_LASSO_MASK_BOTTOM = "vjs-lasso-mask-bottom";
|
|
239
|
+
/**
|
|
240
|
+
* Assigned by the Miniview to the DOM element into which it was rendered.
|
|
241
|
+
* @group Plugins
|
|
242
|
+
* @category Miniview
|
|
243
|
+
* @cssClass
|
|
244
|
+
* @context miniview
|
|
245
|
+
*/
|
|
246
|
+
export declare const CLASS_MINIVIEW = "vjs-miniview";
|
|
247
|
+
/**
|
|
248
|
+
* Assigned by the Miniview to the DOM element into which is renders vertices.
|
|
249
|
+
* @group Plugins
|
|
250
|
+
* @category Miniview
|
|
251
|
+
* @cssClass
|
|
252
|
+
* @context miniview
|
|
253
|
+
*/
|
|
254
|
+
export declare const CLASS_MINIVIEW_CANVAS = "vjs-miniview-canvas";
|
|
255
|
+
/**
|
|
256
|
+
* Assigned by the Miniview to the DOM element that provides the visual cue showing the user how the viewport of the
|
|
257
|
+
* miniview relates to the entire dataset, and which the user can drag to pan.
|
|
258
|
+
* @group Plugins
|
|
259
|
+
* @category Miniview
|
|
260
|
+
* @cssClass
|
|
261
|
+
* @context miniview
|
|
262
|
+
*/
|
|
263
|
+
export declare const CLASS_MINIVIEW_PANNER = "vjs-miniview-panner";
|
|
264
|
+
/**
|
|
265
|
+
* Assigned by the Miniview to a DOM element representing a node.
|
|
266
|
+
* @group Plugins
|
|
267
|
+
* @category Miniview
|
|
268
|
+
* @cssClass
|
|
269
|
+
* @context miniview
|
|
270
|
+
*/
|
|
271
|
+
export declare const CLASS_MINIVIEW_ELEMENT = "vjs-miniview-element";
|
|
272
|
+
/**
|
|
273
|
+
* Assigned by the Miniview to a DOM element representing a group.
|
|
274
|
+
* @group Plugins
|
|
275
|
+
* @category Miniview
|
|
276
|
+
* @cssClass
|
|
277
|
+
* @context miniview
|
|
278
|
+
*/
|
|
279
|
+
export declare const CLASS_MINIVIEW_GROUP_ELEMENT = "vjs-miniview-group-element";
|
|
280
|
+
/**
|
|
281
|
+
* Assigned by the Miniview to its canvas when the user is panning it.
|
|
282
|
+
* @group Plugins
|
|
283
|
+
* @category Miniview
|
|
284
|
+
* @cssClass
|
|
285
|
+
*/
|
|
286
|
+
export declare const CLASS_MINIVIEW_PANNING = "vjs-miniview-panning";
|
|
287
|
+
/**
|
|
288
|
+
* Assigned by the Miniview to the collapse button.
|
|
289
|
+
* @group Plugins
|
|
290
|
+
* @category Miniview
|
|
291
|
+
* @cssClass
|
|
292
|
+
* @context miniview
|
|
293
|
+
*/
|
|
294
|
+
export declare const CLASS_MINIVIEW_COLLAPSE = "vjs-miniview-collapse";
|
|
295
|
+
/**
|
|
296
|
+
* Assigned by the Miniview to its container DOM element when it has been collapsed.
|
|
297
|
+
* @group Plugins
|
|
298
|
+
* @category Miniview
|
|
299
|
+
* @cssClass
|
|
300
|
+
* @context miniview
|
|
301
|
+
*/
|
|
302
|
+
export declare const CLASS_MINIVIEW_COLLAPSED = "vjs-miniview-collapsed";
|
|
303
|
+
/**
|
|
304
|
+
* Assigned by the Miniview to its container DOM element when 'clickToCenter' mode is switched on.
|
|
305
|
+
* @group Plugins
|
|
306
|
+
* @category Miniview
|
|
307
|
+
* @cssClass
|
|
308
|
+
* @context miniview
|
|
309
|
+
*/
|
|
310
|
+
export declare const CLASS_MINIVIEW_CLICK_TO_CENTER = "vjs-miniview-click-to-center";
|
|
311
|
+
/**
|
|
312
|
+
* Assigned by the Surface to the document body while the user is dragging a vertex or edge. See visuallyjs.css for the specific rules.
|
|
313
|
+
* @group Components
|
|
314
|
+
* @category Surface
|
|
315
|
+
* @cssClass
|
|
316
|
+
* @context surface
|
|
317
|
+
*/
|
|
318
|
+
export declare const CLASS_SELECT_DEFEAT = "vjs-drag-select-defeat";
|
|
319
|
+
/**
|
|
320
|
+
* Assigned to a node that was rendered by the default renderer, ie. there was no mapping the view to a template/component.
|
|
321
|
+
* @group Components
|
|
322
|
+
* @category Surface
|
|
323
|
+
* @cssClass
|
|
324
|
+
* @context surface
|
|
325
|
+
*/
|
|
326
|
+
export declare const CLASS_DEFAULT_NODE = "vjs-default-node";
|
|
327
|
+
/**
|
|
328
|
+
* Assigned to a group that was rendered by the default renderer, ie. there was no mapping the view to a template/component.
|
|
329
|
+
* @group Components
|
|
330
|
+
* @category Surface
|
|
331
|
+
* @cssClass
|
|
332
|
+
* @context surface
|
|
333
|
+
*/
|
|
334
|
+
export declare const CLASS_DEFAULT_GROUP = "vjs-default-group";
|
|
335
|
+
/**
|
|
336
|
+
* The class assigned to the SVG element with which a user can drag to reposition the source of some edge.
|
|
337
|
+
* @group Components
|
|
338
|
+
* @category Surface
|
|
339
|
+
* @cssClass
|
|
340
|
+
* @context edge-dragging
|
|
341
|
+
*/
|
|
342
|
+
export declare const CLASS_CONNECTOR_SOURCE_DRAG = "vjs-connector-source-drag";
|
|
343
|
+
/**
|
|
344
|
+
* The class assigned to the SVG element with which a user can drag to reposition the target of some edge.
|
|
345
|
+
* @group Components
|
|
346
|
+
* @category Surface
|
|
347
|
+
* @cssClass
|
|
348
|
+
* @context edge-dragging
|
|
349
|
+
*/
|
|
350
|
+
export declare const CLASS_CONNECTOR_TARGET_DRAG = "vjs-connector-target-drag";
|
|
351
|
+
/**
|
|
352
|
+
* Assigned to the temporary DOM element used when relocating an existing edge via the mouse/touch events.
|
|
353
|
+
* @group Components
|
|
354
|
+
* @category Surface
|
|
355
|
+
* @cssClass
|
|
356
|
+
* @context edge-dragging
|
|
357
|
+
*/
|
|
358
|
+
export declare const CLASS_CONNECTOR_TRANSIENT_DRAG = "vjs-connector-transient-drag";
|
|
359
|
+
/**
|
|
360
|
+
* Assigned to the currently selected element in a palette when in tap/draw mode.
|
|
361
|
+
* @group Components
|
|
362
|
+
* @category Palette
|
|
363
|
+
* @cssClass
|
|
364
|
+
* @context palette
|
|
365
|
+
*/
|
|
366
|
+
export declare const CLASS_PALETTE_SELECTED_ELEMENT = "vjs-palette-selected-element";
|
|
367
|
+
/**
|
|
368
|
+
* Assigned to the surface canvas when a user has tapped an element in a palette in tap mode. this class can be used to show the user that a vertex can be dropped via click or drawn on the canvas
|
|
369
|
+
* @cssClass
|
|
370
|
+
* @context palette
|
|
371
|
+
*/
|
|
372
|
+
export declare const CLASS_PALETTE_TAP_MODE_ACTIVE = "vjs-palette-tap-mode-active";
|
|
373
|
+
/**
|
|
374
|
+
* Assigned to an element when it is being dragged from a palette
|
|
375
|
+
* @cssClass
|
|
376
|
+
* @context palette
|
|
377
|
+
*/
|
|
378
|
+
export declare const CLASS_PALETTE_ELEMENT_CURRENT = "vjs-palette-current";
|
|
379
|
+
/**
|
|
380
|
+
* Assigned to a shape in a ShapePalette that matches the type of the model's currently selected shape.
|
|
381
|
+
* @cssClass
|
|
382
|
+
* @context palette
|
|
383
|
+
*/
|
|
384
|
+
export declare const CLASS_PALETTE_CURRENT_SHAPE_TYPE = "vjs-palette-current-shape-type";
|
|
385
|
+
/**
|
|
386
|
+
* Assigned to all elements that could be the target for some element that is being dragged from a palette
|
|
387
|
+
* @cssClass
|
|
388
|
+
* @context palette
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* Assigned to the current drop target for some element that is being dragged from a palette. This may be the surface's canvas itself, or it may be a group.
|
|
392
|
+
* @cssClass
|
|
393
|
+
* @context palette
|
|
394
|
+
*/
|
|
395
|
+
/**
|
|
396
|
+
* Assigned to a vertex or the canvas when an element (either from the palette or having been dragged on the canvas) is hovering over it but drop is not allowed.
|
|
397
|
+
* @cssClass
|
|
398
|
+
* @context element-dragging,palette,nodes-and-groups
|
|
399
|
+
*/
|
|
400
|
+
export declare const CLASS_DRAG_HOVER_CANNOT_DROP = "vjs-drag-hover-cannot-drop";
|
|
401
|
+
/**
|
|
402
|
+
* Assigned to a group element when one of its children is being dragged. This can be useful to help manage z-index: we recommend using this class to set a z-index for the drag parent group above that of the other groups, which will ensure that the element you are dragging will appear on top of other groups.
|
|
403
|
+
* @cssClass
|
|
404
|
+
* @context element-dragging
|
|
405
|
+
*/
|
|
406
|
+
export declare const CLASS_DRAG_ORIGINAL_GROUP = "vjs-drag-original-group";
|
|
407
|
+
/**
|
|
408
|
+
* Assigned to any element that is a candidate drop target for an edge that is being dragged
|
|
409
|
+
* @cssClass
|
|
410
|
+
* @context element-dragging,palette,nodes-and-groups
|
|
411
|
+
*/
|
|
412
|
+
export declare const CLASS_DRAG_ACTIVE = "vjs-drag-active";
|
|
413
|
+
/**
|
|
414
|
+
* Assigned to any element that is the current drop target for an edge that is being dragged
|
|
415
|
+
* @cssClass
|
|
416
|
+
* @context element-dragging,palette,nodes-and-groups
|
|
417
|
+
*/
|
|
418
|
+
export declare const CLASS_DRAG_HOVER = "vjs-drag-hover";
|
|
419
|
+
/**
|
|
420
|
+
* Assigned to the source element of an edge when the mouse is hovering over the edge
|
|
421
|
+
* @cssClass
|
|
422
|
+
* @context edges, nodes-and-groups
|
|
423
|
+
*/
|
|
424
|
+
export declare const CLASS_SOURCE_HOVER = "vjs-source-hover";
|
|
425
|
+
/**
|
|
426
|
+
* Assigned to the target element of an edge when the mouse is hovering over the edge
|
|
427
|
+
* @cssClass
|
|
428
|
+
* @context edges, nodes-and-groups
|
|
429
|
+
*/
|
|
430
|
+
export declare const CLASS_TARGET_HOVER = "vjs-target-hover";
|
|
431
|
+
/**
|
|
432
|
+
* Assigned to the element representing an overlay when the mouse is hovering over the associated edge, and to the edge's connector element.
|
|
433
|
+
* @cssClass
|
|
434
|
+
* @context edges, overlays
|
|
435
|
+
*/
|
|
436
|
+
export declare const CLASS_HOVER = "vjs-hover";
|