6 ms·
It's cute and definitely a great way to "draw S-curved arrow between boxes", but, under the assumption of being built to be used within a real project with doze
by anonymous532 5y ago
It's cute and definitely a great way to "draw S-curved arrow between boxes", but, under the assumption of being built to be used within a real project with dozens or hundreds of overlapping connections, this, like many other node systems, fails to be usable unless you push the complexity somewhere else.
- anamexis 5y ago> under the assumption of being built to be used within a real project with dozens or hundreds of overlapping connections This is an odd assumption to make.
- AceJohnny2 5y agoNot so weird. Here's a random example, from Wikipedia: https://en.wikipedia.org/wiki/Force-directed_graph_drawing#/media/File:SocialNetworkAnalysis.png https://en.wikipedia.org/wiki/Force-directed_graph_drawing#/...
- TobTobXX 5y agoThese are straight lines. Not sure you even _want_ Bézier curves in this context, striaght lines are probably clearer in these graphs with hundreds of connections.
- AceJohnny2 5y agoAh, good point.
- quickthrower2 5y agoIn that case the tool would need to lay out everything holistically but while it might do great arrow wise it could be useless for the user if they wanted the diagram a certain way for a reason.
- anonymous532 5y agoYes, that is what I've noticed too. On medium/big projects macro-level(holistic) arrow functionality is far more important than having beautifully curved arrows from node A to node B. Solving that problem strangely resembles routing on a circuit board with buses, labels, colors, layers etc.
- kevin_thibedeau 5y agoThere is a section in Graphics Gems 3 that describes a layout system for an Atari ST DAW app.
- drudru 5y agoWhich chapter in Gems III has this? I couldn’t find it.
- dragonwriter 5y agoIs someone selling it as some kind of universal solution for production diagramming problems of all scales, or is this just unnecessary negativity?
- monkeycantype 5y agobut it's solving one part of the problem, and doing a good job at it. I've been making diagrams using graphviz, but setting the positions and edge curves manually, pulling the nodes and edges out of a list in excel https://github.com/mathew-j-davis/boxesandarrows https://github.com/mathew-j-davis/boxesandarrows I've been setting the 'waypoints' for more complex curves (curves with many bends) manually (typing the bezier numbers in by hand), while I try and figure out how I want them routed, you're right it's not easy figuring out rules for where edge should go, let alone implementing it
- mbrodersen 5y agoI don’t think the author is making any claims about the algorithm being able to handle more than the 2 box case. Why the negativity?
- arendtio 5y agoI think it depends on the use case and the organization/ordering of the boxes, which is not the focus of this library. So for example, if the user is responsible for organizing the boxes and there is also a way to create custom arrows, this library can be used to suggest arrows, which might be good 95% of the time. That would be better than many of the tools I have used over the years. However, if you want to generate a final diagram and can't guarantee, that the order of boxes doesn't allow for overlapping connections, this library is probably the wrong choice.