Skip to main content

Edge

Edge represents lines that connect the Node. The edge is not created by the user but initalized by Nice-DAG according to the dependencies defined by given Node set.

Properties

PropertyOptionalDescriptionType
sourceNoSource NodeIViewNode
targetNoTarget NodeIViewNode

API(IEdge)

NameDescriptionType
removeRemove the edge()=>void
insertNodesInsert nodes between source and target of the edge(nodes: Node[], offset?: number) => void;