MindFusion.Diagramming for JavaScript 2.7 released

Released: Aug 15, 2016

2.7 中的更新

特性

  • Treemap Layout - Treemaps represent hierarchies by nesting child nodes within their parents, where the areas of leaf nodes are proportional to their Weight values.
  • XML Serialization - In addition to the loadFromXml method, the Diagram class now provides a saveToXml method that serializes its contents in XML format.
  • Miscellaneous Updates
    • Set the TableNode.prototype.useScrollBars to show full scrollbars for scrollable tables instead of up/down buttons in captions.
    • The ShowDeleteButton property of DiagramNode displays a close/delete X button in upper-right that lets users delete the node by clicking.
    • Styled text mode (EnableStyledText) now supports <sub> and <sup> tags for respectively subscript and superscript.
    • DiagramLink now calls onUpdateVisuals method to let you implement custom-drawing, working in same manner as its counterpart in node classes.
    • The new Flowcharter sample project shows how to create an online flowchart editor, providing UI for zooming, scrolling, creating new nodes and formatting nodes' contents.
    • The new TreeMap sample project demonstrates the TreeMapLayout tree mapping algorithm, where node weights are set to either population size or area of world countries.
    • The new Inheritance Diagram sample project demonstrates how to visualize classes using TableNode objects.