cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

list of macro functions in diagrams

SVanSchoonlandt
Honored Contributor

Hi all,

 

is there a list we can consult with all the events/functions which can  be triggered on diagrams? I see for example that there are macro's in the _settings attribute of diagramtypeparams which make use of functions like onsavediagram, oninsertdrawingobject, etc .

 

I'm looking for a list of possible events/functions for the diagramtypeparam, diagramtypelink, diagramtypelinkstyle,

 

thanks

 

stijn

3 Replies

Hello Sjin

 

Indeed the diagram editor is not designed to prevent style changes performed by end user.

 

You can consider to configure DiagramTypeLinkStyle object with

  • Expected formatting of link
  • No condition

This will not prevent end users from changing style

However you configuration should be enforced when refreshing or reopening the diagrams

It the end the expected formatting of link should be applied.

 

Jerome

hey lionel,

 

thanks. I indeed found that one also, I was wondering if there are more possibilities to add macro's than only on the diagramtype. what about the links or objects?

 

As in one of my previous posts, I'm trying to find a solution that users can not change the visual of an diagramtypelink however until now no luck.

 

kind regards

 

 

lionel
MEGA
MEGA

Hello Stijn,

 

I think you will find what you need here : Diagram API Tutorial EN.pdf

 

Regards,

 

Lionel