Are you saying that you want compartments for Pseudo-States or Fork nodes? It seems to me that "all" wouldn't actually provide a benefit and that many times a linked note would be more clear than expanding to a note compartment.
Here, we must agree to differ. While I concede that the use of compartmental view for pseudo-states and forks is restricted, I already have muttered that EA doesn't allow me to easily add the annotations I may have added to pseudo states.
I don't think it's the job of the tool to impose such restrictions. you and I may agree that compartments for forks is silly, but that doesn't mean we'tre right...
Regardless, now that you're talking about note display on diagrams it seems like we've actually reached the problem you're attempting to solve.
Well, Notes is step 1... Features is step 2. Then...
The easiest solution is to create linked notes.
I think
embedded notes is what you mean here. Linked Notes were the separate Notes object connected by notelinks to the main shape that started the disucssion about the Notes compartment.
What your script does is embed the Notes information within the shape.
This is essentially a
work-around. Causing us users to create yet more code (indeed in multiple instances) to emulate the functionality that already exists for many other elements.
This is an example of my aphorism - "it actually takes MORE work to be inconsistent".
If you really want it inline you can extend the ArchiMate types and apply the following shape script.
[size=18][SNIP][/size]
Why not just provide Compartmental view for everything - take the Icon (if any) stick it in the top right corner and give the user access to the whole underlying element? The default Archimate non-icon view would be Compartmental view with NO compartments.
Still, many thanks for providing the work-around, I can use it in the interim.
Paolo