snapapps / edgy

a visual programming language inspired by Scratch
http://snapapps.github.io/
GNU Affero General Public License v3.0
51 stars 21 forks source link

Graph rendering #8

Closed stevenbird closed 10 years ago

stevenbird commented 11 years ago

Find out what is involved in using WebCoLa to render graphs. Add an option to the stage for selecting the rendering algorithm. http://marvl.infotech.monash.edu/webcola/

Muon commented 11 years ago

Not much needs to be done for unconstrained layout, apart from specifying the use of WebCoLa when drawing. WebCoLa provides a great drop-in replacement for D3's force-directed layout. Separation constraints seem to need to be specified manually (no docs, so I can't confirm). However, an issue may be that it only does force-directed layout, though it is quite extensively tunable.

stevenbird commented 11 years ago

Create a test case, and if problem is reproducible, discuss with a developer at Monash.

stevenbird commented 10 years ago

Since this does not have clear benefits to us right now, I will close this, and we can return to it later.

stevenbird commented 10 years ago

I'm reopening this because we need to have more layout options. E.g. highly connected graphs end up too tightly clustered to be readable with the force-directed layout; graphs that are trees sometimes need be oriented. @tgdwyer has offered to advise.

tgdwyer commented 10 years ago

Hi there, happy to help. Have you already tried using WebCola or are you still just considering it? There's some basic documentation and lots of examples at http://marvl.infotech.monash.edu/webcola That's really the best starting point. After that I'm curious to know more about precisely what you are interested in doing.

Muon commented 10 years ago

Togglable WebCola support has been merged.