Skip to content
Discussion options

You must be logged in to vote

Hi @Ginxss,

You can check how we did it for "Category" nodes in the Example workflow. You need:

  • A Compartment inside of your package, below the label, that will receive child nodes (e.g. Classes or Packages)
  • A "Freeform" layout on this Compartment (Essentially no layout at all; only manual positioning/resizing)
  • And you need to update the hints on the server (In your DiagramConfiguration), to indicate which element(s) can be created on/in a Package:
ShapeTypeHint catHint = new ShapeTypeHint(CATEGORY, true, true, true, true);
      catHint.setContainableElementTypeIds(
         Arrays.asList(DECISION_NODE, MERGE_NODE, FORK_NODE, JOIN_NODE, AUTOMATED_TASK, MANUAL_TASK, CATEGORY));

The mode…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ginxss
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