feat(elements): add isHidden option

This commit is contained in:
moklick
2020-07-15 10:31:16 +02:00
parent 084030dbb2
commit b51a25191f
12 changed files with 129 additions and 13 deletions
+3
View File
@@ -40,6 +40,7 @@ export interface Node {
className?: string;
targetPosition?: Position;
sourcePosition?: Position;
isHidden?: boolean;
}
export enum ArrowHeadType {
@@ -59,6 +60,7 @@ export interface Edge {
style?: CSSProperties;
animated?: boolean;
arrowHeadType?: ArrowHeadType;
isHidden?: boolean;
}
export enum BackgroundVariant {
@@ -151,6 +153,7 @@ export interface WrapNodeProps {
className?: string;
sourcePosition?: Position;
targetPosition?: Position;
isHidden?: boolean;
}
export type FitViewParams = {