Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Performance (Read 1888 times)
sydneyos
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 28
Joined: Mar 7th, 2009
Performance
Mar 19th, 2009 at 11:20pm
Print Post  
I am evaluating your various products and trying to get a project that was working well in Windows to work in WPF.  Mostly all is fine - just a few questions:

1.  It was performing reasonably well, and all of a sudden, the performance is terrible - it takes forever for the project to load (5 minutes and counting) - indeed, I think I have never been able to wait it out.  What could I have changed to cause this?  Are there known settings that can be performance problems?

The slowness seems to be in Creating links.  I had this problem in the windows project, but adding the Diagram to the View only after performing the layout solved it.  In the Wpf project, there is only a diagram, no View.  Perhaps I have assembled it wrong?  All the properties and methods that were in View in windows seem to be in Diagram in wpf.

2.  Is there a way to give some background to the Text on links, so they stand out more?

3.  Is there a way to ensure that, if a node has incoming and outgoing links, they use different anchor points?

4.  Is there a way to specify a different NodeDistance for Horizontal and Vertical dimensions?  I want more vertical separation, but I don't wan't it to create more horizontal space.

5.  Is there a way to have fixed nodes (specifying X and Y) and dynamic node layout?  What combination of settings do I need for this?

Thanks

  
Back to top
 
IP Logged
 
sydneyos
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 28
Joined: Mar 7th, 2009
Re: Performance
Reply #1 - Mar 19th, 2009 at 11:31pm
Print Post  
Figured out part 1 - I was setting Bounds for the Node on creation.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Performance
Reply #2 - Mar 20th, 2009 at 7:43am
Print Post  
2. At this time it's not possible. You could use nodes attached to the link as labels and customize them as you see fit. This also lets you display more labels for a link and gives you control over their position. Setting background for the built-in label should be easy and we'll add some property in the next release.

3. The AnchorPoint objects have AllowOutgoing and AllowIncoming properties. You could also do that from the ValidateAnchorPoint event handler.

4. Some layout classes have LayerDistance and LevelDistance properties.

5. It's not possible in the WPF version yet. In Windows Forms you can do that for SpringLayout.

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