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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i treant-ng

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

540 kB

Total Files

113

Last publish

Collaborators

  • dmitrytishkin