Skip to content

Instantly share code, notes, and snippets.

@xc8tlik
xc8tlik / layout.dagre.js
Created May 6, 2014 14:50
GraphViz/Sugiyama layout for Cytoscape.js using dagre
;(function($$){ 'use strict';
// default layout options
var defaults = {
ready: function(){}, // on layoutready
stop: function(){} // on layoutstop
};
// constructor
// options : object containing layout options