dash14 / v-network-graph

An interactive network graph visualization component for Vue 3
https://dash14.github.io/v-network-graph/
MIT License
480 stars 44 forks source link

Lateral edge marker offset #126

Open tomas-kucera opened 11 months ago

tomas-kucera commented 11 months ago

This is a new feature suggestion.

Currently all edges (except for multiple edges between the same nodes) go from the center of a source node to the center of a target node.

It would be great to have the ability to laterally offset the marker. Similarly as the margin on the marker allows axial offsetting.

It could be simple as the multiedge situation allows this offset automatically and is also configurable with the gap property.

dash14 commented 10 months ago

Hi @tomas-kucera, Thank you for the feature suggestion! It would have been easy to simply specify the offset and apply it, so I added the feature. (v0.9.7)

I've added the feature, however, I'm wondering if this will allow you to do what you hoped to accomplish. If you don't mind, I would appreciate it if you could share with us the use cases you want to achieve with this feature.

Best Regards