|start connection on mouse click [message #242220]
||Tue, 08 April 2008 12:36
Originally posted by: christianstre.gmx.de|
I'm trying to start a connection when clicking a node. The problem is
that selection and dragging of nodes must be available too. So it should
only happen when clicking a special part of the node (for example some
small rectangles on the edges).
I don't know how to start. I could paint the "start connection
rectangles" on the figures, but then I would have to check the
coordinates of the click by myself. There must be a better way.
Somebody has an idea or an example?
(Drag'n'drop instead of clicking source and target separately would be
Powered by FUDForum
. Page generated in 0.03089 seconds