OBender
OBender

Reputation: 2580

What layout name / type and configuration in cytoscape.js I shod use to achieve the layout in the picture below

What layout name / type and configuration in cytoscape.js I shod use to achieve the layout in the picture below Like Horizontal Tree....

What layout name / typea and configuration in cytoscape.js  I shod use to achieve the layout in the picture below

Upvotes: 1

Views: 1462

Answers (1)

maxkfranz
maxkfranz

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

Related Questions