gojs 0.0.1 copy "gojs: ^0.0.1" to clipboard
gojs: ^0.0.1 copied to clipboard

outdated

A Dart interface for GoJS

A Dart interface for GoJS: https://gojs.net/

For a full working flowchart app, checkout for example/flowchart.

Simple example:

import 'package:gojs/gojs.dart';
import 'dart:html' as html;

// some simple html with a div like <div id="diagram"></div>

void main() {
  var diagram = html.document.getElementById('diagram');
  
  var myDiagram = GoJSDiagram(diagram)
    ..model = GoJSModel.fromJson('''
        [
          { "key": "Alpha" },
          { "key": "Beta" },
          { "key": "Gamma" }
        ]
    ''');
}
6
likes
15
pub points
51%
popularity

Publisher

unverified uploader

A Dart interface for GoJS

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

js

More

Packages that depend on gojs