Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic group item (Read 2334 times)
hadni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Jan 18th, 2011
group item
Jan 22nd, 2011 at 7:33am
Print Post  
Hello, i have a problem here.. Supposed I have 3 shapenode, then I click and drag over those shapenodes it will groupped into 1 group automatically right? so we can move those shapenode easily..

My problem is, how can we know the Zindex of each shapenode that have been selected ?
Is anyone know ? Thank you..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: group item
Reply #1 - Jan 24th, 2011 at 7:58am
Print Post  
Hi,

You can iterate over the diagram.Selection.Nodes collection and check the ZIndex value of the nodes.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
hadni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Jan 18th, 2011
Re: group item
Reply #2 - Jan 24th, 2011 at 5:01pm
Print Post  
Yupp..it works,thank you.. But i have one more problem now,i try to change the zindex value of shapenode..supposed i have shapenode a, a.zindex()=0.. Then i change it's zindex value a.zindex=4.. But when i see the a.zindex() it still 0, it don't change to 4.. How to change the zindex value then? Thx..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: group item
Reply #3 - Jan 25th, 2011 at 7:37am
Print Post  
Has this node been added to the diagram when you try to set ZIndex? It won't work before that, because the ZIndex setter needs to change the node's position within diagram.Items.
  
Back to top
 
IP Logged
 
hadni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Jan 18th, 2011
Re: group item
Reply #4 - Jan 26th, 2011 at 6:49pm
Print Post  
Ups,my bad..thank you hoho.. Well, i have 1 more question(sorry if i asked a lot of question) i want to customize line in the diagramlink,is it possible? Supposed i have my_line_style(my line style is a straight single line that has a circle shape in the middle of it's length) and i am gonna used it as diargram link,anyone know how to do that? Thank you..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: group item
Reply #5 - Jan 26th, 2011 at 7:13pm
Print Post  
Try these settings:

Style = LinkStyle.Polyline;
SegmentCount = 1;
IntermediateShape = Arrowheads.Circle;
// and perhaps HeadShape = null

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint