v-network-graph icon indicating copy to clipboard operation
v-network-graph copied to clipboard

Self-Loops

Open athevapalan opened this issue 3 years ago • 4 comments

Is there a way to visualize self-loops? Currently an edge, where source and target are the same, only goes out of the node but the end doesn't go back into the node, but rather ends somewhere besides the node without connecting to anything.

athevapalan avatar Feb 14 '22 13:02 athevapalan

Hi @athevapalan, Sorry for the late reply. Currently, self-loop edges are not supported. If it is to be supported, it will take a while to add it, as many accompanying functions such as drawing multiple lines, passing paths, and displaying labels will need to be considered and implemented. It may be a partial solution, but I will consider it.

dash14 avatar Feb 23 '22 14:02 dash14

Hello, self-loops is a feature I would like also to use. I am using nodes and edges to represent entities and relations. A self relation would mean having a self loop, the same entity is at both ends of the relation.

I think a good fit for self loops is also in state machines. Some inputs in a state machine do not change state: like this state machine or this

violent-boomerang avatar Apr 20 '22 22:04 violent-boomerang

I also run into the same use case, is there a work-around for this right now?

hellohanchen avatar Jun 22 '22 20:06 hellohanchen

would be a nice feature for sure =)

Schewns avatar Aug 04 '22 14:08 Schewns