Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic different shape/color to a node with its default creation (Read 1202 times)
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
different shape/color to a node with its default creation
May 13th, 2019 at 5:06am
Print Post  
Hi,
Can I give default node(root node) having its shape as circle and have different color filled into it. rest other nodes have rectangle shape and same color other than root node.

Thanks

  
Back to top
AIM  
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: different shape/color to a node with its default creation
Reply #1 - May 13th, 2019 at 7:50am
Print Post  
Hi,

Set the root node's Shape and Brush properties when creating it. If you let users draw the root interactively, handle NodeCreated event and check if that's the first node of diagram.Nodes collection to determine if root.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint