Reputation: 2580
What layout name / type and configuration in cytoscape.js I shod use to achieve the layout in the picture below Like Horizontal Tree....
Upvotes: 1
Views: 1462
Reputation: 12242
Dagre with a left-to-right alignment:
Extension : https://github.com/cytoscape/cytoscape.js-dagre
Demo with top-to-bottom : http://js.cytoscape.org/demos/e52c2fbc0b09edd6ec46/
layout: {
name: 'dagre',
rankDir: "RL",
}
Upvotes: 3