Recent posts

#21
jArchi / Re: Getting a SWT Image from t...
Last post by fanievh - June 25, 2024, 07:35:15 AM
Thank you Phil, as I suspected.  I'll try a different approach where I don't need to get the images from the model. Maybe at some future point of jArchi development, it could be useful to get access to get and set the byte[] data of images in the model. But I'm sure there's a long list of jArchi features on the roadmap to be developed first  :)
#22
jArchi / Re: Getting a SWT Image from t...
Last post by Phil Beauvoir - June 24, 2024, 15:21:14 PM
Hi, the Image created by this jArchi method is internal and not exposed to jArchi as the org.eclipse.swt.graphics.Image class is not meant to be accessed (we avoid exposing the internal Eclipse classes if possible). As you say, you'd need to access the internal IArchimateModel class and its IArchiveManager with the caveat that this is unsupported.
#23
jArchi / Getting a SWT Image from the m...
Last post by fanievh - June 24, 2024, 14:35:57 PM
Hi,

What's the easiest way to get an instance of org.eclipse.swt.graphics.Image from the return value of the jArchi model.createImage(filePath) method? Want to use it to provide values (images) for org.eclipse.jface.viewers.ColumnLabelProvider getImage method.

Would I have to jump through some hoops and load and use com.archimatetool.editor.model.impl.ArchiveManager from within the jArchi scripting environment - hope not :)

Thanks for any pointers,
Fanie
#24
General Archi Discussion / Re: Enable padding in elements
Last post by Phil Beauvoir - June 19, 2024, 13:06:05 PM
Hi,

there's no padding functionality in figures other than the defaults. You could try using a label expression that uses the wordwrap modifer something like:

${wordwrap:12:${documentation}}

See https://github.com/archimatetool/archi/wiki/Label-Expressions
#25
General Archi Discussion / Enable padding in elements
Last post by rvaneerd - June 19, 2024, 12:39:18 PM
Hi there,
For some elements (mainly Goals) I use an image that fills the figure.
However, my image contains rather thick lines and because of that, Im struggling with the (soft) word-wrap.
In the attached screenshot, I show three of those figures where one has no word-warp (which is fine), one has proper word-wrap (which obviously is also fine) but the bottom left one has no word-wrap and the text is not wide enough to cause a (soft) word-wrap.

It would be nice if some padding could be added to elements that would cause a proper (soft) word-wrap.

Any thoughts on how to achieve that?

Regards,
Rob.
#26
General Archi Discussion / Re: How I cope with model of 4...
Last post by maksim aniskov - June 17, 2024, 17:57:06 PM
Quote from: Alexis_H on June 17, 2024, 06:54:31 AMOur use-cases resonate with yours : our team of architects collaborate on a common archi model (+10K concepts) which is in synch on the tech/app layer with 'the real world' (via a weekly semi-auto synch with the CI model of SNow CMDB - mapped to on-prem DC + AWS).
That's massive! I'm intrigued to know how performance of archi-powertools-verifier tooling is at this scale. Especially, how much time archi (importing from git) stage takes.

Quote- I may challenge our choice of synching with SNow CMDB in favor of direct AWS CLI mapping (for cloud natives apps)
Syncing with the CMDB should also work out no problem. Maybe, I do not get your concern.

Quote- We struggle with duplicates and different flavors of modelisation styles (say: application flows)
    > I need a control loop to enforce modelisation rules/styles
Would it help if you make archi-powertools-verifier apply different predicates (SQL/CQL queries) to different views or folders of your model by adding WHERE conditions to the queries?

Alternatively, you can implement model federation instead of keeping everything in your mega-model. Without archi-powertools-verifier, I'd rather not risk dealing with a multitude of decentralized models. But archi-powertools-verifier makes it possible. I describe the approach in this example.

In a nutshell, idea is to break a mega-mono-model to a set of models, each of which may follow its own rules and approaches. But, we agree that some of the views (or folders) should be synchronized, and we leverage archi-powertools-verifier as implementation of synchronization process. By keeping those "interface" views/folders harmonized among the parties, we propagate information about changes happening across the whole estate.

#27
General Archi Discussion / Archi 5.4 beta
Last post by Phil Beauvoir - June 17, 2024, 11:35:07 AM
Hi folks,

Archi 5.4 Beta 1 is available for testing if you'd like to try it.

Archi 5.4 fixes a number of issues, builds upon the latest version of Eclipse (4.32), and adds a few new features. You can read about these in the Change Log.

Archi is built on the Eclipse framework which has a 3-monthly release cycle. With each new Archi build we try to use the latest version of Eclipse in order to fix underlying bugs and regressions in the framework. Unfortunately, some versions of Eclipse contain other problems and can't be used. It's taken until Eclipse 4.32 (June 2024 release) to get to a version that should hopefully be stable. We are now ready to target Eclipse 4.32 in Archi 5.4. This build should fix a number of issues, especially on Mac and Linux.

Support for more key bindings (shortcut keys) has been added to this version of Archi. You can now assign shortcut keys to entries in the palette (a long-standing feature request).

Please download Archi 5.4 Beta at the Archi Beta Page.

Phil
#28
General Archi Discussion / Re: How I cope with model of 4...
Last post by Alexis_H - June 17, 2024, 06:54:31 AM
Quote from: maksim aniskov on June 15, 2024, 16:36:33 PMI'm curious to know about your case. Drop me a line.
Our use-cases resonate with yours : our team of architects collaborate on a common archi model (+10K concepts) which is in synch on the tech/app layer with 'the real world' (via a weekly semi-auto synch with the CI model of SNow CMDB - mapped to on-prem DC + AWS).
  - We struggle with duplicates and different flavors of modelisation styles (say: application flows)
    > I need a control loop to enforce modelisation rules/styles
  - I may challenge our choice of synching with SNow CMDB in favor of direct AWS CLI mapping (for cloud natives apps)

Regards,
Alexis
#29
General Archi Discussion / Re: How I cope with model of 4...
Last post by maksim aniskov - June 15, 2024, 16:36:33 PM
Quote from: Alexis_H on June 15, 2024, 09:50:10 AMThank you very mutch Maksim for sharing this work.
I Will definitly give it a try, looks very promising.
I'm curious to know about your case. Drop me a line.
#30
General Archi Discussion / Re: How I cope with model of 4...
Last post by Alexis_H - June 15, 2024, 09:50:10 AM
Thank you very mutch Maksim for sharing this work.
I Will definitly give it a try, looks very promising.