Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramLite V1.3 beta (Read 1137 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
DiagramLite V1.3 beta
Jan 19th, 2010 at 9:13am
Print Post  
We are starting beta tests for DiagramLite V1.3. The new features are:

Undo / redo support
If the UndoEnabled property is set to true, DiagramLite tracks changes done on the diagram and allows undoing and redoing them later by calling the Undo and Redo methods respectively. Multiple changes could be recorded as a single undoable operation by enclosing them between StartCompositeOperation and CommitCompositeOperation calls. It is also possible to create custom undoable operations by deriving from the Command class and calling ExecuteCommand with the custom command as argument.

NodeListView control
NodeListView implements a palette -like control that lets the user create new nodes on the canvas via drag-and-drop. Its elements can be instances of any DiagramNode -derived class, including custom node types, as long as they implement the Clone method.

Miscellaneous
- Joins between segments of Cascading or Polyline links can be drawn as arcs by setting the RoundedLinks and RoundedLinksRadius properties.
- Grid points can be drawn as crosses by setting GridStyle to Crosses.
- Set the GridDashArray property to specify a custom dash style for grid lines.
- Size property added to the AnchorPoint class.
- The control sets the mouse cursor to show what operation would be started at the current mouse position.
TextBrush property added to the DiagramLink class.
- The control's assembly is now called MindFusion.Diagramming.Silverlight.dll;

If anyone is interested in trying the beta, please download this archive, which includes updated assemblies and help file:

https://mindfusion.eu/_beta/DiagramLite13.zip
« Last Edit: Jan 20th, 2010 at 10:49am by Stoyo »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite V1.3 beta
Reply #1 - Jan 21st, 2010 at 3:36pm
Print Post  
We have added a new tutorial that shows how to implement serialization and undo / redo support for custom nodes, and also allow drawing them with the mouse and via drag-and-drop from the NodeListView:

https://mindfusion.eu/_beta/DiagramLite13.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint