Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) DiagramLite 1.1 beta (Read 7043 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
DiagramLite 1.1 beta
Jul 27th, 2009 at 11:57am
Print Post  
https://mindfusion.eu/_beta/DiagramLite.1.1.zip

Version 1.1 requires Silverlight 3. It adds the following new features:

- the Overview control displays a scaled-down view of the Diagram
- FlowchartLayout recognizes program code -like patterns in the graph and arranges it as a flowchart
- TopologicalLayout arranges a graph according to its topological ordering
- a much faster link routing algorithm has been implemented
- ShapeNodes can be resized to fit their text by calling ResizeToFitText
- set KeepInsideParent to prevent users from taking a node out of its container
- the crossing points of links can be rendered either as arcs or cuts
- CreateImage and SaveToPng can be used to export the diagram to a bitmap image

The package includes several new sample projects, and some of them are now shown in the online demo:
http://mindfusion.eu/demos/diagramlite/index.html

Thanks to anyone who gives the beta version a try!
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #1 - Jul 29th, 2009 at 12:23pm
Print Post  
hello,

I downloaded V.1.1 and I get this error on V.1.1

"Unknown attribute Name on element Diagram. [Line: 722 Position: 56]"

This happen on the InitializeComponent();

This is my XAML:

[code]
<my:Diagram x:Name="wfDiagram" ModificationStart="SelectedOnly" Bounds="0, 0, 2000, 2000" VerticalAlignment="Stretch"   ShapeBrush="White"
                                           HorizontalAlignment="Stretch"  AlignToGrid="True" ShowGrid="True"
                                           AllowInplaceEdit="False" LinkBrush="Green" RouteLinks="True" LinkDeleted="wfDiagram_LinkDeleted"
                                           LinkSelected="wfDiagram_LinkSelected" LinkDeselected="wfDiagram_LinkDeselected" LinkCreated="wfDiagram_LinkCreated"  LinkModified="wfDiagram_LinkModified"
                                           NodeSelected="wfDiagram_NodeSelected" NodeDeselected="wfDiagram_NodeDeselected" NodeCreating="wfDiagram_NodeCreating"
                                           MouseLeftButtonDown="wfDiagram_MouseLeftButtonDown"  MouseLeftButtonUp="wfDiagram_MouseLeftButtonUp" MouseMove="wfDiagram_MouseMove">
                                   </my:Diagram>
[/code]
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #2 - Jul 29th, 2009 at 3:00pm
Print Post  
Do you have this line at the top of the xaml file?
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #3 - Jul 29th, 2009 at 3:14pm
Print Post  
Yes I have

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #4 - Jul 29th, 2009 at 3:34pm
Print Post  
Is the error shown when building the project, or at runtime?
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #5 - Jul 29th, 2009 at 3:37pm
Print Post  
Only on run time when it get to: InitializeComponent();
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #6 - Jul 30th, 2009 at 7:55am
Print Post  
Do you have the released version of the Silverlight 3 runtime installed?
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #7 - Jul 30th, 2009 at 8:03am
Print Post  
Yes
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #8 - Jul 30th, 2009 at 10:14am
Print Post  
Do the sample projects run fine?
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #9 - Jul 30th, 2009 at 10:27am
Print Post  
Yes all the sample works.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #10 - Jul 30th, 2009 at 10:45am
Print Post  
Compare the reference properties for diagramlite.dll and graphs.dll in the samples and in your project; is the resolved assembly path the same? are there any other differences?
  
Back to top
 
IP Logged
 
Hillab
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Jun 15th, 2009
Re: DiagramLite 1.1 beta
Reply #11 - Jul 30th, 2009 at 12:54pm
Print Post  
I check this out and i can see what the problem was: I didn't have the
MindFusion.Graphs.Silverlight.dll

* i think that in the last version i didn't have to have this Dll.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.1 beta
Reply #12 - Jul 30th, 2009 at 1:18pm
Print Post  
Yes, the graphs.dll is required now, though VS should detect the dependency automatically and copy it to the output folder. I don't know why that did not work for your project.

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