This repository implements a basic layout model and some utilities for Cytoscape.js layout extensions.
Add layout-base
as a dependecy to your layout extension.
require()
in the extension to reach functionality:
var Integer = require(layout-base).Integer
,var Layout = require(layout-base).Layout
,...
For a usage example, see cose-base or avsdf-base.