1
Automation Interface, Add-Ins and Tools / How use JavaScript to filter Compartments as part of Diagram Properties?
« on: November 26, 2024, 11:14:29 pm »
Using a JavaScript, I can create a diagram showing the elements I'm interested in.
However, by default, the diagram shows some compartments of the elements resulting in a rather messy diagram with elements of different sized (large) object boxes.
I can make the diagram look nicer using a property of the diagram using "Diagram Properties => Elements => Show Compartments" and then ticking or unticking the desired compartments, e.g. do not tick the Attributes compartment.
Now I would like to know how to set this diagram property using my JavaScript.
Thanks.
However, by default, the diagram shows some compartments of the elements resulting in a rather messy diagram with elements of different sized (large) object boxes.
I can make the diagram look nicer using a property of the diagram using "Diagram Properties => Elements => Show Compartments" and then ticking or unticking the desired compartments, e.g. do not tick the Attributes compartment.
Now I would like to know how to set this diagram property using my JavaScript.
Thanks.