Here's a basic first pass at 
this: 
https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/graphs.ipynb

The gist is that I'd like to build a "simple_graph", then extract the x/y 
coordinates of the nodes given some layout algorithm.  It seems like the 
"layout_spring_adj" gives me the coordinates I want, but this is the only 
method I can find which works.  I'm trying to decide whether I should 
submit PRs to GraphLayout to separate generation of the x/y coordinates for 
the other algorithms... any opinions?

On Wednesday, February 10, 2016 at 11:48:33 AM UTC-5, Tom Breloff wrote:
>
> I'm thinking through a nice way to implement visualization of graphs (#48 
> <https://github.com/tbreloff/Plots.jl/issues/48>) in Plots.  I think what 
> makes sense is to use something like 
> https://github.com/IainNZ/GraphLayout.jl, but without the dependence on 
> Compose.
>
> I guess my questions: is there a better (lightweight) alternative to 
> GraphLayout for determining the coordinates for drawing graphs?  Should I 
> submit a PR to GraphLayout in order to separate the "layout algorithm" from 
> the "Compose drawing"?
>
> I would much prefer a pure-julia solution if possible.
>
> Thanks,
> Tom
>

Reply via email to