Open beauduffy opened 1 year ago
Hi @Xander0x did you manage to create a mindmap?
I'm trying to build something like the image that you've showed but with no success
Sadly, not.
The project I am working on depends on this so I moved away from Flutter and decided to use react native. Can achieve it with Reactflow with Webview, plus can use React native Skia as a wrapper for rendering.
I don't think it is doable with this repo, you could look into writing an algo for it if you are sticking with flutter.
Duplicate of #65
Hi, been trying to use graph view to create a mindmap, I have prototyped with the three algorithms and would like to hear your thoughts on which to use, as i believe all might be able to achieve but I have found hurdles with them.![mind-map-graphic-e1642052584778](https://user-images.githubusercontent.com/93083583/236441486-e02cde5e-0183-4b9c-826d-29f3e72e5262.jpeg)
For context, I use Flutteflow and could be denoted as a novice when it comes to dart so I am probably overlooking some concepts, I am passing in a structured json which i believe graph view can accept, example below:
FruchtermanReingoldAlgorithm I believe this could work if repulsionRate and attractionRate could be directional and therefore each of the categories could have force exerting in different directions pulling it apart, below I think each category could be built independently with a different build below is the code I used to map each category based on the nodes edges to the center, however, I cant figure out how to achieve directional pull so it is just ends up being a standard Fruchterman graph.
BuchheimWalkerConfiguration I think this could also achieve a mindmap like structure in a similar vain to my idea above in terms of mapping different individual mindmap orientations with the json. However, i think you run into the issue with collision between each of the independent mindmaps so I dont think this algo would be optimal.
SugiyamaConfiguration This could be the more suitable algo for creating the mindmap becuase it is layered and the examples look very similar to what a mindmap should look like, however with amateur knowledge I can only seem to create a typical top-down model and cant mimic the edge creation I saw in the example which is shown below, but I am curious how it can be dynamically calculated.
Apologies for the long question, just wondering which algo to use and also looking for a general direction to go into to achieve a mindmap.