Skip to content

Custom view #153

Answered by rsoika
NourEldin-Ali asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
this is more a general GLSP question but we use the concept in Open-BPMN too. You can define new layouts for any BPMN elements by adding a new View Mapping in the di.config file.

We do this for example for the TextAnnotationNode:

configureModelElement(context, 'textAnnotation', TextAnnotationNode, TextAnnotationNodeView);

In the bpmn-element-view we define than the layout for this node:

export class TextAnnotationNodeView extends ShapeView {

The node layout can be a combinat…

Replies: 1 comment

Comment options

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