Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
921 stars 177 forks source link

can we support drawing links between nodes by users themselves #206

Closed jessetalk closed 1 year ago

jessetalk commented 2 years ago

to support draw a link between two nodes (do it by user themself)

  1. change the node's background when mouse move over it, and change the mouse‘s shape to cross
  2. press down the mouse begin to draw the virtual/fake line
  3. while draing, drawing the virtual/fake line from the start point to where the mouse go
  4. until the mouse move over to another node, and release the mouse, create a link between the source node and the target node.
jessetalk commented 2 years ago

after digging into the source code of demo, i think my question was to support drawing portless links by user themselves, is there any one know how to do this?

zHaytam commented 2 years ago

Hello, Unfortunately, it's not possible right now :/ But I should start working on it very soon!

jessetalk commented 2 years ago

Hello, Unfortunately, it's not possible right now :/ But I should start working on it very soon!

that's so cool . looking forward to it~

zHaytam commented 1 year ago

Part of #213.