ngneat / dag

🐠 An Angular service for managing directed acyclic graphs
MIT License
154 stars 7 forks source link

Does this support topological sort? #34

Open Trevortni opened 2 years ago

Trevortni commented 2 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[X] Support request
[ ] Other... Please describe:

Is this primarily meant as a visualization tool or a data management solution?

I am looking for a tool to generate a topological sort for a dependency graph, to establish an order of execution for interdependent tasks, and I am not clear if this solution would be useful for my use case.

pjlamb12 commented 1 year ago

I think this can be used to establish an order of execution for interdependent tasks. In fact, I initially created this library for that purpose at work. I wish I could show a demo of that, but that product is not available to demo. But essentially we use it to allow people to build workflows. If an event occurs, the workflow is kicked off, and then the user can build the workflow, with if statements and branching and everything. It looks a lot like the live demo, honestly.