graphview 0.1.1 copy "graphview: ^0.1.1" to clipboard
graphview: ^0.1.1 copied to clipboard

outdated

GraphView is used to display data in graph structures. It can display tree layout using BuchheimWalkerAlgorithm and Directed graph using FruchtermanReingoldAlgorithm. Useful for Family Tree, Hierarchy [...]

example/example.dart

import 'package:flutter/material.dart';

import 'GraphViewClusterPage.dart';
import 'TreeViewPage.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(children: [
          FlatButton(
              onPressed: () => Navigator.push(
                context,
                MaterialPageRoute(
                    builder: (context) => Scaffold(
                      appBar: AppBar(),
                      body: TreeViewPage(),
                    )),
              ),
              child: Text(
                "Tree View (BuchheimWalker)",
                style: TextStyle(color: Theme.of(context).primaryColor),
              )),
          FlatButton(
              onPressed: () => Navigator.push(
                context,
                MaterialPageRoute(
                    builder: (context) => Scaffold(
                      appBar: AppBar(),
                      body: GraphClusterViewPage(),
                    )),
              ),
              child: Text(
                "Graph Cluster View (FruchtermanReingold)",
                style: TextStyle(color: Theme.of(context).primaryColor),
              )),
        ]),
      ),
    );
  }
}
448
likes
0
pub points
96%
popularity

Publisher

verified publishernabilmh.com

GraphView is used to display data in graph structures. It can display tree layout using BuchheimWalkerAlgorithm and Directed graph using FruchtermanReingoldAlgorithm. Useful for Family Tree, Hierarchy View, Flutter Widget Tree.Useful for Social network, Mind Map, Cluster, Graphs, Intercity Road Network,

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, pedantic

More

Packages that depend on graphview