graphview icon indicating copy to clipboard operation
graphview copied to clipboard

Loopback and backward direction support

Open decamel opened this issue 3 years ago • 2 comments

It would be greate if this library could support such structure of graph. image

decamel avatar Apr 17 '22 21:04 decamel

Can you share some usecase?

nabil6391 avatar Apr 25 '22 23:04 nabil6391

@nabil6391 Unfortunately I can not provide you a great example. I was wondering how I can visualize Mealy machine state transitions and met some problems when I made next thing:

***
  @override
  void initState() {
    final node1 = Node.Id(1);
    final node2 = Node.Id(2);

    graph.addEdge(node1, node2);
    graph.addEdge(node2, node1);
  }
***

And also Mealy machine have some rules which do not changes state. In this case I had to make this:

    graph.addEdge(node1, node1);

decamel avatar Apr 28 '22 15:04 decamel