dartangular-dart

Dart / AngularDart - how to create diagram/flowchart?


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.