ngx-vflow 0.14.1 → 0.16.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/esm2022/lib/vflow/components/background/background.component.mjs +72 -4
- package/esm2022/lib/vflow/components/connection/connection.component.mjs +6 -1
- package/esm2022/lib/vflow/components/custom-node-base/custom-node-base.component.mjs +5 -7
- package/esm2022/lib/vflow/components/handle/handle.component.mjs +16 -14
- package/esm2022/lib/vflow/components/node/node.component.mjs +8 -3
- package/esm2022/lib/vflow/components/vflow/vflow.component.mjs +12 -6
- package/esm2022/lib/vflow/directives/drag-handle.directive.mjs +27 -0
- package/esm2022/lib/vflow/directives/map-context.directive.mjs +24 -17
- package/esm2022/lib/vflow/interfaces/edge.interface.mjs +1 -1
- package/esm2022/lib/vflow/interfaces/optimization.interface.mjs +1 -1
- package/esm2022/lib/vflow/math/edge-path/smooth-step-path.mjs +170 -0
- package/esm2022/lib/vflow/models/edge.model.mjs +6 -1
- package/esm2022/lib/vflow/models/node.model.mjs +2 -1
- package/esm2022/lib/vflow/models/toolbar.model.mjs +36 -0
- package/esm2022/lib/vflow/public-components/minimap/minimap.component.mjs +8 -2
- package/esm2022/lib/vflow/public-components/node-toolbar/node-toolbar.component.mjs +66 -0
- package/esm2022/lib/vflow/services/draggable.service.mjs +13 -15
- package/esm2022/lib/vflow/services/node-rendering.service.mjs +8 -1
- package/esm2022/lib/vflow/services/overlays.service.mjs +34 -0
- package/esm2022/lib/vflow/testing-utils/provide-custom-node-mocks.mjs +67 -0
- package/esm2022/lib/vflow/types/background.type.mjs +1 -1
- package/esm2022/lib/vflow/utils/is-group-node.mjs +4 -0
- package/esm2022/lib/vflow/vflow.module.mjs +17 -5
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/ngx-vflow.mjs +554 -65
- package/fesm2022/ngx-vflow.mjs.map +1 -1
- package/lib/vflow/components/background/background.component.d.ts +13 -0
- package/lib/vflow/components/handle/handle.component.d.ts +3 -3
- package/lib/vflow/components/node/node.component.d.ts +2 -0
- package/lib/vflow/components/vflow/vflow.component.d.ts +2 -0
- package/lib/vflow/directives/drag-handle.directive.d.ts +8 -0
- package/lib/vflow/directives/map-context.directive.d.ts +3 -2
- package/lib/vflow/interfaces/edge.interface.d.ts +1 -1
- package/lib/vflow/interfaces/optimization.interface.d.ts +13 -0
- package/lib/vflow/math/edge-path/smooth-step-path.d.ts +5 -0
- package/lib/vflow/models/node.model.d.ts +1 -0
- package/lib/vflow/models/toolbar.model.d.ts +19 -0
- package/lib/vflow/public-components/node-toolbar/node-toolbar.component.d.ts +22 -0
- package/lib/vflow/services/draggable.service.d.ts +0 -5
- package/lib/vflow/services/node-rendering.service.d.ts +2 -0
- package/lib/vflow/services/overlays.service.d.ts +11 -0
- package/lib/vflow/testing-utils/provide-custom-node-mocks.d.ts +2 -0
- package/lib/vflow/types/background.type.d.ts +24 -1
- package/lib/vflow/utils/is-group-node.d.ts +2 -0
- package/lib/vflow/vflow.module.d.ts +14 -12
- package/package.json +3 -3
- package/public-api.d.ts +3 -0
|
@@ -9,6 +9,19 @@ export declare class BackgroundComponent {
|
|
|
9
9
|
protected y: import("@angular/core").Signal<number>;
|
|
10
10
|
protected patternColor: import("@angular/core").Signal<string>;
|
|
11
11
|
protected patternSize: import("@angular/core").Signal<number>;
|
|
12
|
+
protected bgImageSrc: import("@angular/core").Signal<string>;
|
|
13
|
+
protected imageSize: import("@angular/core").Signal<{
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
} | {
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
}>;
|
|
20
|
+
protected scaledImageWidth: import("@angular/core").Signal<number>;
|
|
21
|
+
protected scaledImageHeight: import("@angular/core").Signal<number>;
|
|
22
|
+
protected imageX: import("@angular/core").Signal<number>;
|
|
23
|
+
protected imageY: import("@angular/core").Signal<number>;
|
|
24
|
+
protected repeated: import("@angular/core").Signal<boolean>;
|
|
12
25
|
protected patternId: string;
|
|
13
26
|
protected patternUrl: string;
|
|
14
27
|
constructor();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { Injector,
|
|
1
|
+
import { Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Position } from '../../types/position.type';
|
|
3
3
|
import { HandleModel } from '../../models/handle.model';
|
|
4
4
|
import { WithInjector } from '../../decorators/run-in-injection-context.decorator';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class HandleComponent implements OnInit,
|
|
6
|
+
export declare class HandleComponent implements OnInit, WithInjector {
|
|
7
7
|
injector: Injector;
|
|
8
8
|
private handleService;
|
|
9
9
|
private element;
|
|
10
|
+
private destroyRef;
|
|
10
11
|
/**
|
|
11
12
|
* At what side of node this component should be placed
|
|
12
13
|
*/
|
|
@@ -22,7 +23,6 @@ export declare class HandleComponent implements OnInit, OnDestroy, WithInjector
|
|
|
22
23
|
template?: TemplateRef<any>;
|
|
23
24
|
model: HandleModel;
|
|
24
25
|
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<HandleComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<HandleComponent, "handle", never, { "position": { "alias": "position"; "required": true; }; "type": { "alias": "type"; "required": true; }; "id": { "alias": "id"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -15,6 +15,7 @@ export declare class NodeComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
15
15
|
private hostRef;
|
|
16
16
|
private connectionController;
|
|
17
17
|
private nodeAccessor;
|
|
18
|
+
private overlaysService;
|
|
18
19
|
private zone;
|
|
19
20
|
nodeModel: NodeModel;
|
|
20
21
|
nodeTemplate?: TemplateRef<any>;
|
|
@@ -24,6 +25,7 @@ export declare class NodeComponent implements OnInit, AfterViewInit, OnDestroy,
|
|
|
24
25
|
protected showMagnet: import("@angular/core").Signal<boolean>;
|
|
25
26
|
protected styleWidth: import("@angular/core").Signal<string>;
|
|
26
27
|
protected styleHeight: import("@angular/core").Signal<string>;
|
|
28
|
+
protected toolbar: import("@angular/core").Signal<import("../../models/toolbar.model").ToolbarModel | undefined>;
|
|
27
29
|
ngOnInit(): void;
|
|
28
30
|
ngAfterViewInit(): void;
|
|
29
31
|
ngOnDestroy(): void;
|
|
@@ -80,6 +80,8 @@ export declare class VflowComponent implements OnInit {
|
|
|
80
80
|
*/
|
|
81
81
|
set nodes(newNodes: Node[] | DynamicNode[]);
|
|
82
82
|
protected nodeModels: Signal<NodeModel<unknown>[]>;
|
|
83
|
+
protected groups: Signal<NodeModel<unknown>[]>;
|
|
84
|
+
protected nonGroups: Signal<NodeModel<unknown>[]>;
|
|
83
85
|
/**
|
|
84
86
|
* Edges to render
|
|
85
87
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DragHandleDirective {
|
|
3
|
+
private nodeAccessor;
|
|
4
|
+
private get model();
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragHandleDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragHandleDirective, "[dragHandle]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -17,8 +17,9 @@ export declare class MapContextDirective implements OnInit {
|
|
|
17
17
|
protected zoomBehavior: ZoomBehavior<SVGSVGElement, unknown>;
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
private handleZoom;
|
|
20
|
-
private
|
|
21
|
-
private
|
|
20
|
+
private handleZoomStart;
|
|
21
|
+
private handleZoomEnd;
|
|
22
|
+
private filterCondition;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
|
|
23
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "g[mapContext]", never, {}, {}, never, never, false, never>;
|
|
24
25
|
}
|
|
@@ -2,7 +2,7 @@ import { Connection } from "./connection.interface";
|
|
|
2
2
|
import { EdgeLabel, EdgeLabelPosition } from "./edge-label.interface";
|
|
3
3
|
import { Marker } from "./marker.interface";
|
|
4
4
|
export type EdgeType = 'default' | 'template';
|
|
5
|
-
export type Curve = 'straight' | 'bezier';
|
|
5
|
+
export type Curve = 'straight' | 'bezier' | 'smooth-step' | 'step';
|
|
6
6
|
export interface Edge<T = unknown> extends Connection {
|
|
7
7
|
id: string;
|
|
8
8
|
type?: EdgeType;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
export interface Optimization {
|
|
2
|
+
/**
|
|
3
|
+
* If true, compute the right nodes order by z-axis inside groups on initial render.
|
|
4
|
+
*
|
|
5
|
+
* @default true
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
2
8
|
computeLayersOnInit: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* If true, the layer with groups will be placed behind the edges layer.
|
|
11
|
+
* This approach fixes the issue when you can't select an edge inside group.
|
|
12
|
+
*
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
detachedGroupsLayer: boolean;
|
|
3
16
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PathData } from '../../interfaces/path-data.interface';
|
|
2
|
+
import { Point } from '../../interfaces/point.interface';
|
|
3
|
+
import { Position } from '../../types/position.type';
|
|
4
|
+
export declare function getEdgeCenter(source: Point, target: Point): [number, number, number, number];
|
|
5
|
+
export declare function smoothStepPath(source: Point, target: Point, sourcePosition: Position, targetPosition: Position, borderRadius?: number): PathData;
|
|
@@ -38,6 +38,7 @@ export declare class NodeModel<T = unknown> implements FlowEntity {
|
|
|
38
38
|
handles: import("@angular/core").WritableSignal<HandleModel[]>;
|
|
39
39
|
handles$: import("rxjs").Observable<HandleModel[]>;
|
|
40
40
|
draggable: import("@angular/core").WritableSignal<boolean>;
|
|
41
|
+
dragHandlesCount: import("@angular/core").WritableSignal<number>;
|
|
41
42
|
readonly magnetRadius = 20;
|
|
42
43
|
isComponentType: boolean;
|
|
43
44
|
text: Signal<string>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import { Position } from "../types/position.type";
|
|
3
|
+
import { NodeModel } from "./node.model";
|
|
4
|
+
export declare class ToolbarModel {
|
|
5
|
+
node: NodeModel;
|
|
6
|
+
position: import("@angular/core").WritableSignal<Position>;
|
|
7
|
+
template: import("@angular/core").WritableSignal<TemplateRef<unknown> | null>;
|
|
8
|
+
offset: import("@angular/core").WritableSignal<number>;
|
|
9
|
+
point: import("@angular/core").Signal<{
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
}>;
|
|
13
|
+
transform: import("@angular/core").Signal<string>;
|
|
14
|
+
size: import("@angular/core").WritableSignal<{
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
}>;
|
|
18
|
+
constructor(node: NodeModel);
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Position } from '../../types/position.type';
|
|
3
|
+
import { ToolbarModel } from '../../models/toolbar.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NodeToolbarComponent implements OnInit, OnDestroy {
|
|
6
|
+
private overlaysService;
|
|
7
|
+
private nodeService;
|
|
8
|
+
set position(value: Position);
|
|
9
|
+
toolbarContentTemplate: TemplateRef<unknown>;
|
|
10
|
+
protected model: ToolbarModel;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodeToolbarComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NodeToolbarComponent, "node-toolbar", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class NodeToolbarWrapperDirective implements OnInit {
|
|
17
|
+
private element;
|
|
18
|
+
model: ToolbarModel;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodeToolbarWrapperDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NodeToolbarWrapperDirective, "[nodeToolbarWrapper]", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -29,11 +29,6 @@ export declare class DraggableService {
|
|
|
29
29
|
* @returns
|
|
30
30
|
*/
|
|
31
31
|
private getDragBehavior;
|
|
32
|
-
/**
|
|
33
|
-
* Specify ignoring drag behavior. It's responsible for not moving the map when user tries to drag node
|
|
34
|
-
* with disabled drag behavior
|
|
35
|
-
*/
|
|
36
|
-
private getIgnoreDragBehavior;
|
|
37
32
|
private getDragNodes;
|
|
38
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DraggableService, never>;
|
|
39
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<DraggableService>;
|
|
@@ -3,6 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class NodeRenderingService {
|
|
4
4
|
private flowEntitiesService;
|
|
5
5
|
readonly nodes: import("@angular/core").Signal<NodeModel<unknown>[]>;
|
|
6
|
+
readonly groups: import("@angular/core").Signal<NodeModel<unknown>[]>;
|
|
7
|
+
readonly nonGroups: import("@angular/core").Signal<NodeModel<unknown>[]>;
|
|
6
8
|
private maxOrder;
|
|
7
9
|
pullNode(node: NodeModel): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeRenderingService, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ToolbarModel } from '../models/toolbar.model';
|
|
2
|
+
import { NodeModel } from '../models/node.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OverlaysService {
|
|
5
|
+
private toolbars;
|
|
6
|
+
nodeToolbars: import("@angular/core").Signal<Map<NodeModel<unknown>, ToolbarModel>>;
|
|
7
|
+
addToolbar(toolbar: ToolbarModel): void;
|
|
8
|
+
removeToolbar(toolbar: ToolbarModel): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlaysService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlaysService>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Background = ColorBackground | DotsBackground;
|
|
1
|
+
export type Background = ColorBackground | DotsBackground | ImageBackground;
|
|
2
2
|
export interface ColorBackground {
|
|
3
3
|
type: 'solid';
|
|
4
4
|
color: string;
|
|
@@ -22,3 +22,26 @@ export interface DotsBackground {
|
|
|
22
22
|
*/
|
|
23
23
|
backgroundColor?: string;
|
|
24
24
|
}
|
|
25
|
+
export interface ImageBackground {
|
|
26
|
+
type: 'image';
|
|
27
|
+
/**
|
|
28
|
+
* Path to image. Passes as a href to this element:
|
|
29
|
+
*
|
|
30
|
+
* https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
|
|
31
|
+
*/
|
|
32
|
+
src: string;
|
|
33
|
+
/**
|
|
34
|
+
* If true, image will be fixed on the background (not moving with the flow, zoom also doesn't affect it)
|
|
35
|
+
*/
|
|
36
|
+
fixed?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If true, image will be repeated
|
|
39
|
+
*/
|
|
40
|
+
repeat?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Scale relative to natural image size.
|
|
43
|
+
*
|
|
44
|
+
* For example, if image is 100x100 and scale is 0.5, it will be rendered as 50x50
|
|
45
|
+
*/
|
|
46
|
+
scale?: number;
|
|
47
|
+
}
|
|
@@ -10,19 +10,21 @@ import * as i8 from "./components/defs/defs.component";
|
|
|
10
10
|
import * as i9 from "./components/background/background.component";
|
|
11
11
|
import * as i10 from "./public-components/resizable/resizable.component";
|
|
12
12
|
import * as i11 from "./public-components/minimap/minimap.component";
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./directives/
|
|
15
|
-
import * as i14 from "./directives/
|
|
16
|
-
import * as i15 from "./directives/
|
|
17
|
-
import * as i16 from "./directives/
|
|
18
|
-
import * as i17 from "./directives/
|
|
19
|
-
import * as i18 from "./directives/
|
|
20
|
-
import * as i19 from "./directives/
|
|
21
|
-
import * as i20 from "./directives/
|
|
22
|
-
import * as i21 from "./directives/
|
|
23
|
-
import * as i22 from "
|
|
13
|
+
import * as i12 from "./public-components/node-toolbar/node-toolbar.component";
|
|
14
|
+
import * as i13 from "./directives/space-point-context.directive";
|
|
15
|
+
import * as i14 from "./directives/map-context.directive";
|
|
16
|
+
import * as i15 from "./directives/reference.directive";
|
|
17
|
+
import * as i16 from "./directives/root-svg-context.directive";
|
|
18
|
+
import * as i17 from "./directives/handle-size-controller.directive";
|
|
19
|
+
import * as i18 from "./directives/selectable.directive";
|
|
20
|
+
import * as i19 from "./directives/drag-handle.directive";
|
|
21
|
+
import * as i20 from "./directives/pointer.directive";
|
|
22
|
+
import * as i21 from "./directives/root-pointer.directive";
|
|
23
|
+
import * as i22 from "./directives/flow-size-controller.directive";
|
|
24
|
+
import * as i23 from "./directives/template.directive";
|
|
25
|
+
import * as i24 from "@angular/common";
|
|
24
26
|
export declare class VflowModule {
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<VflowModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VflowModule, [typeof i1.VflowComponent, typeof i2.NodeComponent, typeof i3.DefaultNodeComponent, typeof i4.EdgeComponent, typeof i5.EdgeLabelComponent, typeof i6.ConnectionComponent, typeof i7.HandleComponent, typeof i8.DefsComponent, typeof i9.BackgroundComponent, typeof i10.ResizableComponent, typeof i11.MiniMapComponent, typeof i12.
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VflowModule, [typeof i1.VflowComponent, typeof i2.NodeComponent, typeof i3.DefaultNodeComponent, typeof i4.EdgeComponent, typeof i5.EdgeLabelComponent, typeof i6.ConnectionComponent, typeof i7.HandleComponent, typeof i8.DefsComponent, typeof i9.BackgroundComponent, typeof i10.ResizableComponent, typeof i11.MiniMapComponent, typeof i12.NodeToolbarComponent, typeof i13.SpacePointContextDirective, typeof i14.MapContextDirective, typeof i15.RootSvgReferenceDirective, typeof i16.RootSvgContextDirective, typeof i17.HandleSizeControllerDirective, typeof i18.SelectableDirective, typeof i19.DragHandleDirective, typeof i20.PointerDirective, typeof i21.RootPointerDirective, typeof i22.FlowSizeControllerDirective, typeof i12.NodeToolbarWrapperDirective, typeof i23.NodeHtmlTemplateDirective, typeof i23.GroupNodeTemplateDirective, typeof i23.EdgeLabelHtmlTemplateDirective, typeof i23.EdgeTemplateDirective, typeof i23.ConnectionTemplateDirective, typeof i23.HandleTemplateDirective], [typeof i24.NgIf, typeof i24.NgForOf, typeof i24.NgTemplateOutlet, typeof i24.NgComponentOutlet, typeof i24.KeyValuePipe], [typeof i1.VflowComponent, typeof i7.HandleComponent, typeof i10.ResizableComponent, typeof i18.SelectableDirective, typeof i11.MiniMapComponent, typeof i12.NodeToolbarComponent, typeof i19.DragHandleDirective, typeof i23.NodeHtmlTemplateDirective, typeof i23.GroupNodeTemplateDirective, typeof i23.EdgeLabelHtmlTemplateDirective, typeof i23.EdgeTemplateDirective, typeof i23.ConnectionTemplateDirective, typeof i23.HandleTemplateDirective]>;
|
|
27
29
|
static ɵinj: i0.ɵɵInjectorDeclaration<VflowModule>;
|
|
28
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-vflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://www.ngx-vflow.org/",
|
|
6
6
|
"author": "Artem Mangilev",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"type": "git"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^16.2.0 || 17.x || 18.x",
|
|
20
|
-
"@angular/core": "^16.2.0 || 17.x || 18.x",
|
|
19
|
+
"@angular/common": "^16.2.0 || 17.x || 18.x || 19.x",
|
|
20
|
+
"@angular/core": "^16.2.0 || 17.x || 18.x || 19.x",
|
|
21
21
|
"d3-drag": "^3.0.0",
|
|
22
22
|
"d3-selection": "^3.0.0",
|
|
23
23
|
"d3-zoom": "^3.0.0",
|
package/public-api.d.ts
CHANGED
|
@@ -24,7 +24,10 @@ export * from './lib/vflow/public-components/custom-node/custom-node.component';
|
|
|
24
24
|
export * from './lib/vflow/public-components/custom-dynamic-node/custom-dynamic-node.component';
|
|
25
25
|
export * from './lib/vflow/public-components/resizable/resizable.component';
|
|
26
26
|
export * from './lib/vflow/public-components/minimap/minimap.component';
|
|
27
|
+
export * from './lib/vflow/public-components/node-toolbar/node-toolbar.component';
|
|
27
28
|
export * from './lib/vflow/directives/template.directive';
|
|
28
29
|
export * from './lib/vflow/directives/connection-controller.directive';
|
|
29
30
|
export * from './lib/vflow/directives/changes-controller.directive';
|
|
30
31
|
export * from './lib/vflow/directives/selectable.directive';
|
|
32
|
+
export * from './lib/vflow/directives/drag-handle.directive';
|
|
33
|
+
export * from './lib/vflow/testing-utils/provide-custom-node-mocks';
|