Support rendering of merged diagram-local flags differently from inter-diagram merged flags
Currently if flags are merged, they are always rendered as "external flags" that move from one diagram to another.
The improvement here is to support separately rendering diagram-local merged flags differently and based on the amount of joins they have with other flags.
Related to https://www.simulationsite.net/redmine/issues/16006.