JavaFX: How to connect two Nodes by a Line?
The code in this response is based on the answer to the question: CubicCurve JavaFX The sample below: assumes all nodes involved are siblings. ensures the connecting line is not pickable by invoking setMouseTransparent(true) on the line. updates the line automatically to connect the centers of the two anchor nodes as the anchor nodes are … Read more