Skip to content

expose this as a npm package #6

@hanzhangyu

Description

@hanzhangyu

Dear @skorunka , I had export this to a npm package.
And fixed two bugs in the tree algorithm.

Fixed:

  1. x may less than zero
    https://jsfiddle.net/PaulHan/xhLatwg1/1/
  2. the sibling's has an error order
    https://jsfiddle.net/PaulHan/qovht6y7/

Feature:

  1. support toggle
  2. support tooltip and format
  3. support padding and border
  4. support chart auto-size

Todo:

Let user select destroy the element or not. if not, we will calculate the diff and use animate to update the node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions