The MindFusion Forums | |
Flow Diagramming Components >> News >> Diagramming for JavaScript, V2.8
https://mindfusion.eu/Forum/YaBB.pl?num=1479719302 Message started by Forum Admin on Nov 21st, 2016 at 9:08am |
Title: Diagramming for JavaScript, V2.8 Post by Forum Admin on Nov 21st, 2016 at 9:08am
We have released version 2.8 of JavaScript Diagram library. It contains the following new features:
Fluent API Builder objects with property setters and shortcut methods for font and brush creation add support for fluent programming style. Static With and instance init methods in DiagramItem, Style and Layout -derived classes return a builder instance that can be used to set up respective new or existing objects: [code] diagram.addItem( ShapeNode.With() .brush("lightGray") .font("Arial", 4) .enableStyledText(true) .text("Task <i>1</i>") .tooltip("This is the task") .create()); diagram.getFactory() .createShapeNode(20, 20, 20, 20).init() .brush("lightGray", "white", 20) .font("Arial", 4) .enableStyledText(true) .text("Task <i>2</i>") .tooltip("This is the second task"); diagram.arrange( TreeLayout.With() .levelDistance(20) .nodeDistance(20) .linkType(TreeLayoutLinkType.Cascading) .create());[/code] DiagramLink improvements
Miscellaneous
Registered customers with an active upgrade subscription can download the licensed version from the clients area on our site. A trial version is available for download here: https://mindfusion.eu/JsDiagramTrial.zip Enjoy! |
The MindFusion Forums » Powered by YaBB 2.6.11! YaBB Forum Software © 2000-2024. All Rights Reserved. |