简体   繁体   中英

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"
 },

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM