Methods
# static addArchFunctions(archesFunctions, link, data)
function to add actions on arches
Parameters:
Name | Type | Description |
---|---|---|
archesFunctions |
Array.<Object> | actions to add |
link |
HTMLElement | container of actions |
data |
Object | data contains of nodes and arches |
# static addNodeFunctions(nodeFunctions, node, data)
function to add actions on nodes
Parameters:
Name | Type | Description |
---|---|---|
nodeFunctions |
Array.<Object> | actions to add |
node |
HTMLElement | container of actions |
data |
Object | data contains of nodes and arches |
# static addTitleArch(link, data) → {Selection.<BaseType, any, BaseType, any>|void}
function to add title tooltip on arch
Parameters:
Name | Type | Description |
---|---|---|
link |
HTMLElement | element html arch |
data |
Object | data contains of nodes and arches |
element html title tooltip
Selection.<BaseType, any, BaseType, any>
|
void
# static addTitleNode(node) → {Selection.<BaseType, any, BaseType, any>|void}
function to add title tooltip on node
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement | element html node |
element html title tooltip
Selection.<BaseType, any, BaseType, any>
|
void
# static color() → {function}
function to create colors using schemeCategory10 colors
function to create color according to group
function
# static drag(simulation) → {*}
function to perform drag action on chart
Parameters:
Name | Type | Description |
---|---|---|
simulation |
Object | simulation object where the drag will be performed |
drag function started
*