Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramLite 2.3 beta (Read 2608 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
DiagramLite 2.3 beta
Dec 13th, 2011 at 11:41am
Print Post  
We are starting beta tests of DiagramLite V2.3. The new features are:

Automatic node alignment
If AutoAlignNodes is enabled, the node currently being drawn or resized is aligned to another node so that a pair of their vertical or horizontal sides become collinear. To specify the maximal distance at which nodes are aligned, set the AutoAlignDistance property. The pair of aligned nodes is indicated visually by drawing an alignment guide using the pen assigned to AlignmentGuidePen.

Fractal tree layout
FractalLayout is a tree layout algorithm that places child nodes symmetrically around their parent node. Nodes at the lowest level are arranged directly in a circle around their parent. At upper levels, the already arranged nodes form branches that are arranged in a circle around the new parent node. The algorithm is recursively repeated till the highest level is reached. If nodes in the tree have uniform number of children, the end result has fractal-like appearance (subsets of the graph look like scaled-down copies of the whole graph):


You can choose which node should be displayed at the center of the topmost circle by setting the Root property. If it is not specified, the algorithm automatically selects a root that leads to more balanced distribution of nodes.

Attaching and Grouping Items
DiagramLite allows attaching a node to another node, establishing a subordinate - master relationship between them. The easiest way to attach nodes is to call the AttachTo method. 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.

Miscellaneous
~ Specify start and end nodes in LayeredLayout via the StartNode and EndNode properties.
~ GetAllIncomingLinks and GetAllOutgoingLinks methods added.
~ The new LinkRouted event is raised when a link has been routed by the automatic routing algorithm.
~ MoveDirection constraint added to NodeConstraints.
~ AdjustmentHandlesSize, AllowMultipleResize and AllowUnconnectedLinks has been converted to dependency properties.

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

https://mindfusion.eu/_beta/diaglite23.zip
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 2.3 beta
Reply #1 - Dec 23rd, 2011 at 3:05pm
Print Post  
We have built Silverlight 5 assemblies for the v2.3 release. If anyone needs to target the Silverlight 5 runtime, please give them a try:
https://mindfusion.eu/_beta/diaglite23.zip

Thanks,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint