Search packages, repositories and app categories

Package detailsv0.4.2

gviz

A simple utility for creating Graphviz directed graphs using an object oriented API.

AndroidiOSLinuxmacOSWebWindows
30-day downloads
47.8K
Likes
12
Pub points
155

Install package

flutter pub add gviz

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

gviz is a Flutter/Dart package that provides an object-oriented API for creating Graphviz-directed graphs. It simplifies the generation of visual graph structures by allowing developers to define nodes, edges, and graph attributes programmatically. The package integrates seamlessly with Flutter applications across multiple platforms, enabling dynamic visualization of hierarchical or flow-based data. It's ideal for representing relationships in software architecture, state machines, or dependency trees. With support for Android, iOS, Linux, macOS, Web, and Windows, gviz ensures broad compatibility. Its clean, intuitive interface makes it accessible for both beginners and experienced developers.

Use cases

  • Visualizing software architecture
  • Creating state transition diagrams
  • Displaying dependency trees
  • Generating flowcharts
  • Modeling network topologies

Key features

  • Object-oriented API
  • Cross-platform support
  • Simple node and edge definitions
  • Integration with Flutter
  • Support for Graphviz syntax

Suitable for

  • Developers building diagram-heavy apps
  • Educational tools with visual logic
  • Tools for system design visualization
  • Applications requiring dynamic graph rendering

Considerations

  • Limited to directed graphs
  • Requires understanding of Graphviz syntax
  • Not suitable for real-time interactive graphs
  • Best for static or pre-rendered diagrams
  • Dependent on external Graphviz rendering

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Pub Package CI

A simple Dart package for writing Graphviz dot files.

final graph = Gviz()
      ..addNode('solo')
      ..addEdge('solo', 'solo');
print(graph);

This will produce:

digraph the_graph {
  solo;
  solo -> solo;
}

To create undirected graphs, use the constructor parameter like so: Gviz(isDirected:false).

Categories

Source repository

Projects using this package

No data available yet.

Rankings