Layouts

Search
Feedback

This module of the Graph-Browser can be used to start the fruchterman-reingold, the forceAtlas2 or the dagre layout algorithm implemented in linkurious.js.

The dagre needs the dagre.js library wich can be found here

Functions

Name Parameters Descriptions
doLayout(layout, config){string} layout the name of the layout [“fruchtermanReingold”, “forceAtlas2”, “dagre”]

{object} config Optional the configuration of the algorithm (see the linkurious.js documentation for more details)
Runs the given layout algorithm with the optional given configuration
startForceAtlas2(config){object} config Optional the configuration of the algorithm (see the linkurious.js documentation for more details)Alternative way to start the forceAtlas2 algorithm
stopForceAtlas2()Stops the forceAtlas2 algorithm if it was started

Graph-Browser

About this article
Last change 2017-07-17
Topics ExperimentalStructr 2.0