Dart / AngularDart – how to create diagram/flowchart?

Issue

Could someone please point me to some tutorial or provide an example code snippet about how to create a diagram/flowchart in Dart? The simple scenario would be to have couple of elements connectable to each other and possibility to read which one is connected where. There are tons of JS examples but for learning purposes I would like to go the Dart way 🙂

Solution

I’ve been using a wrapper around an JS GraphViz library for a number of projects.

See https://pub.dartlang.org/packages/pubviz – Here’s the output: http://kevmoo.github.io/pubviz/

Also https://pub.dartlang.org/packages/gviz

It’s not super interactive or anything, but it’s useful when you just want to visualize a graph structure.

Answered By – Kevin Moore

Answer Checked By – Senaida (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *