mercredi 18 septembre 2019

draw2d: how to get port, connection details

I am using draw2d with React. I have the node, ports, and connections working. My Questions are

  1. How to get the connected ports, am using canvas.
  2. How to get the connection path details between ports.
  3. Capture click events on the ports.
  4. Capture click events on the connections. using new draw2d.Connection({})

versions

 "dependencies": {
   "draw2d": "1.0.19",
   "jquery": "3.4.1",
   "jquery-ui-bundle": "1.12.1-migrate",
   "react": "16.8.6",
   "react-dom": "16.8.6",
   "react-scripts": "2.1.8"
 },

Your help is greatly appreciated, struggling with this one. Very new to this library. Thank you




Aucun commentaire:

Enregistrer un commentaire