Skip to content

Need help to implement "+" animation for nested nodes #452

Answered by planger
sathya-1994 asked this question in General
Discussion options

You must be logged in to vote

There are a few different approaches to implement such a button feature:

  • Add a placeholder node (GModelElement, such as a label etc) to the GModel and register a client-side click listener, which sends whatever action you need on click
  • Register a client-side UIExtension (HTML) that is rendered on top of the diagram on each element, which will again on click send whatever action you need
  • Use GButton, which is a GModelElement. I haven't used this for quite some time though.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants