cytoscape / cytoscape.js

Graph theory (network) library for visualisation and analysis
https://js.cytoscape.org
MIT License
10.09k stars 1.64k forks source link

Tuning the breadthfirst layout #874

Closed sylvain-hamel closed 9 years ago

sylvain-hamel commented 9 years ago

Hi,

Thanks for the library. I'm only getting started but it looks awesome.

Using breadthfirst I get this result:

bfr

I'm looking for something closer to this:

aftr

Are there options (or another type of layout) that will get me there?

maxkfranz commented 9 years ago

You may be interested in Dagre : http://js.cytoscape.org/#layouts/dagre

maxkfranz commented 9 years ago

Closing for now; re-open if Dagre does not meet your requirements

sylvain-hamel commented 9 years ago

@maxkfranz Dagre works great, thanks.