The 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. You can enable the Transparent property to hide the node’s geometry and leave visible only the drawing.
You can now 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.
- 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
You are welcome to try the beta version – here is an archive that contains the updated diagramming.js library, help file and a new “SvgNodes” example demonstrating both SVG and jQuery support:
We shall be glad to receive any comments, suggestions and feedback. You can write us at e-mail firstname.lastname@example.org or use the help desk. You can use the JsDiagram section on MindFusion forum to post questions about the tool.
The user interaction model includes resizing / moving / selecting and modifying any diagram element. The tool boasts an elegant API, which is documented in details as well numerous step-by-step guides and tutorials. Various samples are provided to let you learn quickly how to use the most important features of the library – check them here. JsDiagram is not only the perfect choice for creating any type of diagram in the browser – it can also arrange it the way you wish with a mouse click using one of its automatic graph layout algorithms. For more details about the features of the component, please visit the JsDiagram page.