@visuallyjs/browser-ui 1.0.1 → 1.0.3
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/js/visuallyjs.browser-ui.cjs.js +51 -51
- package/js/visuallyjs.browser-ui.esm.js +47 -47
- package/package.json +1 -1
- package/types/browser-ui/surface-renderer/diagrams/definitions.d.ts +8 -4
- package/types/browser-ui/surface-renderer/surface-render-options.d.ts +1 -1
- package/types/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -65,6 +65,10 @@ export interface DiagramOptions {
|
|
|
65
65
|
*/
|
|
66
66
|
editable?: boolean;
|
|
67
67
|
edges?: {
|
|
68
|
+
/**
|
|
69
|
+
* Whether or not to disable drop targets on which an edge from some current source may not be dropped when drag starts. Defaults to true.
|
|
70
|
+
*/
|
|
71
|
+
activeFiltering?: boolean;
|
|
68
72
|
/**
|
|
69
73
|
* Default anchor to use for both source and target of edges.
|
|
70
74
|
*/
|
|
@@ -73,6 +77,10 @@ export interface DiagramOptions {
|
|
|
73
77
|
* Anchors to use as source, target of edges. This will take precedence over `anchor`.
|
|
74
78
|
*/
|
|
75
79
|
anchors?: [AnchorSpec, AnchorSpec];
|
|
80
|
+
/**
|
|
81
|
+
* Defaults to false. If true, edges will attempt to avoid vertices wherever possible.
|
|
82
|
+
*/
|
|
83
|
+
avoidVertices?: boolean;
|
|
76
84
|
/**
|
|
77
85
|
* Defaults to true - edges are editable when the user taps on them.
|
|
78
86
|
*/
|
|
@@ -81,10 +89,6 @@ export interface DiagramOptions {
|
|
|
81
89
|
* Input method for edges. Defaults to drag.
|
|
82
90
|
*/
|
|
83
91
|
inputMethod?: EdgeInputMethod;
|
|
84
|
-
/**
|
|
85
|
-
* Defaults to false. If true, edges will attempt to avoid vertices wherever possible.
|
|
86
|
-
*/
|
|
87
|
-
avoidVertices?: boolean;
|
|
88
92
|
/**
|
|
89
93
|
* Mappings from property values to overlays, edge style etc.
|
|
90
94
|
*/
|
|
@@ -16,7 +16,7 @@ import { LayoutSpec } from "../../core";
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SurfaceOptions extends BrowserUIOptions {
|
|
18
18
|
/**
|
|
19
|
-
* Whether or not to disable drop targets on which an edge from some current source may not be dropped.
|
|
19
|
+
* Whether or not to disable drop targets on which an edge from some current source may not be dropped when drag starts. Defaults to true.
|
|
20
20
|
*/
|
|
21
21
|
activeFiltering?: boolean;
|
|
22
22
|
/**
|
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.0.
|
|
1
|
+
export declare const VERSION = "1.0.3";
|