Skip to content
pubscout

advanced_graphview

1.0.4, released 2 years ago by luckyapp.in

Create Tree, Graph, and Topology UIs with simple setup.

WASM-ready
$ flutter pub add advanced_graphview
Source repository

What it does

Advanced Graphview allows users to create and display Tree, Graph, and Topology UI flows. It includes a custom widget and controller to handle graph nodes, custom lines, and tap events.

AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display flowcharts, trees, or network topologies in your Flutter app.
  • You want custom node builders and simple tap event handling on graph nodes.

Skip it when

  • You need standard data visualization charts like line, bar, or pie charts.
  • You want a mature, heavily tested graph visualization package with wide ecosystem adoption.

Strengths

  • Simple setup for creating trees and graph topologies
  • Provides callbacks for node taps and custom line drawing
  • Supports a custom builder for node widgets

Weaknesses

  • Limited documentation and examples beyond basic usage
  • Relies on Flame as a dependency which might increase app footprint

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

not documented

AdvancedGraphview(
    nodePadding: 50,
    nodeSize: 200,
    isDebug: false,
    graphNode: getExampleNode(),
    backgroundColor: Colors.black,
    pixelRatio: 10,
    onNodeTap: (graphNode) {},
    builder: (GraphNode graphNode) {
      return Container(
        width: 200,
        height: 200,
        child: const Center(child: Text("Hello")),
      );
    },
)

Alternatives

Packages that do the same job and could replace advanced_graphview.

Works with

Packages commonly used together with advanced_graphview: ones it builds on, ones built on it, and its own family.