Version 1.5 adds the following new features:
Styles and ThemesAn instance of the Style class can be used to set items' appearance properties as a single unit via the setStyle method. In order for style attributes to be used, the respective local appearance properties of DiagramItem objects must have undefined or null values. If an item's Style does not define a value for some attribute, it is looked up in the styling hierarchy, first in the diagram's Style, next in the current Theme, and finally in the set of default styles defined for each item class.
ShadowsDiagram items can now cast shadows. The shadow color is specified via the setShadowColor method and the offset of a shadow from its item is set via setShadowOffsetX and setShadowOffsetY methods. Shadows aren't rendered if getEffectiveShadowColor returns null or undefined value.
Miscellaneous~ Call the setTooltip method to associate tooltip text with an item. The tooltip appears when the mouse pointer hovers over an item for a second.
~ Specify the line width of item frames via the setStrokeThickness method.
~ initializeNode and initializeLink events are raised when users start drawing a node or a link interactively.
~ The NodeListView control can now host tables and containers. The addBox and selectBox methods have been replaced by addNode and selectItem methods.
~ The setStartPoint and setEndPoint methods of links provide shortcuts for setting the first and last points in ControlPoints.
If anyone is interested in trying the beta version, please download this archive containing the updated script and help files:
https://mindfusion.eu/_beta/JsDiagram15.zipAny comments, questions and general feedback are welcome.