Class: GraphDirected

algo.layout. GraphDirected

new GraphDirected(dataStructure)

The directed graph layout strategy is implemented using the dagre js library https://github.com/cpettitt/dagre
Parameters:
Name Type Description
dataStructure algo.core.Graph
Source:

Methods

update(box)

Start the layout algorithm and run for the specified number of ms OR until the total energy in the system goes below a threshold
Parameters:
Name Type Description
box box the bounding box for the layout
Source: