pixel.static
Static layout for ngraph.pixel
usage
var staticLayout = ;// let's create a new graph:var graph = ;graph;graph;var renderer = graph// first, set a custom layout:createLayout: staticLayout// provide initial positions for each node:initPosition: getNodePosition;{// node is a regular ngraph.graph node// we can have access to its `data` or `id`, so if position is known:returnx: nodedataxy: nodedatayz: nodedataz;}
Online demo with ~49k nodes - source code
license
MIT