Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for ASP.NET, V6.2 (Read 896 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 543
Joined: Apr 6th, 2003
Diagramming for ASP.NET, V6.2
Nov 29th, 2018 at 4:58pm
Print Post  
We have released version 6.2 of NetDiagram. It contains the following new features and improvements:

Flowchart graph layout
(client side / JavaScript)
FlowchartLayout recognizes program code-like patterns in the graph, such as loops, sequences and if/switch branchings, and arranges them recursively. FlowchartLayout could be used to arrange other types of graphs as well, though with some restrictions. For example it treats all back links as loops in the code, and expects that they are nested - loop links starting closer to the stop node should end closer to the start node. Another similar restriction is that there shouldn't be any cross-links that connect different branches of a decision sub-graph.

Path finding
(client side / JavaScript)
The PathFinder class provides methods that help you find paths and cycles in a graph:
  • findShortestPath finds the shortest path between two DiagramNode objects.
  • findLongestPath finds the longest path between the specified DiagramNode objects.
  • findCycle detects whether the specified DiagramNode participates in a cycle.
  • findAllPaths finds all paths that exist between two DiagramNode objects.
  • findAllCycles finds all cycles in the underlying diagram.

Path objects returned by these methods contain nodes, links and items arrays containing sequences of elements in the path. The new PathFinder sample page included in distribution demonstrates path finding and animations over the found paths.

Embedded hyperlinks
Nodes and Text components with style text enabled can now contain <a> tags to create hyperlinks. When a link is clicked, the control raises hyperlinkClicked event to let you implement navigation:
Code (Javascript)
Select All
// node is a ShapeNode instance
node.setText("test <a=''>link</a> test");

// attach an event listener to the hyperlinkClicked event
diagram.addEventListener(Events.hyperlinkClicked, onHyperlinkClicked);

function onHyperlinkClicked(sender, args)

Container improvements
  • resizeToFitText method and EnableStyledText property added to the ContainerNode class.
  • containerChildRemoved event now also raised when dragging multiple selected child nodes out of a container.
  • Improved handling of folded containers by automatic layout classes and link routing methods.

Visio2013Exporter improvements
  • Visio2013Exporter now does full rendering for table, container and composite nodes.
  • Visio2013Exporter renders custom nodes that draw themselves through the IGraphics interface.
  • Coordinates of exported link end points are now assigned Visio formulas and follow the borders of resized nodes.

  • The Text property of nodes and links has been moved to the base DiagramItem class, allowing for easier text search and edit operations in the diagram. The Caption property of container and table nodes now only wraps the base Text property. Map and Visio nodes now render Text too.
  • Typescript definitions now available for the Diagramming.Lanes namespace.
  • Auto-arranged link labels now can optionally be placed over link segments and containers by setting diagram's AutoArrangeAvoidSegments and AutoArrangeAvoidContainers properties to false.
  • Improved text alignment for DiagramLink texts.
  • The serializeTag event lets you save complex Tag and Id objects in XML format.
  • Various arrowhead rendering fixes.

Installer for the latest version can be downloaded here, or from the clients area on our site:

Updated assemblies and script files are also available as MindFusion.Diagramming.WebForms NuGet package.
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint