Different formatting within an element

Started by m4ttmcg, June 07, 2023, 01:18:43 AM

Previous topic - Next topic

m4ttmcg

Hello,

Is it possible to have different formatting applied within an element, using label expressions or some other technique? How are others doing this for more visually appealing/readable to non-architects views?

What I would like to do (if markdown was supported in a label expression):

--------------
##{name}##
{documentation}
--------------

Phil Beauvoir

Hi, different font sizes and colours are not supported in diagram objects. There are technical reasons for this - the graphical Draw2d control only supports one font and one colour.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Jean-Baptiste Sarrodie

Hi,

One workaround is to add visual notes inside an element, make them transparent, and set their label using "$parent{...}" expressions. Each note can then has its own font size and colour.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

m4ttmcg

Perfect! I had tried notes but didn't realise they could be so easily nested and the ${parent} expression.

Slight hassle but less than re-creating in Visio :) Thanks JB!