Yggdrasil 0.2

SVG tree list graph visualization.



Details

Author
Tor Viktorsson
Current version
0.2
GitHub
robotacon/Yggdrasil
Downloads
1308
Category
Widgets
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.5: '*'

How to use

Use in the following manner:

window.addEvent('domready', function() {

    var diagram = new TreeDiagram(400,400).inject($('renderer'));

    var root = new Component(diagram,200,50,"root caption",{x: 100, y: 100}).makeDraggable();

    var childA = new Component(diagram,200,50,"child A").makeDraggable().connectTo(root);
    var childB = new Component(diagram,200,50,"child B").makeDraggable().connectTo(root)
    var childC = new Component(diagram,200,50,"child C").makeDraggable().connectTo(childB);

}); 

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus