type Node.item_dataV
Definition:any, O extends object = any = {type: string,label: string,position: Node.ITEM_POSITION,value: V,options?: O,connectors: NodeConnector[],}
interface Node.Options
enum Node.CONNECTOR_ALIGN
enum Node.ITEM_POSITION
interface NodeConnection.Options
function NodeConnection.getGroupBox
NodeConnection.getGroupBox( group: SVGGElement );
TODO
function NodeConnection.createEndSvg
NodeConnection.createEndSvg( type: string, options: NodeConnection.Options );
Constant NodeConnection.DEFAULT_OPTIONS
type: Options
class NodeO
<extends Node.Options = Node.Option>
Properties
connectors: Set
connector_dom_elements: WeakMap
connector_item_elements: WeakMap
item_data_by_generated_item: WeakMap
item_data_by_connector_item: WeakMap
connector_items_by_item_data: WeakMap
protected
title_div: HTMLElement
protected
body: HTMLElement
protected
collapse_toggle: Elements.ToggleButton
protected
collapsed_title_div: HTMLElement | void
protected
ITEM_DEFAULT_WIDTH: string
class NodeConnectorOPTIONS
<extends object = an>
Constructors
constructor(position?: CONNECTOR_POSITION, align?: CONNECTOR_ALIGN, options?: OPTIONS)
Properties
position: CONNECTOR_POSITION
align: CONNECTOR_ALIGN
options: OPTIONS
active?: boolean
translate?: number
class NodeConnection
Constructors
constructor(node_group: NodeGroup, c1: NodeConnector | undefined, c2: NodeConnector | undefined, end1?: string, end2?: string, options?: NodeConnection.Options)
Properties
c1: NodeConnector
c2: NodeConnector
options: NodeConnection.Options
temp_c1: NodeConnector
temp_c2: NodeConnector
element: SVGElement
x_start: number
x_end: number
y_start: number
y_end: number
max_x: any
max_y: any
min_x: any
min_y: any
offset: number
protected
vertical_lines: Map
protected
horizontal_lines: Map
protected
node_group: NodeGroup
protected
clickListener: unknown - todo
Help us improving our docs
Our documentations are fully open source. Something is wrong or unclear? Edit documentation.