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


Rock and Roll

Posts: 689
Joined: Apr 6th, 2003
Diagramming for ASP.NET, V4.2
Mar 14th, 2012 at 8:30am
Print Post  
We have released version 4.2 of NetDiagram. It contains the following new features:

Attach nodes in Canvas mode
NetDiagram allows attaching a node to another node, establishing a subordinate - master relationship between them. This can be done by calling attachTo on the client side in Canvas mode, or AttachTo on the server. When a master node is moved, all of its subordinates follow it, so that the initial distance between them stays constant. This happens both when a user moves the master node around, and when the node's position is changed using a method or a property.

Collapsible tree branches in Canvas mode
If a diagram represents a tree structure, the tree branch starting from a node can be collapsed or expanded again in order to hide or display hierarchy details. To enable this, call the setExpandable method on the client or set the Expandable property on the server. There is a [±] button displayed beside an expandable node to allow users to collapse or expand the tree branch starting there. By default, pressing that button automatically toggles the Expanded property of the node and raises the TreeExpanded or TreeCollapsed events.

Touch input in Canvas mode
When running under the iOS Safari web browser, the control handles one-finger touch events to allow drawing and selecting items interactively. In addition, the hit-test area around adjustment handles is larger to make touch modifications easier. Two-finger gestures are delegated to the browser - they either scroll the canvas when dragging in the same direction or zoom the page when dragging in opposite directions. The preventDefaultTouch flag can be set to false to revert to the default one-finger touch behavior (scroll the whole page).

Loading UI controls in the same applet instance
Recent Java and browser versions do not work very well when more than one applets are loaded on the page (e.g. IE crashes when reloading such pages, in some browsers Java objects cannot be passed between two applets). Hence we modified the DiagramApplet, used to host the client-side DiagramView control, to also show the miscellaneous UI controls such as Overview, ShapeListBox and Ruler. This approach also allowed us to expose these controls in Silverlight mode. The Java and Silverlight UI controls can be shown and customized using the following properties of the server DiagramView control:

~ bool ShowRuler: show or hide the Ruler.
~ ShowShapeListBox ShowShapeListBox: can be set to None/Left/Right.
~ ShapeList ShapeListFilter: a list of shapes that should be shown by the ShapeListBox.
~ Size ShapeListIconSize: specifies the size of ShapeListBox icons.
~ Color ShapeListFillColor: specifies the color of ShapeListBox icons.
~ bool ShowOverview: show or hide the Overview.
~ string OverviewTitle: title of the Overview window.
~ bool OverviewFitAll: enables or disables FitAll mode for the Overview control.

The server-side ShapeListBox and Overview controls are still necessary in ImageMap and Canvas modes.

Miscellaneous
~ User interaction modes (Behavior property) implemented in Canvas mode.
~ Validation events for creating, modifying and deleting items implemented in Canvas mode.

Registered customers with an active upgrade subscription can download the licensed version from the clients area on our site.

A trial version is available for download here:   
https://www.mindfusion.eu/NetDiagramTrial.zip
    
Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint