Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic version 1.0.3 beta (Read 2129 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
version 1.0.3 beta
Apr 30th, 2009 at 3:12pm
Print Post  
DiagramLite 1.0.3 adds the following new features:

* Containers *
The ContainerNode class implements nodes that can contain child nodes. Containers can be nested one within another, without limitation on the depth of nesting. Child nodes can be added interactively by the user, or programmatically through the Children property of a container.

* Path finding *
The PathFinder class can be used to find paths and cycles within the diagram graph. The diagram can be considered either a directed or undirected graph, as set through the PathFinder constructor. Graph information is cached by a PathFinder instance. If nodes and links are added to or removed from the graph, a new PathFinder instance should be created for subsequent operations.

* Miscellaneous *
~ The Locked property can be used to disable interaction with a diagram item.
~ The Obstacle property specifies whether a node should be considered an obstacle by the link routing algorithm.
~ Now it is possible to resize multiple items. To enable this, set AllowMultipleResize to true.
~ The HitTestPriority property specifies the priority of items when hit-testing.
~ The AllowUnconnectedLinks property specifies whether unconnected links can be drawn interactively.
~ Images can be assigned to ShapeNodes using the ImageResourceLocation and ImageWebLocation properties. The image URLs are saved in diagram files by the SaveToXml method; this allows the control to automatically reload the images when loading a previously saved diagram.
~ The HandlesStyle property lets you change the type of adjustment handles shown for a selected node.
~ The ContainsPoint method can be used to hit-test items.
~ The DashStyles class provides several predefined dash styles for the Pen class.
~ The ExpandButtonPosition and ExpandButtonBrush properties can be used to customize the collapse/expand buttons.
~ AllowIncomingLinks and AllowOutgoingLinks properties added to DiagramNode.

The beta version can be downloaded from this link:
https://mindfusion.eu/_beta/DiagramLite103.zip

Thanks to anyone who tries it out.
  
Back to top
 
IP Logged
 
Friedman
YaBB Newbies
*
Offline



Posts: 1
Joined: May 3rd, 2009
Re: version 1.0.3 beta
Reply #1 - May 3rd, 2009 at 8:18am
Print Post  
Hi,

I have a problem with this version. It wasn't perfect on other versions but here it's just missing - scroll viewer support.

I have the diagram inside a ScrollViewer control and it just doesn't show the scrollbars when the diagram is bigger than its space.

Please advice,
Thanks,
Shay.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: version 1.0.3 beta
Reply #2 - May 4th, 2009 at 8:54am
Print Post  
Hi,

The scrollbar ranges do not depend on the positions of items, but on the value of the Diagram.Bounds property. Do the scrollbars show correctly if you call Diagram.ResizeToFitItems after creating the diagram elements?

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: version 1.0.3 beta
Reply #3 - May 19th, 2009 at 2:31pm
Print Post  
We have also implemented the CircularLayout and OrthogonalLayout classes available in our other controls:



The updated 1.0.3 beta is here:
https://mindfusion.eu/_beta/DiagramLite103.zip

These classes require a reference to the mindfusion.graphs.silverlight assembly.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint