Namespace

d3GraphChartsUtils

D3Module.d3GraphChartsUtils

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

View Source modules/d3/others/d3.graphCharts.utils.js, line 100

# 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

View Source modules/d3/others/d3.graphCharts.utils.js, line 88

# 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

View Source modules/d3/others/d3.graphCharts.utils.js, line 60

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

View Source modules/d3/others/d3.graphCharts.utils.js, line 50

element html title tooltip
Selection.<BaseType, any, BaseType, any> | void

# static color() → {function}

function to create colors using schemeCategory10 colors

View Source modules/d3/others/d3.graphCharts.utils.js, line 39

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

View Source modules/d3/others/d3.graphCharts.utils.js, line 11

drag function started
*