Recent posts

#31
General Archi Discussion / Re: How I cope with model of 4...
Last post by Alberto - June 12, 2024, 15:59:31 PM
Quote from: rchevallier on June 11, 2024, 15:12:40 PMa graph query language like CQL directly supported in Archimate (so no need to export, and no need to deploy another component) would be heaven.

An alternative implementation would be leveraging RDF/SPARQL in similar fashion to the relational tables & AlaSQL JS browser embedded in the HTML Report.  But to Maksim's point, it all depends on the use cases.
#32
General Archi Discussion / Re: How I cope with model of 4...
Last post by maksim aniskov - June 11, 2024, 16:50:18 PM
Quote from: rchevallier on June 11, 2024, 15:12:40 PMExcellent work @maksim aniskov !
Thank you @rchevallier !

Quotea graph query language like CQL directly supported in Archimate (so no need to export, and no need to deploy another component) would be heaven.
I've toyed myself with some JS api to facilitate graph walking / querying in jArchi, but nothing really elegant and powerful enough so far
Having such a feature supported directly would be really nice. If the feature existed, it would definitely cover cases I described above as Bonus #1: Model linting and Bonus 2: Advanced analysis of the model. I rather doubt about case archi-powertools-verifier is primarily designed for: comparing a model against real system or infrastructure.
#33
General Archi Discussion / Re: How to handle view lifecyc...
Last post by romuald - June 11, 2024, 15:42:45 PM
Do you want to keep trace of version of a view?

Maybe you can do this by using a folder and duplicating the view in the folder and of course renaming it with a new version.
If you wan to keep constistancy of old views, you are unable to delete anything in the model.
#34
General Archi Discussion / Re: How I cope with model of 4...
Last post by rchevallier - June 11, 2024, 15:12:40 PM
Excellent work @maksim aniskov !
a graph query language like CQL directly supported in Archimate (so no need to export, and no need to deploy another component) would be heaven.
I've toyed myself with some JS api to facilitate graph walking / querying in jArchi, but nothing really elegant and powerful enough so far
#35
General Archi Discussion / Re: How to handle view lifecyc...
Last post by rchevallier - June 11, 2024, 15:05:14 PM
Use branches and versioning included with the collaboration plugin ?
#36
jArchi / Re: collection of nested views
Last post by Mate - June 11, 2024, 02:31:24 AM
 :-[ yep, that is what I meant, Phill. Thank you for helping me learn the correct terminology as well for the code snippet. It works like a charm.
#37
jArchi / Archi view to PowerPoint exper...
Last post by yveszoundi - June 09, 2024, 21:02:34 PM
This is a follow-up of the Humane image scripts thread.

Per previous notes from JB, it is nice to have diagrams in PowerPoint decks that others can finish off to their liking (audience or specific message to convey).

My general struggles
While making diagrams look less technical (via Humane image archi scripts) "works" reasonably well in my environment, there are still challenges. I've noticed that my diagrams mostly get reused by others when they're in PowerPoint format (adding legends, titles or simplifying diagrams helps but has little impact).
  • Creating manually "polished" diagrams in PowerPoint is time-consuming (costs/benefits).
  • Dealing with shape connectors, placement/size of boxes and labels is a chore.

The experiment: How it works
  • With auxiliary scripts from my "Humage image archi scripts library", I generate a "canonical model" in JSON format.
  • I then process the JSON via a small Java application to generate a PowerPoint deck (scale the diagram to fit on the "content placeholder" on a slide).
  • This leverages Apache POI to create the deck and draw shapes/connectors.

The experiment: How it looks
  • Notes
    • The prototype itself is a bit old and uses few constants for font size and other settings, instead of properly extracting it from the archi model.
    • There are sometimes issues with connections or label placement (bendpoints, java vs. native font rendering to size boxes, etc.).
  • Future plans: Improve my humane images script to include a view-to-ppt functionality.



#38
jArchi / Re: collection of nested views
Last post by Phil Beauvoir - June 08, 2024, 10:53:51 AM
Hi, I'm not sure what you mean by "nested views". Do you mean view references (shortcuts)? If so, try using "diagram-model-reference":

selection.find("diagram-model-reference").each(function(v) {
    console.log(v);     
});
#39
jArchi / collection of nested views
Last post by Mate - June 07, 2024, 19:50:03 PM
I have a top-level view with a bunch of nested views within it. How do I get the collection of nested views?

var selected = $(selection);
selected.find("view").each(function(v) {
      debug ? console.log("found: " + v.name):true;      
   });

when selection is a view, this does not list the nested views. I also tried:
selected.find("archimate-diagram-model")
with no luck  :(

I am likely doing something basic incorrectly. Any pointers are much appreciated. Thanks in advance.
#40
Hi, and welcome to Archi and ArchiMate!

Things can get a bit quiet here in the Archi forum, so please be patient if you don't get an answer right away. As this forum is focussed on the Archi tool, rather than ArchiMate the language, you could also try engaging with the ArchiMate Community Discussion Board.

Phil