refactor(nodes-edges): rename isHidden to hidden

This commit is contained in:
moklick
2021-11-18 13:06:14 +01:00
parent e6a4034747
commit fe9c1f02dc
12 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ export interface Edge<T = any> {
labelBgBorderRadius?: number;
style?: CSSProperties;
animated?: boolean;
isHidden?: boolean;
hidden?: boolean;
data?: T;
className?: string;
sourceNode?: Node;
@@ -88,7 +88,7 @@ export interface WrapEdgeProps<T = any> {
sourcePosition: Position;
targetPosition: Position;
elementsSelectable?: boolean;
isHidden?: boolean;
hidden?: boolean;
handleEdgeUpdate: boolean;
onConnectEdge: OnConnect;
onContextMenu?: EdgeMouseHandler;
+2 -2
View File
@@ -14,7 +14,7 @@ export interface Node<T = any> {
className?: string;
targetPosition?: Position;
sourcePosition?: Position;
isHidden?: boolean;
hidden?: boolean;
selected?: boolean;
dragging?: boolean;
draggable?: boolean;
@@ -73,7 +73,7 @@ export interface WrapNodeProps<T = any> {
className?: string;
sourcePosition?: Position;
targetPosition?: Position;
isHidden?: boolean;
hidden?: boolean;
isInitialized?: boolean;
snapToGrid?: boolean;
snapGrid?: SnapGrid;