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

Making graphview work with existing flutter directed/weighted graph data structures #121

Closed
matriculus opened this issue Feb 26, 2024 · 2 comments

Comments

@matriculus
Copy link

I have seen the issue of every flutter graphview functionality comes with its own graph data structure and they all lack in crucial functionalities.

GraphView is one of the best I have seen. But rather having a custom graph data structure, if GraphView supports existing directed graph data structures in flutter like https://pub.dev/packages/directed_graph, and add functionalities of weighted edges with arrow thickness, it will be of great help.

I can join the party for this implementation, I know it is a big task. I can put my hand if someone is interested.

@nabil6391
Copy link
Owner

I think its quite easy to map from one data structure to another, like how I shown to convert from json to the Graph Nodes. I am more curious if the above packages have implementations for layouting the nodes, which is primarily what this package is focused on.

@matriculus
Copy link
Author

Got it. I realised it when trying to replace the graph last night. Makes sense. Especially updating the layout needs functionality which cannot be implemented in standard graph data structures.

Is there a way to implement edge thickness and edge weight here? Just curious.

@matriculus matriculus closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants