@angflow/angular 0.0.12 → 0.0.14
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 +14 -4
- package/dist/base.css +417 -411
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.d.ts +4 -0
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.d.ts.map +1 -1
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js +24 -20
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js.map +1 -1
- package/dist/esm/lib/components/attribution/attribution.component.d.ts +4 -0
- package/dist/esm/lib/components/attribution/attribution.component.d.ts.map +1 -1
- package/dist/esm/lib/components/attribution/attribution.component.js +22 -18
- package/dist/esm/lib/components/attribution/attribution.component.js.map +1 -1
- package/dist/esm/lib/components/background/background.component.d.ts +20 -0
- package/dist/esm/lib/components/background/background.component.d.ts.map +1 -1
- package/dist/esm/lib/components/background/background.component.js +159 -140
- package/dist/esm/lib/components/background/background.component.js.map +1 -1
- package/dist/esm/lib/components/connection-line/connection-line.component.d.ts +7 -0
- package/dist/esm/lib/components/connection-line/connection-line.component.d.ts.map +1 -1
- package/dist/esm/lib/components/connection-line/connection-line.component.js +7 -0
- package/dist/esm/lib/components/connection-line/connection-line.component.js.map +1 -1
- package/dist/esm/lib/components/controls/controls.component.d.ts +21 -0
- package/dist/esm/lib/components/controls/controls.component.d.ts.map +1 -1
- package/dist/esm/lib/components/controls/controls.component.js +21 -1
- package/dist/esm/lib/components/controls/controls.component.js.map +1 -1
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.d.ts +4 -0
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js +4 -0
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js.map +1 -1
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.d.ts +12 -0
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js +12 -0
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js.map +1 -1
- package/dist/esm/lib/components/edges/base-edge.component.d.ts +23 -0
- package/dist/esm/lib/components/edges/base-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/base-edge.component.js +63 -40
- package/dist/esm/lib/components/edges/base-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/bezier-edge.component.d.ts +4 -0
- package/dist/esm/lib/components/edges/bezier-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/bezier-edge.component.js +4 -0
- package/dist/esm/lib/components/edges/bezier-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/edge-text.component.d.ts +4 -0
- package/dist/esm/lib/components/edges/edge-text.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/edge-text.component.js +30 -26
- package/dist/esm/lib/components/edges/edge-text.component.js.map +1 -1
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.d.ts +4 -0
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.js +4 -0
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/smooth-step-edge.component.d.ts +1 -0
- package/dist/esm/lib/components/edges/smooth-step-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/smooth-step-edge.component.js +1 -0
- package/dist/esm/lib/components/edges/smooth-step-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/step-edge.component.d.ts +1 -0
- package/dist/esm/lib/components/edges/step-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/step-edge.component.js +1 -0
- package/dist/esm/lib/components/edges/step-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/straight-edge.component.d.ts +1 -0
- package/dist/esm/lib/components/edges/straight-edge.component.d.ts.map +1 -1
- package/dist/esm/lib/components/edges/straight-edge.component.js +1 -0
- package/dist/esm/lib/components/edges/straight-edge.component.js.map +1 -1
- package/dist/esm/lib/components/handle/handle.component.d.ts +20 -1
- package/dist/esm/lib/components/handle/handle.component.d.ts.map +1 -1
- package/dist/esm/lib/components/handle/handle.component.js +25 -2
- package/dist/esm/lib/components/handle/handle.component.js.map +1 -1
- package/dist/esm/lib/components/minimap/minimap.component.d.ts +34 -0
- package/dist/esm/lib/components/minimap/minimap.component.d.ts.map +1 -1
- package/dist/esm/lib/components/minimap/minimap.component.js +30 -4
- package/dist/esm/lib/components/minimap/minimap.component.js.map +1 -1
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.d.ts +14 -0
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.d.ts.map +1 -1
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js +14 -0
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js.map +1 -1
- package/dist/esm/lib/components/node-resizer/node-resizer.component.d.ts +29 -0
- package/dist/esm/lib/components/node-resizer/node-resizer.component.d.ts.map +1 -1
- package/dist/esm/lib/components/node-resizer/node-resizer.component.js +153 -124
- package/dist/esm/lib/components/node-resizer/node-resizer.component.js.map +1 -1
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.d.ts +21 -1
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.d.ts.map +1 -1
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js +21 -1
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/default-node.component.d.ts +4 -0
- package/dist/esm/lib/components/nodes/default-node.component.d.ts.map +1 -1
- package/dist/esm/lib/components/nodes/default-node.component.js +13 -9
- package/dist/esm/lib/components/nodes/default-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/group-node.component.d.ts +5 -0
- package/dist/esm/lib/components/nodes/group-node.component.d.ts.map +1 -1
- package/dist/esm/lib/components/nodes/group-node.component.js +5 -0
- package/dist/esm/lib/components/nodes/group-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/input-node.component.d.ts +4 -0
- package/dist/esm/lib/components/nodes/input-node.component.d.ts.map +1 -1
- package/dist/esm/lib/components/nodes/input-node.component.js +11 -7
- package/dist/esm/lib/components/nodes/input-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/output-node.component.d.ts +4 -0
- package/dist/esm/lib/components/nodes/output-node.component.d.ts.map +1 -1
- package/dist/esm/lib/components/nodes/output-node.component.js +11 -7
- package/dist/esm/lib/components/nodes/output-node.component.js.map +1 -1
- package/dist/esm/lib/components/panel/panel.component.d.ts +12 -0
- package/dist/esm/lib/components/panel/panel.component.d.ts.map +1 -1
- package/dist/esm/lib/components/panel/panel.component.js +12 -0
- package/dist/esm/lib/components/panel/panel.component.js.map +1 -1
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.d.ts +5 -0
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.d.ts.map +1 -1
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js +5 -0
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js.map +1 -1
- package/dist/esm/lib/container/edge-renderer/edge-renderer.component.d.ts.map +1 -1
- package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js +35 -3
- package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js.map +1 -1
- package/dist/esm/lib/container/ng-flow/ng-flow.component.d.ts +154 -1
- package/dist/esm/lib/container/ng-flow/ng-flow.component.d.ts.map +1 -1
- package/dist/esm/lib/container/ng-flow/ng-flow.component.js +162 -23
- package/dist/esm/lib/container/ng-flow/ng-flow.component.js.map +1 -1
- package/dist/esm/lib/container/node-renderer/node-renderer.component.d.ts +3 -1
- package/dist/esm/lib/container/node-renderer/node-renderer.component.d.ts.map +1 -1
- package/dist/esm/lib/container/node-renderer/node-renderer.component.js +50 -8
- package/dist/esm/lib/container/node-renderer/node-renderer.component.js.map +1 -1
- package/dist/esm/lib/container/pane/pane.component.d.ts +0 -1
- package/dist/esm/lib/container/pane/pane.component.d.ts.map +1 -1
- package/dist/esm/lib/container/pane/pane.component.js +18 -25
- package/dist/esm/lib/container/pane/pane.component.js.map +1 -1
- package/dist/esm/lib/container/viewport/viewport.component.d.ts +4 -0
- package/dist/esm/lib/container/viewport/viewport.component.d.ts.map +1 -1
- package/dist/esm/lib/container/viewport/viewport.component.js +4 -0
- package/dist/esm/lib/container/viewport/viewport.component.js.map +1 -1
- package/dist/esm/lib/directives/drag.directive.d.ts +17 -0
- package/dist/esm/lib/directives/drag.directive.d.ts.map +1 -1
- package/dist/esm/lib/directives/drag.directive.js +17 -0
- package/dist/esm/lib/directives/drag.directive.js.map +1 -1
- package/dist/esm/lib/directives/key-handler.directive.d.ts +13 -0
- package/dist/esm/lib/directives/key-handler.directive.d.ts.map +1 -1
- package/dist/esm/lib/directives/key-handler.directive.js +13 -0
- package/dist/esm/lib/directives/key-handler.directive.js.map +1 -1
- package/dist/esm/lib/public-api.d.ts +1 -0
- package/dist/esm/lib/public-api.d.ts.map +1 -1
- package/dist/esm/lib/public-api.js +2 -0
- package/dist/esm/lib/public-api.js.map +1 -1
- package/dist/esm/lib/services/flow-store.service.d.ts +3 -0
- package/dist/esm/lib/services/flow-store.service.d.ts.map +1 -1
- package/dist/esm/lib/services/flow-store.service.js +3 -0
- package/dist/esm/lib/services/flow-store.service.js.map +1 -1
- package/dist/esm/lib/services/ng-flow.service.d.ts +82 -0
- package/dist/esm/lib/services/ng-flow.service.d.ts.map +1 -1
- package/dist/esm/lib/services/ng-flow.service.js +82 -0
- package/dist/esm/lib/services/ng-flow.service.js.map +1 -1
- package/dist/esm/lib/services/tokens.d.ts +23 -0
- package/dist/esm/lib/services/tokens.d.ts.map +1 -1
- package/dist/esm/lib/services/tokens.js +22 -0
- package/dist/esm/lib/services/tokens.js.map +1 -1
- package/dist/esm/lib/types/nodes.d.ts +36 -2
- package/dist/esm/lib/types/nodes.d.ts.map +1 -1
- package/dist/esm/lib/utils/changes.d.ts +20 -0
- package/dist/esm/lib/utils/changes.d.ts.map +1 -1
- package/dist/esm/lib/utils/changes.js +20 -0
- package/dist/esm/lib/utils/changes.js.map +1 -1
- package/dist/esm/lib/utils/index.d.ts +1 -0
- package/dist/esm/lib/utils/index.d.ts.map +1 -1
- package/dist/esm/lib/utils/index.js +1 -0
- package/dist/esm/lib/utils/index.js.map +1 -1
- package/dist/esm/lib/utils/inject-ng-flow-node.d.ts +20 -0
- package/dist/esm/lib/utils/inject-ng-flow-node.d.ts.map +1 -0
- package/dist/esm/lib/utils/inject-ng-flow-node.js +28 -0
- package/dist/esm/lib/utils/inject-ng-flow-node.js.map +1 -0
- package/dist/style.css +417 -411
- package/package.json +6 -6
package/dist/base.css
CHANGED
|
@@ -422,6 +422,7 @@ svg.xy-flow__connectionline {
|
|
|
422
422
|
height: 100%;
|
|
423
423
|
left: 0;
|
|
424
424
|
top: 0;
|
|
425
|
+
transform-origin: 0 0;
|
|
425
426
|
user-select: none;
|
|
426
427
|
}
|
|
427
428
|
.xy-flow__minimap {
|
|
@@ -716,489 +717,494 @@ svg.xy-flow__connectionline {
|
|
|
716
717
|
|
|
717
718
|
|
|
718
719
|
|
|
719
|
-
/*
|
|
720
|
-
* @angflow/angular — Complete stylesheet
|
|
721
|
-
*
|
|
722
|
-
* Import this once in your app's global styles:
|
|
723
|
-
* @import '@angflow/angular/styles/ng-flow.css';
|
|
724
|
-
*
|
|
725
|
-
* Or in angular.json:
|
|
726
|
-
* "styles": ["node_modules/@angflow/angular/styles/ng-flow.css"]
|
|
727
|
-
*/
|
|
728
|
-
|
|
729
|
-
/* ── CSS Custom Properties (theme defaults) ─────────────────────── */
|
|
730
|
-
.xy-flow {
|
|
731
|
-
direction: ltr;
|
|
732
|
-
|
|
733
|
-
/* Edges */
|
|
734
|
-
--xy-edge-stroke-default: #999;
|
|
735
|
-
--xy-edge-stroke-width-default: 1.5;
|
|
736
|
-
--xy-edge-stroke-selected-default: #555;
|
|
737
|
-
|
|
738
|
-
/* Connection line */
|
|
739
|
-
--xy-connectionline-stroke-default: #555;
|
|
740
|
-
--xy-connectionline-stroke-width-default: 2;
|
|
741
|
-
|
|
742
|
-
/* Attribution */
|
|
743
|
-
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
|
|
744
|
-
|
|
745
|
-
/* Minimap */
|
|
746
|
-
--xy-minimap-background-color-default: #fff;
|
|
747
|
-
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
|
|
748
|
-
--xy-minimap-mask-stroke-color-default: transparent;
|
|
749
|
-
--xy-minimap-mask-stroke-width-default: 1;
|
|
750
|
-
--xy-minimap-node-background-color-default: #e2e2e2;
|
|
751
|
-
--xy-minimap-node-stroke-color-default: transparent;
|
|
752
|
-
--xy-minimap-node-stroke-width-default: 2;
|
|
753
|
-
|
|
754
|
-
/* Background */
|
|
755
|
-
--xy-background-color-default: #fafafa;
|
|
756
|
-
--xy-background-pattern-dots-color-default: #91919a;
|
|
757
|
-
--xy-background-pattern-lines-color-default: #eee;
|
|
758
|
-
--xy-background-pattern-cross-color-default: #e2e2e2;
|
|
759
|
-
|
|
760
|
-
/* Nodes */
|
|
761
|
-
--xy-node-color-default: inherit;
|
|
762
|
-
--xy-node-border-default: 1px solid #1a192b;
|
|
763
|
-
--xy-node-background-color-default: #fff;
|
|
764
|
-
--xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
|
|
765
|
-
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
|
|
766
|
-
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b;
|
|
767
|
-
--xy-node-border-radius-default: 3px;
|
|
768
|
-
|
|
769
|
-
/* Handles */
|
|
770
|
-
--xy-handle-background-color-default: #1a192b;
|
|
771
|
-
--xy-handle-border-color-default: #fff;
|
|
772
|
-
|
|
773
|
-
/* Selection */
|
|
774
|
-
--xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
|
|
775
|
-
--xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);
|
|
776
|
-
|
|
777
|
-
/* Controls */
|
|
778
|
-
--xy-controls-button-background-color-default: #fefefe;
|
|
779
|
-
--xy-controls-button-background-color-hover-default: #f4f4f4;
|
|
780
|
-
--xy-controls-button-color-default: inherit;
|
|
781
|
-
--xy-controls-button-border-color-default: #eee;
|
|
782
|
-
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);
|
|
783
|
-
|
|
784
|
-
/* Edge labels */
|
|
785
|
-
--xy-edge-label-background-color-default: #ffffff;
|
|
786
|
-
--xy-edge-label-color-default: inherit;
|
|
787
|
-
|
|
788
|
-
background-color: var(--xy-background-color, var(--xy-background-color-default));
|
|
720
|
+
/*
|
|
721
|
+
* @angflow/angular — Complete stylesheet
|
|
722
|
+
*
|
|
723
|
+
* Import this once in your app's global styles:
|
|
724
|
+
* @import '@angflow/angular/styles/ng-flow.css';
|
|
725
|
+
*
|
|
726
|
+
* Or in angular.json:
|
|
727
|
+
* "styles": ["node_modules/@angflow/angular/styles/ng-flow.css"]
|
|
728
|
+
*/
|
|
729
|
+
|
|
730
|
+
/* ── CSS Custom Properties (theme defaults) ─────────────────────── */
|
|
731
|
+
.xy-flow {
|
|
732
|
+
direction: ltr;
|
|
733
|
+
|
|
734
|
+
/* Edges */
|
|
735
|
+
--xy-edge-stroke-default: #999;
|
|
736
|
+
--xy-edge-stroke-width-default: 1.5;
|
|
737
|
+
--xy-edge-stroke-selected-default: #555;
|
|
738
|
+
|
|
739
|
+
/* Connection line */
|
|
740
|
+
--xy-connectionline-stroke-default: #555;
|
|
741
|
+
--xy-connectionline-stroke-width-default: 2;
|
|
742
|
+
|
|
743
|
+
/* Attribution */
|
|
744
|
+
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
|
|
745
|
+
|
|
746
|
+
/* Minimap */
|
|
747
|
+
--xy-minimap-background-color-default: #fff;
|
|
748
|
+
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
|
|
749
|
+
--xy-minimap-mask-stroke-color-default: transparent;
|
|
750
|
+
--xy-minimap-mask-stroke-width-default: 1;
|
|
751
|
+
--xy-minimap-node-background-color-default: #e2e2e2;
|
|
752
|
+
--xy-minimap-node-stroke-color-default: transparent;
|
|
753
|
+
--xy-minimap-node-stroke-width-default: 2;
|
|
754
|
+
|
|
755
|
+
/* Background */
|
|
756
|
+
--xy-background-color-default: #fafafa;
|
|
757
|
+
--xy-background-pattern-dots-color-default: #91919a;
|
|
758
|
+
--xy-background-pattern-lines-color-default: #eee;
|
|
759
|
+
--xy-background-pattern-cross-color-default: #e2e2e2;
|
|
760
|
+
|
|
761
|
+
/* Nodes */
|
|
762
|
+
--xy-node-color-default: inherit;
|
|
763
|
+
--xy-node-border-default: 1px solid #1a192b;
|
|
764
|
+
--xy-node-background-color-default: #fff;
|
|
765
|
+
--xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
|
|
766
|
+
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
|
|
767
|
+
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b;
|
|
768
|
+
--xy-node-border-radius-default: 3px;
|
|
769
|
+
|
|
770
|
+
/* Handles */
|
|
771
|
+
--xy-handle-background-color-default: #1a192b;
|
|
772
|
+
--xy-handle-border-color-default: #fff;
|
|
773
|
+
|
|
774
|
+
/* Selection */
|
|
775
|
+
--xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
|
|
776
|
+
--xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);
|
|
777
|
+
|
|
778
|
+
/* Controls */
|
|
779
|
+
--xy-controls-button-background-color-default: #fefefe;
|
|
780
|
+
--xy-controls-button-background-color-hover-default: #f4f4f4;
|
|
781
|
+
--xy-controls-button-color-default: inherit;
|
|
782
|
+
--xy-controls-button-border-color-default: #eee;
|
|
783
|
+
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);
|
|
784
|
+
|
|
785
|
+
/* Edge labels */
|
|
786
|
+
--xy-edge-label-background-color-default: #ffffff;
|
|
787
|
+
--xy-edge-label-color-default: inherit;
|
|
788
|
+
|
|
789
|
+
background-color: var(--xy-background-color, var(--xy-background-color-default));
|
|
789
790
|
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
/* Dark mode */
|
|
793
|
-
.xy-flow.dark {
|
|
794
|
-
--xy-edge-stroke-default: #3e3e3e;
|
|
795
|
-
--xy-edge-stroke-selected-default: #727272;
|
|
796
|
-
--xy-node-color-default: #f8f8f8;
|
|
797
|
-
--xy-node-border-default: 1px solid #3c3c3c;
|
|
798
|
-
--xy-node-background-color-default: #1e1e1e;
|
|
799
|
-
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08);
|
|
800
|
-
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #999;
|
|
801
|
-
--xy-handle-background-color-default: #bebebe;
|
|
802
|
-
--xy-handle-border-color-default: #1e1e1e;
|
|
803
|
-
--xy-background-color-default: #141414;
|
|
804
|
-
--xy-background-pattern-dots-color-default: #777;
|
|
805
|
-
--xy-background-pattern-lines-color-default: #777;
|
|
806
|
-
--xy-background-pattern-cross-color-default: #777;
|
|
807
|
-
--xy-minimap-background-color-default: #141414;
|
|
808
|
-
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
|
|
809
|
-
--xy-minimap-node-background-color-default: #2b2b2b;
|
|
810
|
-
--xy-controls-button-background-color-default: #2b2b2b;
|
|
811
|
-
--xy-controls-button-background-color-hover-default: #3e3e3e;
|
|
812
|
-
--xy-controls-button-color-default: #f8f8f8;
|
|
813
|
-
--xy-controls-button-border-color-default: #5b5b5b;
|
|
814
|
-
--xy-edge-label-background-color-default: #141414;
|
|
815
|
-
--xy-edge-label-color-default: #f8f8f8;
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
/* Dark mode */
|
|
794
|
+
.xy-flow.dark {
|
|
795
|
+
--xy-edge-stroke-default: #3e3e3e;
|
|
796
|
+
--xy-edge-stroke-selected-default: #727272;
|
|
797
|
+
--xy-node-color-default: #f8f8f8;
|
|
798
|
+
--xy-node-border-default: 1px solid #3c3c3c;
|
|
799
|
+
--xy-node-background-color-default: #1e1e1e;
|
|
800
|
+
--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08);
|
|
801
|
+
--xy-node-boxshadow-selected-default: 0 0 0 0.5px #999;
|
|
802
|
+
--xy-handle-background-color-default: #bebebe;
|
|
803
|
+
--xy-handle-border-color-default: #1e1e1e;
|
|
804
|
+
--xy-background-color-default: #141414;
|
|
805
|
+
--xy-background-pattern-dots-color-default: #777;
|
|
806
|
+
--xy-background-pattern-lines-color-default: #777;
|
|
807
|
+
--xy-background-pattern-cross-color-default: #777;
|
|
808
|
+
--xy-minimap-background-color-default: #141414;
|
|
809
|
+
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
|
|
810
|
+
--xy-minimap-node-background-color-default: #2b2b2b;
|
|
811
|
+
--xy-controls-button-background-color-default: #2b2b2b;
|
|
812
|
+
--xy-controls-button-background-color-hover-default: #3e3e3e;
|
|
813
|
+
--xy-controls-button-color-default: #f8f8f8;
|
|
814
|
+
--xy-controls-button-border-color-default: #5b5b5b;
|
|
815
|
+
--xy-edge-label-background-color-default: #141414;
|
|
816
|
+
--xy-edge-label-color-default: #f8f8f8;
|
|
816
817
|
}
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
/* ── Layout ─────────────────────────────────────────────────────── */
|
|
820
|
-
.xy-flow__container {
|
|
821
|
-
position: absolute;
|
|
822
|
-
width: 100%;
|
|
823
|
-
height: 100%;
|
|
824
|
-
top: 0;
|
|
825
|
-
left: 0;
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
/* ── Layout ─────────────────────────────────────────────────────── */
|
|
821
|
+
.xy-flow__container {
|
|
822
|
+
position: absolute;
|
|
823
|
+
width: 100%;
|
|
824
|
+
height: 100%;
|
|
825
|
+
top: 0;
|
|
826
|
+
left: 0;
|
|
826
827
|
}
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
.xy-flow__pane {
|
|
830
|
-
z-index: 1;
|
|
831
|
-
cursor: default;
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
.xy-flow__pane {
|
|
831
|
+
z-index: 1;
|
|
832
|
+
cursor: default;
|
|
832
833
|
}
|
|
833
|
-
|
|
834
|
+
|
|
834
835
|
.xy-flow__pane.selection { cursor: pointer; }
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
.xy-flow__viewport {
|
|
838
|
-
transform-origin: 0 0;
|
|
839
|
-
z-index: 2;
|
|
840
|
-
pointer-events: none;
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
.xy-flow__viewport {
|
|
839
|
+
transform-origin: 0 0;
|
|
840
|
+
z-index: 2;
|
|
841
|
+
pointer-events: none;
|
|
841
842
|
}
|
|
842
|
-
|
|
843
|
-
|
|
843
|
+
|
|
844
|
+
|
|
844
845
|
.xy-flow__renderer { z-index: 4; }
|
|
845
|
-
|
|
846
|
+
|
|
846
847
|
.xy-flow__selection { z-index: 6; }
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
/* ── Edges ──────────────────────────────────────────────────────── */
|
|
850
|
-
.xy-flow__edge-path {
|
|
851
|
-
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
852
|
-
stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
|
|
853
|
-
fill: none;
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
/* ── Edges ──────────────────────────────────────────────────────── */
|
|
851
|
+
.xy-flow__edge-path {
|
|
852
|
+
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
853
|
+
stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
|
|
854
|
+
fill: none;
|
|
854
855
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
.xy-flow__connection-path {
|
|
858
|
-
stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
|
|
859
|
-
stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
|
|
860
|
-
fill: none;
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
.xy-flow__connection-path {
|
|
859
|
+
stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
|
|
860
|
+
stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
|
|
861
|
+
fill: none;
|
|
861
862
|
}
|
|
862
|
-
|
|
863
|
-
|
|
863
|
+
|
|
864
|
+
|
|
864
865
|
.xy-flow .xy-flow__edges { position: absolute; }
|
|
865
|
-
|
|
866
|
-
.xy-flow .xy-flow__edges svg {
|
|
867
|
-
overflow: visible;
|
|
868
|
-
position: absolute;
|
|
869
|
-
pointer-events: none;
|
|
866
|
+
|
|
867
|
+
.xy-flow .xy-flow__edges svg {
|
|
868
|
+
overflow: visible;
|
|
869
|
+
position: absolute;
|
|
870
|
+
pointer-events: none;
|
|
870
871
|
}
|
|
871
|
-
|
|
872
|
-
|
|
872
|
+
|
|
873
|
+
|
|
873
874
|
.xy-flow__edge { pointer-events: visibleStroke; }
|
|
874
|
-
|
|
875
|
+
|
|
875
876
|
.xy-flow__edge.selectable { cursor: pointer; }
|
|
876
|
-
|
|
877
|
-
.xy-flow__edge.animated path {
|
|
878
|
-
stroke-dasharray: 5;
|
|
879
|
-
animation: xy-flow-dashdraw 0.5s linear infinite;
|
|
877
|
+
|
|
878
|
+
.xy-flow__edge.animated path {
|
|
879
|
+
stroke-dasharray: 5;
|
|
880
|
+
animation: xy-flow-dashdraw 0.5s linear infinite;
|
|
880
881
|
}
|
|
881
|
-
|
|
882
|
-
.xy-flow__edge.animated path.xy-flow__edge-interaction {
|
|
883
|
-
stroke-dasharray: none;
|
|
884
|
-
animation: none;
|
|
882
|
+
|
|
883
|
+
.xy-flow__edge.animated path.xy-flow__edge-interaction {
|
|
884
|
+
stroke-dasharray: none;
|
|
885
|
+
animation: none;
|
|
885
886
|
}
|
|
886
|
-
|
|
887
|
-
.xy-flow__edge.selected .xy-flow__edge-path,
|
|
888
|
-
.xy-flow__edge.selectable:focus .xy-flow__edge-path,
|
|
889
|
-
.xy-flow__edge.selectable:focus-visible .xy-flow__edge-path {
|
|
890
|
-
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
|
887
|
+
|
|
888
|
+
.xy-flow__edge.selected .xy-flow__edge-path,
|
|
889
|
+
.xy-flow__edge.selectable:focus .xy-flow__edge-path,
|
|
890
|
+
.xy-flow__edge.selectable:focus-visible .xy-flow__edge-path {
|
|
891
|
+
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
|
891
892
|
}
|
|
892
|
-
|
|
893
|
-
|
|
893
|
+
|
|
894
|
+
|
|
894
895
|
.xy-flow__edge-textwrapper { pointer-events: all; }
|
|
895
|
-
|
|
896
|
+
|
|
896
897
|
.xy-flow__edge-text { pointer-events: none; user-select: none; }
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
.xy-flow__arrowhead polyline {
|
|
900
|
-
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
.xy-flow__arrowhead polyline {
|
|
901
|
+
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
901
902
|
}
|
|
902
|
-
|
|
903
|
-
.xy-flow__arrowhead polyline.arrowclosed {
|
|
904
|
-
fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
903
|
+
|
|
904
|
+
.xy-flow__arrowhead polyline.arrowclosed {
|
|
905
|
+
fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
905
906
|
}
|
|
906
|
-
|
|
907
|
-
|
|
907
|
+
|
|
908
|
+
|
|
908
909
|
.xy-flow__connection { pointer-events: none; }
|
|
909
|
-
|
|
910
|
-
svg.xy-flow__connectionline {
|
|
911
|
-
z-index: 1001;
|
|
912
|
-
overflow: visible;
|
|
913
|
-
position: absolute;
|
|
910
|
+
|
|
911
|
+
svg.xy-flow__connectionline {
|
|
912
|
+
z-index: 1001;
|
|
913
|
+
overflow: visible;
|
|
914
|
+
position: absolute;
|
|
914
915
|
}
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
@keyframes xy-flow-dashdraw {
|
|
918
|
-
from { stroke-dashoffset: 10; }
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
@keyframes xy-flow-dashdraw {
|
|
919
|
+
from { stroke-dashoffset: 10; }
|
|
919
920
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
/* ── Nodes ──────────────────────────────────────────────────────── */
|
|
923
|
-
.xy-flow__nodes {
|
|
924
|
-
pointer-events: none;
|
|
925
|
-
transform-origin: 0 0;
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
/* ── Nodes ──────────────────────────────────────────────────────── */
|
|
924
|
+
.xy-flow__nodes {
|
|
925
|
+
pointer-events: none;
|
|
926
|
+
transform-origin: 0 0;
|
|
926
927
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
.xy-flow__node {
|
|
930
|
-
position: absolute;
|
|
931
|
-
user-select: none;
|
|
932
|
-
pointer-events: all;
|
|
933
|
-
transform-origin: 0 0;
|
|
934
|
-
box-sizing: border-box;
|
|
935
|
-
cursor: default;
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
.xy-flow__node {
|
|
931
|
+
position: absolute;
|
|
932
|
+
user-select: none;
|
|
933
|
+
pointer-events: all;
|
|
934
|
+
transform-origin: 0 0;
|
|
935
|
+
box-sizing: border-box;
|
|
936
|
+
cursor: default;
|
|
936
937
|
}
|
|
937
|
-
|
|
938
|
+
|
|
938
939
|
.xy-flow__node.selectable { cursor: pointer; }
|
|
939
|
-
|
|
940
|
-
.xy-flow__node.
|
|
941
|
-
|
|
940
|
+
|
|
941
|
+
.xy-flow__node.connection-target {
|
|
942
|
+
outline: 2px dashed var(--xy-connection-target-outline-color, #3b82f6);
|
|
943
|
+
outline-offset: 4px;
|
|
942
944
|
}
|
|
943
|
-
|
|
944
|
-
.xy-flow__node.selectable
|
|
945
|
-
|
|
946
|
-
.xy-flow__node.selectable:focus-visible {
|
|
947
|
-
box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
|
|
948
|
-
outline: none;
|
|
945
|
+
|
|
946
|
+
.xy-flow__node.selectable:hover {
|
|
947
|
+
box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
|
|
949
948
|
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
.xy-flow__node
|
|
953
|
-
.xy-flow__node-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
padding: 10px;
|
|
957
|
-
border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
|
|
958
|
-
width: 150px;
|
|
959
|
-
font-size: 12px;
|
|
960
|
-
color: var(--xy-node-color, var(--xy-node-color-default));
|
|
961
|
-
text-align: center;
|
|
962
|
-
border: var(--xy-node-border, var(--xy-node-border-default));
|
|
963
|
-
background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
|
|
949
|
+
|
|
950
|
+
.xy-flow__node.selectable.selected,
|
|
951
|
+
.xy-flow__node.selectable:focus,
|
|
952
|
+
.xy-flow__node.selectable:focus-visible {
|
|
953
|
+
box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
|
|
954
|
+
outline: none;
|
|
964
955
|
}
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
.xy-flow__node-
|
|
968
|
-
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
.xy-flow__node-input,
|
|
959
|
+
.xy-flow__node-default,
|
|
960
|
+
.xy-flow__node-output,
|
|
961
|
+
.xy-flow__node-group {
|
|
962
|
+
padding: 10px;
|
|
963
|
+
border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
|
|
964
|
+
width: 150px;
|
|
965
|
+
font-size: 12px;
|
|
966
|
+
color: var(--xy-node-color, var(--xy-node-color-default));
|
|
967
|
+
text-align: center;
|
|
968
|
+
border: var(--xy-node-border, var(--xy-node-border-default));
|
|
969
|
+
background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
|
|
969
970
|
}
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
.xy-
|
|
973
|
-
|
|
974
|
-
transform-origin: left top;
|
|
975
|
-
pointer-events: none;
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
.xy-flow__node-group {
|
|
974
|
+
background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
|
|
976
975
|
}
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
.xy-flow__nodesselection {
|
|
979
|
+
z-index: 3;
|
|
980
|
+
transform-origin: left top;
|
|
981
|
+
pointer-events: none;
|
|
982
982
|
}
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
pointer-events: none;
|
|
989
|
-
min-width: 5px;
|
|
990
|
-
min-height: 5px;
|
|
991
|
-
width: 8px;
|
|
992
|
-
height: 8px;
|
|
993
|
-
background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
|
|
994
|
-
border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
|
|
995
|
-
border-radius: 100%;
|
|
983
|
+
|
|
984
|
+
.xy-flow__nodesselection-rect {
|
|
985
|
+
position: absolute;
|
|
986
|
+
pointer-events: all;
|
|
987
|
+
cursor: grab;
|
|
996
988
|
}
|
|
997
|
-
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
/* ── Handles ────────────────────────────────────────────────────── */
|
|
992
|
+
.xy-flow__handle {
|
|
993
|
+
position: absolute;
|
|
994
|
+
pointer-events: none;
|
|
995
|
+
min-width: 5px;
|
|
996
|
+
min-height: 5px;
|
|
997
|
+
width: 8px;
|
|
998
|
+
height: 8px;
|
|
999
|
+
background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
|
|
1000
|
+
border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
|
|
1001
|
+
border-radius: 100%;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
998
1004
|
.xy-flow__handle.connectingfrom { pointer-events: all; }
|
|
999
|
-
|
|
1005
|
+
|
|
1000
1006
|
.xy-flow__handle.connectionindicator { pointer-events: all; }
|
|
1001
|
-
|
|
1007
|
+
|
|
1002
1008
|
.xy-flow__handle-bottom { top: auto; left: 50%; bottom: 0; transform: translate(-50%, 50%); }
|
|
1003
|
-
|
|
1009
|
+
|
|
1004
1010
|
.xy-flow__handle-top { top: 0; left: 50%; transform: translate(-50%, -50%); }
|
|
1005
|
-
|
|
1011
|
+
|
|
1006
1012
|
.xy-flow__handle-left { top: 50%; left: 0; transform: translate(-50%, -50%); }
|
|
1007
|
-
|
|
1013
|
+
|
|
1008
1014
|
.xy-flow__handle-right { top: 50%; right: 0; transform: translate(50%, -50%); }
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
/* ── Selection box ──────────────────────────────────────────────── */
|
|
1012
|
-
.xy-flow__selection,
|
|
1013
|
-
.xy-flow__nodesselection-rect {
|
|
1014
|
-
background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
|
|
1015
|
-
border: var(--xy-selection-border, var(--xy-selection-border-default));
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
/* ── Selection box ──────────────────────────────────────────────── */
|
|
1018
|
+
.xy-flow__selection,
|
|
1019
|
+
.xy-flow__nodesselection-rect {
|
|
1020
|
+
background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
|
|
1021
|
+
border: var(--xy-selection-border, var(--xy-selection-border-default));
|
|
1016
1022
|
}
|
|
1017
|
-
|
|
1018
|
-
.xy-flow__nodesselection-rect:focus,
|
|
1023
|
+
|
|
1024
|
+
.xy-flow__nodesselection-rect:focus,
|
|
1019
1025
|
.xy-flow__nodesselection-rect:focus-visible { outline: none; }
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
/* ── Panels ─────────────────────────────────────────────────────── */
|
|
1023
|
-
.xy-flow__panel {
|
|
1024
|
-
position: absolute;
|
|
1025
|
-
z-index: 5;
|
|
1026
|
-
margin: 15px;
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
/* ── Panels ─────────────────────────────────────────────────────── */
|
|
1029
|
+
.xy-flow__panel {
|
|
1030
|
+
position: absolute;
|
|
1031
|
+
z-index: 5;
|
|
1032
|
+
margin: 15px;
|
|
1027
1033
|
}
|
|
1028
|
-
|
|
1034
|
+
|
|
1029
1035
|
.xy-flow__panel.top { top: 0; }
|
|
1030
|
-
|
|
1036
|
+
|
|
1031
1037
|
.xy-flow__panel.bottom { bottom: 0; }
|
|
1032
|
-
|
|
1038
|
+
|
|
1033
1039
|
.xy-flow__panel.left { left: 0; }
|
|
1034
|
-
|
|
1040
|
+
|
|
1035
1041
|
.xy-flow__panel.right { right: 0; }
|
|
1036
|
-
|
|
1037
|
-
.xy-flow__panel.top.center, .xy-flow__panel.bottom.center {
|
|
1038
|
-
left: 50%;
|
|
1039
|
-
transform: translateX(-15px) translateX(-50%);
|
|
1042
|
+
|
|
1043
|
+
.xy-flow__panel.top.center, .xy-flow__panel.bottom.center {
|
|
1044
|
+
left: 50%;
|
|
1045
|
+
transform: translateX(-15px) translateX(-50%);
|
|
1040
1046
|
}
|
|
1041
|
-
|
|
1042
|
-
.xy-flow__panel.left.center, .xy-flow__panel.right.center {
|
|
1043
|
-
top: 50%;
|
|
1044
|
-
transform: translateY(-15px) translateY(-50%);
|
|
1047
|
+
|
|
1048
|
+
.xy-flow__panel.left.center, .xy-flow__panel.right.center {
|
|
1049
|
+
top: 50%;
|
|
1050
|
+
transform: translateY(-15px) translateY(-50%);
|
|
1045
1051
|
}
|
|
1046
|
-
|
|
1047
|
-
|
|
1052
|
+
|
|
1053
|
+
|
|
1048
1054
|
.xy-flow__pane.selection .xy-flow__panel { pointer-events: none; }
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
/* ── Controls ───────────────────────────────────────────────────── */
|
|
1052
|
-
.xy-flow__controls {
|
|
1053
|
-
display: flex;
|
|
1054
|
-
flex-direction: column;
|
|
1055
|
-
box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
/* ── Controls ───────────────────────────────────────────────────── */
|
|
1058
|
+
.xy-flow__controls {
|
|
1059
|
+
display: flex;
|
|
1060
|
+
flex-direction: column;
|
|
1061
|
+
box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
|
|
1056
1062
|
}
|
|
1057
|
-
|
|
1058
|
-
.xy-flow__controls-button {
|
|
1059
|
-
display: flex;
|
|
1060
|
-
justify-content: center;
|
|
1061
|
-
align-items: center;
|
|
1062
|
-
height: 26px;
|
|
1063
|
-
width: 26px;
|
|
1064
|
-
padding: 4px;
|
|
1065
|
-
border: none;
|
|
1066
|
-
background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
|
|
1067
|
-
border-bottom: 1px solid var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default));
|
|
1068
|
-
color: var(--xy-controls-button-color, var(--xy-controls-button-color-default));
|
|
1069
|
-
cursor: pointer;
|
|
1070
|
-
user-select: none;
|
|
1063
|
+
|
|
1064
|
+
.xy-flow__controls-button {
|
|
1065
|
+
display: flex;
|
|
1066
|
+
justify-content: center;
|
|
1067
|
+
align-items: center;
|
|
1068
|
+
height: 26px;
|
|
1069
|
+
width: 26px;
|
|
1070
|
+
padding: 4px;
|
|
1071
|
+
border: none;
|
|
1072
|
+
background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
|
|
1073
|
+
border-bottom: 1px solid var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default));
|
|
1074
|
+
color: var(--xy-controls-button-color, var(--xy-controls-button-color-default));
|
|
1075
|
+
cursor: pointer;
|
|
1076
|
+
user-select: none;
|
|
1071
1077
|
}
|
|
1072
|
-
|
|
1073
|
-
.xy-flow__controls-button:hover {
|
|
1074
|
-
background: var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default));
|
|
1078
|
+
|
|
1079
|
+
.xy-flow__controls-button:hover {
|
|
1080
|
+
background: var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default));
|
|
1075
1081
|
}
|
|
1076
|
-
|
|
1082
|
+
|
|
1077
1083
|
.xy-flow__controls-button:disabled { pointer-events: none; }
|
|
1078
|
-
|
|
1084
|
+
|
|
1079
1085
|
.xy-flow__controls-button:disabled svg { fill-opacity: 0.4; }
|
|
1080
|
-
|
|
1081
|
-
.xy-flow__controls-button svg {
|
|
1082
|
-
width: 100%;
|
|
1083
|
-
max-width: 12px;
|
|
1084
|
-
max-height: 12px;
|
|
1085
|
-
fill: currentColor;
|
|
1086
|
+
|
|
1087
|
+
.xy-flow__controls-button svg {
|
|
1088
|
+
width: 100%;
|
|
1089
|
+
max-width: 12px;
|
|
1090
|
+
max-height: 12px;
|
|
1091
|
+
fill: currentColor;
|
|
1086
1092
|
}
|
|
1087
|
-
|
|
1093
|
+
|
|
1088
1094
|
.xy-flow__controls-button:last-child { border-bottom: none; }
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
/* ── Minimap ────────────────────────────────────────────────────── */
|
|
1092
|
-
.xy-flow__minimap {
|
|
1093
|
-
background: var(--xy-minimap-background-color, var(--xy-minimap-background-color-default));
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
/* ── Minimap ────────────────────────────────────────────────────── */
|
|
1098
|
+
.xy-flow__minimap {
|
|
1099
|
+
background: var(--xy-minimap-background-color, var(--xy-minimap-background-color-default));
|
|
1094
1100
|
}
|
|
1095
|
-
|
|
1101
|
+
|
|
1096
1102
|
.xy-flow__minimap-svg { display: block; }
|
|
1097
|
-
|
|
1098
|
-
.xy-flow__minimap-mask {
|
|
1099
|
-
fill: var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default));
|
|
1100
|
-
stroke: var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default));
|
|
1101
|
-
stroke-width: var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default));
|
|
1103
|
+
|
|
1104
|
+
.xy-flow__minimap-mask {
|
|
1105
|
+
fill: var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default));
|
|
1106
|
+
stroke: var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default));
|
|
1107
|
+
stroke-width: var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default));
|
|
1102
1108
|
}
|
|
1103
|
-
|
|
1104
|
-
.xy-flow__minimap-node {
|
|
1105
|
-
fill: var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default));
|
|
1106
|
-
stroke: var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default));
|
|
1107
|
-
stroke-width: var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default));
|
|
1109
|
+
|
|
1110
|
+
.xy-flow__minimap-node {
|
|
1111
|
+
fill: var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default));
|
|
1112
|
+
stroke: var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default));
|
|
1113
|
+
stroke-width: var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default));
|
|
1108
1114
|
}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
/* ── Background ─────────────────────────────────────────────────── */
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
/* ── Background ─────────────────────────────────────────────────── */
|
|
1112
1118
|
.xy-flow__background { pointer-events: none; z-index: -1; }
|
|
1113
|
-
|
|
1114
|
-
.xy-flow__background-pattern.dots {
|
|
1115
|
-
fill: var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default));
|
|
1119
|
+
|
|
1120
|
+
.xy-flow__background-pattern.dots {
|
|
1121
|
+
fill: var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default));
|
|
1116
1122
|
}
|
|
1117
|
-
|
|
1118
|
-
.xy-flow__background-pattern.lines {
|
|
1119
|
-
stroke: var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default));
|
|
1123
|
+
|
|
1124
|
+
.xy-flow__background-pattern.lines {
|
|
1125
|
+
stroke: var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default));
|
|
1120
1126
|
}
|
|
1121
|
-
|
|
1122
|
-
.xy-flow__background-pattern.cross {
|
|
1123
|
-
stroke: var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default));
|
|
1127
|
+
|
|
1128
|
+
.xy-flow__background-pattern.cross {
|
|
1129
|
+
stroke: var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default));
|
|
1124
1130
|
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
/* ── Edge labels / portals ──────────────────────────────────────── */
|
|
1128
|
-
.ng-flow__edge-textbg {
|
|
1129
|
-
fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/* ── Edge labels / portals ──────────────────────────────────────── */
|
|
1134
|
+
.ng-flow__edge-textbg {
|
|
1135
|
+
fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
|
|
1130
1136
|
}
|
|
1131
|
-
|
|
1132
|
-
.ng-flow__edge-text {
|
|
1133
|
-
fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
|
|
1137
|
+
|
|
1138
|
+
.ng-flow__edge-text {
|
|
1139
|
+
fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
|
|
1134
1140
|
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
.xy-flow__edgelabel-renderer {
|
|
1138
|
-
position: absolute;
|
|
1139
|
-
width: 100%;
|
|
1140
|
-
height: 100%;
|
|
1141
|
-
pointer-events: none;
|
|
1142
|
-
user-select: none;
|
|
1143
|
-
left: 0;
|
|
1144
|
-
top: 0;
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
.xy-flow__edgelabel-renderer {
|
|
1144
|
+
position: absolute;
|
|
1145
|
+
width: 100%;
|
|
1146
|
+
height: 100%;
|
|
1147
|
+
pointer-events: none;
|
|
1148
|
+
user-select: none;
|
|
1149
|
+
left: 0;
|
|
1150
|
+
top: 0;
|
|
1145
1151
|
}
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
.xy-flow__viewport-portal {
|
|
1149
|
-
position: absolute;
|
|
1150
|
-
width: 100%;
|
|
1151
|
-
height: 100%;
|
|
1152
|
-
left: 0;
|
|
1153
|
-
top: 0;
|
|
1154
|
-
user-select: none;
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
.xy-flow__viewport-portal {
|
|
1155
|
+
position: absolute;
|
|
1156
|
+
width: 100%;
|
|
1157
|
+
height: 100%;
|
|
1158
|
+
left: 0;
|
|
1159
|
+
top: 0;
|
|
1160
|
+
user-select: none;
|
|
1155
1161
|
}
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
/* ── Edge reconnect anchors ─────────────────────────────────────── */
|
|
1159
|
-
.xy-flow__edgeupdater {
|
|
1160
|
-
cursor: move;
|
|
1161
|
-
pointer-events: all;
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
/* ── Edge reconnect anchors ─────────────────────────────────────── */
|
|
1165
|
+
.xy-flow__edgeupdater {
|
|
1166
|
+
cursor: move;
|
|
1167
|
+
pointer-events: all;
|
|
1162
1168
|
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
/* ── Attribution ────────────────────────────────────────────────── */
|
|
1166
|
-
.xy-flow__attribution {
|
|
1167
|
-
font-size: 10px;
|
|
1168
|
-
background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
|
|
1169
|
-
padding: 2px 3px;
|
|
1170
|
-
margin: 0;
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
/* ── Attribution ────────────────────────────────────────────────── */
|
|
1172
|
+
.xy-flow__attribution {
|
|
1173
|
+
font-size: 10px;
|
|
1174
|
+
background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
|
|
1175
|
+
padding: 2px 3px;
|
|
1176
|
+
margin: 0;
|
|
1171
1177
|
}
|
|
1172
|
-
|
|
1178
|
+
|
|
1173
1179
|
.xy-flow__attribution a { text-decoration: none; color: #999; }
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
/*
|
|
1177
|
-
* ── Cursor overrides ───────────────────────────────────────────────
|
|
1178
|
-
*
|
|
1179
|
-
* Native CSS cursors (grab, grabbing, crosshair) render as invisible white
|
|
1180
|
-
* on some Windows setups with a white pointer scheme. We ship custom SVG
|
|
1181
|
-
* cursors (white fill + black outline) that always work on any OS/theme,
|
|
1182
|
-
* with native cursors as fallback.
|
|
1183
|
-
*/
|
|
1184
|
-
|
|
1185
|
-
/* Open hand — pane & draggable nodes */
|
|
1186
|
-
.xy-flow__pane.draggable,
|
|
1187
|
-
.xy-flow__node.draggable {
|
|
1188
|
-
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='white' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 10V5.5a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M9 6V3.5a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M11.5 5.5V4a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M14 6.5V5.5a1.25 1.25 0 0 1 2.5 0v5a5 5 0 0 1-5 5h-1a5 5 0 0 1-4.2-2.3L4 9.8a1.25 1.25 0 0 1 1.8-1.5L6.5 10'/%3E%3C/g%3E%3C/svg%3E") 11 4, grab;
|
|
1189
|
-
pointer-events: all;
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
/*
|
|
1183
|
+
* ── Cursor overrides ───────────────────────────────────────────────
|
|
1184
|
+
*
|
|
1185
|
+
* Native CSS cursors (grab, grabbing, crosshair) render as invisible white
|
|
1186
|
+
* on some Windows setups with a white pointer scheme. We ship custom SVG
|
|
1187
|
+
* cursors (white fill + black outline) that always work on any OS/theme,
|
|
1188
|
+
* with native cursors as fallback.
|
|
1189
|
+
*/
|
|
1190
|
+
|
|
1191
|
+
/* Open hand — pane & draggable nodes */
|
|
1192
|
+
.xy-flow__pane.draggable,
|
|
1193
|
+
.xy-flow__node.draggable {
|
|
1194
|
+
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='white' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 10V5.5a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M9 6V3.5a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M11.5 5.5V4a1.25 1.25 0 0 1 2.5 0V9'/%3E%3Cpath d='M14 6.5V5.5a1.25 1.25 0 0 1 2.5 0v5a5 5 0 0 1-5 5h-1a5 5 0 0 1-4.2-2.3L4 9.8a1.25 1.25 0 0 1 1.8-1.5L6.5 10'/%3E%3C/g%3E%3C/svg%3E") 11 4, grab;
|
|
1195
|
+
pointer-events: all;
|
|
1190
1196
|
}
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
/* Closed hand — while dragging */
|
|
1194
|
-
.xy-flow__pane.dragging,
|
|
1195
|
-
.xy-flow__node.draggable.dragging {
|
|
1196
|
-
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='white' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11V10c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2'/%3E%3Cpath d='M9 9.5V9c0-.7.6-1.2 1.3-1.2S11.5 8.3 11.5 9'/%3E%3Cpath d='M11.5 9V8.5c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2'/%3E%3Cpath d='M14 9v-.5c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2v4a5 5 0 0 1-5 5h-1a5 5 0 0 1-4.2-2.3L4 11.8a1.25 1.25 0 0 1 1.8-1.5L6.5 11'/%3E%3C/g%3E%3C/svg%3E") 11 8, grabbing;
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
/* Closed hand — while dragging */
|
|
1200
|
+
.xy-flow__pane.dragging,
|
|
1201
|
+
.xy-flow__node.draggable.dragging {
|
|
1202
|
+
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='white' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11V10c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2'/%3E%3Cpath d='M9 9.5V9c0-.7.6-1.2 1.3-1.2S11.5 8.3 11.5 9'/%3E%3Cpath d='M11.5 9V8.5c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2'/%3E%3Cpath d='M14 9v-.5c0-.7.6-1.2 1.3-1.2s1.2.5 1.2 1.2v4a5 5 0 0 1-5 5h-1a5 5 0 0 1-4.2-2.3L4 11.8a1.25 1.25 0 0 1 1.8-1.5L6.5 11'/%3E%3C/g%3E%3C/svg%3E") 11 8, grabbing;
|
|
1197
1203
|
}
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
/* Crosshair — connection handles */
|
|
1201
|
-
.xy-flow__handle.connectionindicator {
|
|
1202
|
-
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19'%3E%3Cg stroke='black' stroke-width='1.3'%3E%3Cline x1='9.5' y1='1' x2='9.5' y2='6' stroke='white' stroke-width='3'/%3E%3Cline x1='9.5' y1='13' x2='9.5' y2='18' stroke='white' stroke-width='3'/%3E%3Cline x1='1' y1='9.5' x2='6' y2='9.5' stroke='white' stroke-width='3'/%3E%3Cline x1='13' y1='9.5' x2='18' y2='9.5' stroke='white' stroke-width='3'/%3E%3Cline x1='9.5' y1='1' x2='9.5' y2='6'/%3E%3Cline x1='9.5' y1='13' x2='9.5' y2='18'/%3E%3Cline x1='1' y1='9.5' x2='6' y2='9.5'/%3E%3Cline x1='13' y1='9.5' x2='18' y2='9.5'/%3E%3C/g%3E%3C/svg%3E") 9 9, crosshair;
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/* Crosshair — connection handles */
|
|
1207
|
+
.xy-flow__handle.connectionindicator {
|
|
1208
|
+
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19'%3E%3Cg stroke='black' stroke-width='1.3'%3E%3Cline x1='9.5' y1='1' x2='9.5' y2='6' stroke='white' stroke-width='3'/%3E%3Cline x1='9.5' y1='13' x2='9.5' y2='18' stroke='white' stroke-width='3'/%3E%3Cline x1='1' y1='9.5' x2='6' y2='9.5' stroke='white' stroke-width='3'/%3E%3Cline x1='13' y1='9.5' x2='18' y2='9.5' stroke='white' stroke-width='3'/%3E%3Cline x1='9.5' y1='1' x2='9.5' y2='6'/%3E%3Cline x1='9.5' y1='13' x2='9.5' y2='18'/%3E%3Cline x1='1' y1='9.5' x2='6' y2='9.5'/%3E%3Cline x1='13' y1='9.5' x2='18' y2='9.5'/%3E%3C/g%3E%3C/svg%3E") 9 9, crosshair;
|
|
1203
1209
|
}
|
|
1204
|
-
|
|
1210
|
+
|