Version 2.1 of JsDiagram adds the following new features:
SVG NodesThe SvgNode class represents nodes that can display SVG drawings. SVG graphics are rendered instead of Image, and on top of the geometry rendered by the base ShapeNode class. Enable the Transparent property to hide the node's geometry and leave only the drawing visible. The SVG file is loaded and associated with the node through an SvgContent object, which should be initialized and then assigned to the Content property.
jQuery supportNow the control can use jQuery for browser abstraction instead of Microsoft Ajax. To enable jQuery support, set MindFusionImpl="JQuery" before loading the diagram script. Instead of Microsoft Ajax $create function, use the static Diagram.create(element) method to create a Diagram instance for a given Canvas element.
Miscellaneous~ Set the BackgroundImageUrl property to draw an image as Diagram's background.
~ The TextStyle property of links provides support for several different text position and orientation styles, defined by the LinkTextStyle enumeration.
~ Set the AllowUnconnectedLinks property to true to let users draw links without connecting them to nodes.
If anyone is interested in trying the beta version, please download this archive containing the updated diagramming.js library, help file and a new "SvgNodes" example demonstrating both SVG and jQuery support:
https://mindfusion.eu/_beta/jsdiag21.zipAny comments, questions and general feedback are welcome.