nabil6391 / graphview

Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
MIT License
415 stars 115 forks source link

Generic type argument in Node and Graph #109

Open IchbinLuka opened 1 year ago

IchbinLuka commented 1 year ago

Currently the data stored in the Nodes has a dynamic type. To fully utilize Darts type system we could add a type Argument to the Node and Graph classes specifying the type of the data stored in the Nodes.

This would allow for static type analysis when dealing with Nodes.