treant-ng

1.0.2 • Public • Published

Treant-ng

Angular Wrapper for treant-js library.

Added opportunity for provide "templateRef" and "viewContainerRef" for nodes.

Simply add your params to config by follow example:

chart: {
  container: "#tree-simple",
  nodeTemplate:      // Add your node templateRef
  viewContainerRef: // and ViewContainerRef object
  ...
},

Treant-js is an SVG based JS library for drawing tree diagrams. It relies on Raphael for handling SVG and animations.

Leave complaints and suggestions: https://github.com/DMITRYTISHKIN/treant-ng

Dependents (0)

Package Sidebar

Install

npm i treant-ng

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

540 kB

Total Files

113

Last publish

Collaborators

  • dmitrytishkin