Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Require link behind the ShapeNode (Read 3723 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Require link behind the ShapeNode
May 29th, 2010 at 10:56am
Print Post  
Hi Stoyan,

We are using MindFusion's Diagramming WPF Version 2.3.0.33080 in our application.

We are having some ShapeNodes and DiagramLink in our diagram.

Requirement:
Link should always behind the node, i.e. if there are three nodes and a link from node1 to node3 and node is in between these two nodes than link should not visible in front on node2, it should come from behind the node2.

Solution already tried:
  • Set diagram’s property SelectionOnTop = false

  • Set Link’s ZIndex =0 after adding the link to the diagram

  • Set non-transparent brush for nodes.


Issue which we have observed:
We are not able to set ZIndex for nodes. We have set node.ZIndex = 10 and tried to debug it. After this line we found node’s ZIndex is still different. As we are adding nodes in the diagram node’s ZIndex is continuously increasing by one.

Please let us know what we can try to get link behind the node.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require link behind the ShapeNode
Reply #1 - May 31st, 2010 at 12:44pm
Print Post  
Any update on above post?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require link behind the ShapeNode
Reply #2 - May 31st, 2010 at 7:48pm
Print Post  
Check if the build form the PM page fixes the links order for you. Setting node.ZIndex = 10 will work only if there are at least eleven items in the diagram.

Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require link behind the ShapeNode
Reply #3 - Jun 2nd, 2010 at 7:12am
Print Post  
Hi Stoyan,

We have tried with the dll of PM Page; it has not completely solved the problem. On application start links are behind the node but when we click on any source or destination node, link comes in front of the node. We have taken the screen shot and sent it to your support id.

Setting node.ZIndex = 10 will work only if there are at least eleven items in the diagram. We have approx 100 items in the diagram, still ZIndex value is not getting set for nodes.

Please let us know the solution.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require link behind the ShapeNode
Reply #4 - Jun 2nd, 2010 at 7:22am
Print Post  
The active node and links connected to it are always drawn at the top. We think that's a nice feature and don't intend to change it, but could add some property to let you disable it for the next release.

The last time you could not change ZIndex that was happening because the nodes had not been added to the diagram yet; check if now you don’t have the same situation.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require link behind the ShapeNode
Reply #5 - Jun 2nd, 2010 at 7:28am
Print Post  
Actually SelectionOnTop = false will do that in the version I sent you.
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require link behind the ShapeNode
Reply #6 - Jun 2nd, 2010 at 7:28am
Print Post  
We are setting ZIndex of node just after adding the node to the diagram, so in this case diagram have that node.

Could be please let us know next build release date (with the property you have mentioned in the last post)?

Regards,
Anshul
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require link behind the ShapeNode
Reply #7 - Jun 2nd, 2010 at 7:32am
Print Post  
Yes, Thanks Stoyan. This has solved our problem.

Please let us know next build release date.

Thanks,
Anshul
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require link behind the ShapeNode
Reply #8 - Jun 3rd, 2010 at 1:13pm
Print Post  
Just a Reminder.

Please let us know next build release date.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require link behind the ShapeNode
Reply #9 - Jun 3rd, 2010 at 2:17pm
Print Post  
What are you in a hurry for - the version I sent you is a licensed and stable build for V2.3.0 you mentioned you were using. Also I can see your maintenance expired several months ago, so you'll need to renew if you want to get upgrades.

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