chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -57,14 +57,12 @@ export interface Node<Data = ElementData, CustomEvents extends Record<string, Cu
|
|||||||
expandParent?: boolean
|
expandParent?: boolean
|
||||||
/** define node as a child node by setting a parent node id */
|
/** define node as a child node by setting a parent node id */
|
||||||
parentNode?: string
|
parentNode?: string
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fixed width of node, applied as style
|
* Fixed width of node, applied as style
|
||||||
* You can pass a number which will be used in pixel values (width: 300 -> width: 300px)
|
* You can pass a number which will be used in pixel values (width: 300 -> width: 300px)
|
||||||
* or pass a string with units (width: `10rem` -> width: 10rem)
|
* or pass a string with units (width: `10rem` -> width: 10rem)
|
||||||
*/
|
*/
|
||||||
width?: number | string | WidthFunc
|
width?: number | string | WidthFunc
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fixed height of node, applied as style
|
* Fixed height of node, applied as style
|
||||||
* You can pass a number which will be used in pixel values (height: 300 -> height: 300px)
|
* You can pass a number which will be used in pixel values (height: 300 -> height: 300px)
|
||||||
@@ -84,7 +82,6 @@ export interface Node<Data = ElementData, CustomEvents extends Record<string, Cu
|
|||||||
data?: Data
|
data?: Data
|
||||||
/** contextual and custom events that are passed to your custom components */
|
/** contextual and custom events that are passed to your custom components */
|
||||||
events?: Partial<NodeEventsHandler<CustomEvents>>
|
events?: Partial<NodeEventsHandler<CustomEvents>>
|
||||||
|
|
||||||
zIndex?: number
|
zIndex?: number
|
||||||
ariaLabel?: string
|
ariaLabel?: string
|
||||||
}
|
}
|
||||||
@@ -100,7 +97,6 @@ export interface GraphNode<Data = ElementData, CustomEvents extends Record<strin
|
|||||||
selected: boolean
|
selected: boolean
|
||||||
resizing: boolean
|
resizing: boolean
|
||||||
dragging: boolean
|
dragging: boolean
|
||||||
|
|
||||||
initialized: boolean
|
initialized: boolean
|
||||||
data: Data
|
data: Data
|
||||||
events: Partial<NodeEventsHandler<CustomEvents>>
|
events: Partial<NodeEventsHandler<CustomEvents>>
|
||||||
|
|||||||
Reference in New Issue
Block a user