How to display relationship details between elements

Started by gwaters22, August 26, 2021, 15:45:00 PM

Previous topic - Next topic

gwaters22

Hi
When I connect 1 element to the other say with realize connector. How would I display on the model the default relationship details that show when I hover over the line?

I want those default relationship details to show so my newbie user can understand the relationship created between elements

I did not find anything useful on this site to use. https://github.com/archimatetool/archi/wiki/Label-Expressions

Thanks in advance.


Phil Beauvoir

#1
Well, looking at https://github.com/archimatetool/archi/wiki/Label-Expressions, I figured out the following expression for a Flow relationship:


${name}
Type: ${type}
$source{name} flows to $target{name}


And here's another example for an Access relationship:


${name}
Type: ${type}
$source{name} accesses $target{name}
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

gwaters22

#2
That worked as manual work around, I appreciate that. 

Phil, Is there another way for the relations be automatically derived to match what will be displayed when I hoover my mouse over the relation link?

gwaters22

This label option almost work to show the default derived relation description:
code:

${name}
Type: ${type}
$source{name} ${type} $target{name}