OrgChart JS v9.00.30

Released: Dec 30, 2025

Aggiornamenti in v9.00.30

Funzionalità

  • Added Tree List Layout:
    • You can now display hierarchies using the Tree List Layout, which combines a tree structure with a scrollable list view.
  • Now you can define some of the template properties as function.
  • Added two new templates: clara and treeListItem.
  • New Static Configuration Options:
    • OrgChart.TREELIST_WHEEL_STEP - Controls the vertical scroll speed in the Tree List layout.
    • OrgChart.TREELIST_SCROLLBAR_WIDTH - Sets the scrollbar width (in pixels) for the Tree List layout.
    • OrgChart.CONVERT_IMAGES_TO_BASE64_BEFORE_EXPORT - Embeds external images as Base64 before export. This makes exported SVG files fully standalone and safe to share or view offline.
  • New Node Properties (each node now exposes additional information):
    • node.childCount - Number of direct child nodes.
    • node.collapsedChildCount - Number of hidden (collapsed) direct children.
    • node.deepCollapsedChildCount - Total number of collapsed descendant nodes at all levels.
    • node.deepChildCount - Total number of descendant nodes.
    • node.isTreeListItem - Indicates whether the node is rendered as a Tree List item.
    • node.treeList - Tree List layout state and configuration.
  • New Template Property:
    • OrgChart.template.[templateName].treeListMaxHeight - Sets the maximum height of the Tree List. If content exceeds this height, vertical scrolling is automatically enabled.
  • Updated Static Method:
    • OrgChart.wrapText(...) - Formats and wraps text to fit within a specified width and number of lines, returning an SVG-compatible string.
  • Breaking Changes:
    • The following APIs have been removed. If you use any of them, you must migrate to the new Export functionality:
      • Export to PDF
      • Export to PNG
      • Other export formats
    • Removed methods and options:
      • exportPDFProfile
      • exportPDFPreview
      • exportPNGProfile
      • exportPDF
      • exportPDFFromCharts
      • exportPNG
      • exportSVG
      • exportVisio
      • OrgChart.pdfPrevUI
      • OrgChart.HIDE_EDIT_FORM_ON_PAN
      • onField
      • sticky