Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Consider straight edges #85
In meemoo/dataflow we used edges with 45 degree angles:
This gave it a more "machine-like", and often cleaner look.
We could consider something like a hybrid of these, for example with edges that can only go at 45deg angles, but have rounded corners. That could fit well with the Tron-esque aesthetics.
This could be especially useful if autolayout noflo/noflo-ui#53 can give us edge bend coordinates
Interesting paper with nice results, http://www1.pub.informatik.uni-wuerzburg.de/pub/wolff/pub/nw-dlhqm-10.pdf
Would be good to find a method that can run separately from node autolayout, so edges can always be routed in a smart way.
Orthogonal Connector Routing from Monash looks good. This became libavoid. There is an emscripten port, but it is 2MB.
Sounds like this step might be easier for us since we snap-to-grid. But it would also be nice to avoid node and group labels.
I started playing with the first step: http://jsbin.com/fofun/9/edit?js,output (fofun!)
Check out the video called "Routing Highlights":
Might be able to pick some ideas from there.