noflo / noflo-ui

NoFlo Development Environment
https://app.flowhub.io
MIT License
767 stars 173 forks source link

enhancement: allow manipulating connection splines #450

Open ryedin opened 9 years ago

ryedin commented 9 years ago

Just capturing the idea in case someone gets time to play with it...

Many times I find myself wishing I could add spline handles and move them around to make the connections follow a path that doesn't cut through components. Right now we have to move things around a lot to get the graph aesthetics we want; this feature would cut down on some of that.

The spline handles could be added as x,y pairs in the connection metadata, under noflo-ui:splineHandles section (it would be good to keep metadata sections namespaced to enable external tooling to augment as well down the road).

forresto commented 9 years ago

I like this idea. Ideally, autolayout would make the graph we want every time. But especially since autolayout isn't routing edges, this would be a good workaround.

The implementation will be in the-grid/the-graph.