# advanced_graphview **Repository Path**: ComLibrary/advanced_graphview ## Basic Information - **Project Name**: advanced_graphview - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-08 - **Last Updated**: 2025-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Advanced Graphview enables user to create Tree, Graph, Topology Ui with simple Setup. [![](https://luckyapp.in/assets/asstes/advanced_graphview1.gif)](https://luckyapp.in/assets/asstes/advanced_graphview1.gif) [![](https://luckyapp.in/assets/asstes/advanced_graphview2.gif)](https://luckyapp.in/assets/asstes/advanced_graphview2.gif) [![](https://luckyapp.in/assets/asstes/advanced_graphview3.gif)](https://luckyapp.in/assets/asstes/advanced_graphview3.gif) ## Features Advanced Graphview can create Tree, Graph, Topology Ui with simple Setup.. ## Getting started Add the package in pubspec.yaml and then use the widget AdvancedGraphview. ## Usage ```dart Widget exampleWidget(){ TestGraphNode getExampleNode() { return TestGraphNode( id: '1', value: "Advanced Graphview", graphNodes: [ ], ); } return AdvancedGraphview( nodePadding: 50, nodeSize: 200, isDebug: false, graphNode: getExampleNode(), backgroundColor: Colors.black, pixelRatio: 10, onNodeTap: (graphNode) { ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text("Tap Event detected ${graphNode.id}"), )); }, advancedGraphviewController: advancedGraphviewController, onDrawLine: (lineFrom, lineTwo) { return Paint() ..color = Colors.blue ..strokeWidth = 1; }, builder: (GraphNode graphNode) { return Container( width: 200, height: 200, child: const Center( child: Text("Hello"), ), ); }, ); } class TestGraphNode extends GraphNode { @override final String id; final String value; @override final List graphNodes; TestGraphNode({ required this.id, required this.graphNodes, required this.value, }); } ``` ## Additional information For additional information contact us at nikhilishwar2@gmail.com or sharathkkotian@gmail.com. We welcome more contributors on this project.