JsPlumb - pipe your UI elements together
Neat, but there are a few edge cases that you may want to consider. Graph layout is one of those problems that's easy for a human but a pain to program, as I'm sure you've noticed.The bezier connectors can get ugly when the endpoints are near each other-- making a sort of "N" shape. I assume this is because there's a control point offset a certain distance from the actual endpoint, but could that shrink as the total offset decreases?For the flocwchart connectors demo, the connection "4 - 3" would be easier to follow with one corner instead of three.