Archi Forum

Archi Plug-ins => jArchi => Topic started by: Thomas Rischbeck (ITMC.ch) on March 14, 2021, 19:34:11 PM

Title: Connection from Note to X
Post by: Thomas Rischbeck (ITMC.ch) on March 14, 2021, 19:34:11 PM
Is it possible to connect a note in jArchi? I can see how you add a model relationship to a view: https://github.com/archimatetool/archi-scripting-plugin/wiki/jArchi-Object#addrelationship.
However, I'd like to connect a note to X within the diagram. Any ideas?
Title: Re: Connection from Note to X
Post by: Phil Beauvoir on March 15, 2021, 09:09:28 AM
Hi, Thomas, not implemented yet. These types of connections are on the "to do" list for the next round of jArchi features.

Phil
Title: Re: Connection from Note to X
Post by: Thomas Rischbeck (ITMC.ch) on March 15, 2021, 10:33:53 AM
Ok, excellent - looking forward to this, Phil!

Currently, I'm working on creating diagrams with horizontal / vertical axes. This is useful to position elements on the canvas according to their properties. For example in a risk matrix we have "Assessment" elements with attributes "severity" and "probability". I'm currently investing quite a bit of effort into jArchi scripts to provide generic "virtual" views for this an other analysis use cases. I'm planning to make this available on Git once things are more stable.

I'm now using a workaround where I use three "invisible" ArchiMate elements on the canvas and "serving" relationships to connect these. Of course, this is suboptimal, because it leads to "zombie" elements in the model.

Anyway: the rendering engine of Archi combined with jArchi scripts is extremely powerful and this is fun!

Cheers, Thomas.
Title: Re: Connection from Note to X
Post by: Jean-Baptiste Sarrodie on March 15, 2021, 12:28:43 PM
Hi,

Quote
I use three "invisible" ArchiMate elements

You can use only one and create relationships to AND from the same element. I'd recommend a Grouping as it allows all types of relationship.

Regards,

JB
Title: Re: Connection from Note to X
Post by: Thomas Rischbeck (ITMC.ch) on March 15, 2021, 18:11:36 PM
Hi JB, thanks - that's a great idea. I've already used "Grouping" but didn't think about positioning the same element multiple times on the canvas :-)
Cheers, Thomas.