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
Feature request: Create graph based on data entries and provide builder argument #11
Comments
@orestesgaolin its a good idea actually. But if someone wants to place a widget based on position or connections then it might be a bit of a problem. Any suggestions on that? |
Hi there, I started to add this feature on my own. This will take some time to be runnable, but hopefully within few days I should be able to propose some change. Do you mind if I change the code style a bit to be more aligned with Flutter libraries in general? E.g. file naming, objects instantiation etc.? |
I am ok with the changes and welcome PRs, it would be better if you can create one to change the Code Style first. If thats possible |
@orestesgaolin is there any time frame you can create the PR if possible |
@orestesgaolin I am working on this feature atm, do you think the id should be a ValueKey or a dynamic ? |
This has been implemented in version 0.7.0. Have a look |
Hi, thanks for building and maintaining such a great package.
I wonder if it would be possible to allow generating a graph based on purely data classes and not widgets.
Here's what I mean. Now nodes need to be created with widgets as their arguments:
What I would love to see is to be able to just provide some data or id:
And then when creating a GraphView I would be able to provide builder:
This would simplify populating graph data and would abstract Flutter/material dependencies
The text was updated successfully, but these errors were encountered: