OrgChart JS v7.0 发布

日期:2020/7/3


新功能

增加了对子树的支持,现在可以用子树定义组:

新的方法:

  • maximize.
  • minimize.
  • setOrientation.
  • setLayout.

新的选项:

  • assistantSeparation.
  • columns.

制动变化

移除的选项:

  • dragDropMenuUI.
  • group specific tags from tags object.

移除的方法:

  • hasTag.
  • addTag.
  • groupNode.
  • group.
  • removeNodeTag.
  • addNodeTag.
  • removeTag.

移除的事件:

  • updatetags.
  • group.

更改了以下方法的签名:

  • updateNode.
  • removeNode.
  • addNode.
  • update - now returns the chart object.
  • remove - now returns the chart object.
  • add - now returns the chart object.
  • getBGNode now is getNode.
  • OrgChart._randomId now is OrgChart.randomId.
  • visibleNodes now is visibleNodeIds.

更改了以下事件的签名:

  • expcollclick.

Image