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

outdated

A Dart interface for GoJS

example/main.dart

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');
  
  GoJSDiagram(diagram)
    ..model = GoJSModel.fromJson('''
        [
          { "key": "Alpha" },
          { "key": "Beta" },
          { "key": "Gamma" }
        ]
    ''');
}
6
likes
30
pub points
48%
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