Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramNode attached to DiagramLink without ControlPoints. (Read 1377 times)
NIkolayev_Egor
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Jan 22nd, 2019
DiagramNode attached to DiagramLink without ControlPoints.
Jan 3rd, 2020 at 12:09pm
Print Post  
Hello,

I need to have DiagramNode attached to DiagramLink without ControlPoints etc.
I.e. when DiagramLink was create, two elements of DiagramNode should be automatically create.
As the picture below -
https://ibb.co/nk0y84F

These elements of DiagramNode don't have the ability to drag themselves. Only through the DiagramLink to which they are attached.

Thank you in advance.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: DiagramNode attached to DiagramLink without ControlPoints.
Reply #1 - Jan 6th, 2020 at 8:46am
Print Post  
Hi,

Try creating the nodes at expected positions and calling DiagramNode.AttachTo(DiagramLink ...) overload. If you don't need to connect other links to these circles, it might be possible to implement them as custom arrowhead shapes as well.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
NIkolayev_Egor
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Jan 22nd, 2019
Re: DiagramNode attached to DiagramLink without ControlPoints.
Reply #2 - Jan 21st, 2020 at 7:27am
Print Post  
Great! All working! Many thanks and best regards!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint