MindFusion Diagram Viewer Library for Android

You can show now your diagrams and flowcharts on any Android device. With MindFusion DiagramViewer library for Android you can load any diagram, created by any MindFusion diagramming component and exported to XML. Currently, the diagram viewer supports the following item types:

  • ShapeNode
  • ContainerNode
  • TableNode
  • TreeViewNode
  • DiagramLink
Diagrams in Android mobile devices

Diagrams in Android mobile devices

The library includes all model classes and properties from MindFusion’s Java diagramming library. This provides your Android applications with access to the loaded links and nodes and their data properties, along with methods for simple hit testing from touch events. Here is a link to the online documentation of the Java diagramming component:

MindFusion.Diagramming for Java online reference.

MindFusion diagram viewer for Android is free of charge for anyone with a license for any MindFusion.Diagramming component – you can learn more about the tools here.

We have prepared a deteiled guide on how to use the library in an Android application. You can read the tutorial from here:

Tutorial: How to Render a Diagram in an Android Application

Diagramming for Java Swing 4.0.1

MindFusion has released a new version of its Diagramming component for Java Swing with various new appearance and layout features. Here are the details:

Preserve order in tree layout

The new Balance property can be set to Preserve to keep the original geometric order of child nodes when arranging them under their parent. This can be used to arrange tree branches in a specific order by first placing them in increasing horizontal or vertical positions.

The tree layout algorithm

The tree layout algorithm

Undirected Path Finding

PathFinder supports undirected mode. Its methods have been changed from static to instance, and its constructor takes an ignoreDirection parameter. If ignoreDirection is enabled, the underlying graph is treated as undirected and link direction is not considered when looking for paths.

Detecting a cycle in a graph.

Detecting a cycle in a graph.

Selection Improvements

Miscellaneous

  • Style classes now contain a FontUnit property specifying the unit of measure of FontSize.
  • The last row in a TableNode will now be rendered clipped if it fits only partially inside the node, whereas in previous versions the row would not be rendered at all.
  • The AllowAddChildren and AllowRemoveChildren properties of ContainerNode specify whether users are allowed to add or remove child nodes to / from the container.
  • and many more.

You can learn more about the new JDiagram 4.0.1 at the news page on MindFusion’s forum. You can download the trial version of the control from the link below:

Download MindFusion.Diagramming for Java Swing 4.0.1

Technical support

Your questions about the diagramming library or any other of our components are welcomed by our support team. You can write at the forum, help desk or at support@mindfusion.eu.

About Diagramming for Java Swing: JDiagram provides your Java Swing application with all necessary functionality to create and customize a diagram. The library is very easy to integrate and program. There are numerous utility methods, rich event set, more than 80 predefined shapes. The tool supports a variety of ways to render or export the diagram, advanced node types like TreeView nodes, hierarchical nodes, tables, container nodes and many more. There are 15 automatic layouts, various input / output options and fully customizable appearance. A detailed list with JDiagram’s features is uploaded here. You can check the online demo to see some of the functionality implemented.

JDiagram is royalty free, there are no distribution fees. Licenses depend on the count of developers using the tool – check here the prices.

Diagramming for ASP.NET 5.0

MindFusion has released a new version of its Diagramming for ASP.NET component. There are many new features for customizing the appearance, a new layout and a few enhancements. Here are the details:

Styles & Themes

You can apply now styles to change the appearance of the diagram items. Each style is a set
of properties, which can be applied to a given diagram item (with the DiagramItem.Style
property) or to all items of a specific type (by using a Theme). The theme is a collection of
styles. Each style in the theme sets the appearance of all items of a specific type. Themes
can be loaded from XML files.

The Slate Theme

The Slate Theme

Node effects
(n.a. in Canvas mode)

Two visual effects – the GlassEffect and the AeroEffect can be applied to nodes. Effects can
be added, removed or modified at any time and this reflects immediately on the diagram. You
can apply effects of different types simultaneously.

One way graph layout

This layout ensure that links enter into nodes from the same general direction and exit from
the opposite side. If the graph contains cycles some links bend around the nodes to keep the
enter/exit direction consistent. The algorithm aims to minimize the number of such links.

one_way_layout1

The One Way Graph Layout

Enhancements in Canvas mode

  • Items can cast shadows
  • Items can be Locked
  • Containers are available in Canvas mode
  • Tables are available in Canvas mode
  • Tooltips for items
  • and more

Enhancements in ImageMap mode

  • Items can be Locked
  • Interactive rotation of nodes
  • ImageFormat property added to ShapeListBox
  • and more

Multiple Labels per Link
(n.a. in Canvas mode)
The LinkLabels class allows multiple captions to be displayed for a single DiagramLink instance.
Link labels provide a set of properties that allow full customization of their location and
appearance. Labels support automatic arrangement to avoid overlapping nodes or other
labels.

Layers
(n.a. in Canvas mode)
Items can be assigned to layers and layers can be hidden, locked or moved up/down in the
Z-order or as a group. Use the LayerIndex property to associate and item with a layer in the
Diagram.Layers collection. Each layer has Visible, Locked and ZIndex properties, which affect
all items in the layer.

Parallel Layouts
The .NET 4 version of Diagramming for ASP.NET takes advantage of the Task Parallel Library
to enable parallelism on the different layout algorithms. Set the EnableParallelism property of
the Layout class to true to enable arranging different sub graphs on different threads to
improve performance on multiprocessor systems.

Magnifier
(in Java and Silverlight modes)
The new magnifier tool allows user to interactively zoom in or zoom out portions of the
diagram by holding down a magnifier tree or pressing a mouse button. The magnifier’s
appearance and zoom factor can be customized.

The Magnifier Tool

The Magnifier Tool

API changes
A variety of changes have been made to the API of the control to keep it elegant and simple – please consult the “What’s new section” in the online documentation.

Detailed information about the release is posted at the forum. The trial version is available for direct download from the link below:

Download MindFusion.Diagramming for ASP.NET 5.0

About Diagramming for ASP.NET: An advanced WebForms programming component that offers all the functionality that is needed for creating, styling and presenting attractive flowcharts, hierarchies, trees, graphs, schemes, diagrams and many more. The control offers numerous utility methods, path finding and cycle detection, rich event set and many useful user interaction features like tool tips, multiple selection, copy/paste to/from Windows clipboard and many more.

NetDiagram offers 87 predefined node shapes, scrollable tables, 13 automatic layouts and many more. You can check the online demo to see some of the features in action. The control includes many samples, detailed documentation and step-by-step tutorials. Every features is duly documented and there’s plenty of code to copy. We have done our best to make the component not only powerful and scalable, but easy to learn and fun to use.