Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loopback and backward direction support #79

Open
decamel opened this issue Apr 17, 2022 · 2 comments
Open

Loopback and backward direction support #79

decamel opened this issue Apr 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@decamel
Copy link

decamel commented Apr 17, 2022

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

@nabil6391
Copy link
Owner

Can you share some usecase?

@nabil6391 nabil6391 added the enhancement New feature or request label Apr 25, 2022
@decamel
Copy link
Author

decamel commented Apr 28, 2022

@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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants