Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can I hook any diagram changes? (Read 1276 times)
lofti
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Oct 19th, 2020
Can I hook any diagram changes?
May 12th, 2021 at 5:33pm
Print Post  
Can I attach handler to diagram changes (like node text editing etc)? Can I get id of entity being changed?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Can I hook any diagram changes?
Reply #1 - May 13th, 2021 at 10:02am
Print Post  
Hi,

There are events such as NodeCreated, NodeModified, NodeTextEdited in the Diagram class, and similar ones for links. The modified node or link is passed as event argument.

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