Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ea0522

Pages: 1 2 [3] 4 5 ... 9
31
Would it be possible to parse a YAML file using JavaScript?

I can read the file contents, that's easy.
I know how to parse JSON using the built-in JSON library.
Just wondering whether there is a similar library for YAML?

Alternatively, is there an option to include a Node.js library which is capable of doing what I need?

32
Don't know how much elements you need to report.
In case there are not that many, you may want to consider showing them on a diagram and use a legend to visualize the different values of tag3.
There is a diagram layout option to automatically layout all elements, sorted by e.g. Name.
There is also a script to update the legend to show all values used for the tag3 defined in the legend.

For this diagram you could create a script to be activated when on the diagram.
You could probably even create a script which is run automatically when the diagram is changed.

HTH

33
Any update on this functionality?
We are trying to import the DB settings for a DataBricks environment and are failing so far...

34
For the block diagramming, you might want to check the Layout Tool. I sometimes use the Box option to organise a bunch of elements.

For interface specifications, I came across a blog which looks promising: https://mikgenalg.medium.com/designing-rest-apis-with-sparx-enterprise-architect-c1c5bb4e26fa.

HTH

35
Quote
if the is something in the specification which says something like this: "the specification mandates it is essentially a decoration"

Sorry, I don't understand.
If the specification says "The grouping element aggregates or composes", why should it then be (only?) some decoration?

As I said, there is a difference between a grouping decoration and a Grouping Element.
The grouping decoration is purely visual and supported by all drawing tools which are capable of drawing a rectangle over some other objects.
The Grouping Element is (or should be) a modeling object with attributes and capabilities like other modeling objects like e.g. a name, relationships, etc.

36
Quote
Could you post a reference to this, please?

According to the specification (https://pubs.opengroup.org/architecture/archimate3-doc/ch-Generic-Metamodel.html#sec-Grouping):

Quote
4.5.1. Grouping
The grouping element aggregates or composes concepts that belong together based on some common characteristic.

So shouldn't then the ArchiMate MDG define a Grouping element?
In my experience, there is a difference between the ArchiMate Grouping element and the visual grouping of elements on a diagram.
With the ArchiMate Grouping, it should be possible to define relationships between the Grouping element and the elements grouped by it.
While the grouping on a diagram is only visual, there is no relation with the elements contained within the group.

37
General Board / Re: How to export high resolution from WebEA?
« on: August 14, 2024, 03:44:06 pm »
You could try to export them from Sparx as SVG files.
There is an option "Publish => Diagram Image => Save => Save to File" which opens the explorer window to choose not only the name but also the type of the file.

38
Maybe a silly question in this discussion.
Is this not an issue of the ArchiMate MDG?

According to the specification (https://pubs.opengroup.org/architecture/archimate3-doc/ch-Generic-Metamodel.html#sec-Grouping):

Quote
4.5.1. Grouping
The grouping element aggregates or composes concepts that belong together based on some common characteristic.

So shouldn't then the ArchiMate MDG define a Grouping element?
In my experience, there is a difference between the ArchiMate Grouping element and the visual grouping of elements on a diagram.
With the ArchiMate Grouping, it should be possible to define relationships between the Grouping element and the elements grouped by it.
While the grouping on a diagram is only visual, there is no relation with the elements contained within the group.

39
Maybe silly suggestion but did you check the file usage / disk space on the server?
Storing the image data of diagrams can take a lot of space which needs to be stored.

40
Ok, sorry, I missed the Update() step.

See https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/collection.html:

Quote
It is important to realize that when the 'AddNew' function is called, the item is not automatically added to the current collection. The typical steps are:

  • Call AddNew to add a new item
  • Modify the item as required
  • Call Update on the item to save it to the database
  • Call Refresh on the collection to include it in the current set
Delete is the same; until Refresh is called, the collection still contains a reference to the deleted item, which should not be called.

41
Looking at the code presented, I mis the DIM diagram and corresponding assignment.
Also after changing something of a collection, the collection should be refreshed to commit the changes (diagram.DiagramObjects.Refresh()).

42
General Board / Re: Filtering elements on diagram?
« on: August 06, 2024, 03:44:12 pm »
Thanks for the suggestion Shimon.
I did try the legend option and it has some flaws.
First is that I cannot change the color of the font on the elements, so they are still visible. And I don't know how to change that with a filter of some sort.
Furthermore, there is the issue of publishing the diagrams in Prolaborate.
It looks like Prolaborate is not supporting dynamical diagrams. At least I have not found an option to toggle the "Auto color" option of the legend element to show a different diagram in Prolaborate.
Still looking for an elegant solution, the best I can think of now is to have two diagrams. Despite the additional burden of maintainance...

43
General Board / Re: Filtering elements on diagram?
« on: August 01, 2024, 05:12:08 pm »
Thanks for the quick reply.
And yes, I tried the diagram filters however, they only seem to work for me, not for anyone else.
I was hoping for a solution which would be more user-friendly like a button on the diagram or something.

44
General Board / Filtering elements on diagram?
« on: August 01, 2024, 04:07:17 pm »
In our repository, we have diagrams showing process descriptions using ArchiMate Business Layer elements.
The same diagram also shows how the Business Layer elements are related to Application Layer elements.
I.e. a Business Process is serviced by an Application Service which is realised by an Application Component.
For most of our users, the Business Layer will be sufficient.
Some of our users are interested in both layers.

Would it be possible to have a user (not the creator) of the diagram to filter on the type of elements to be shown in the diagram?
I.e. do not show all elements belonging to the Application Layer. (Or only show elements belonging to the Business Layer).

The brute force option is to duplicate the complete diagram and remove the Application Layer elements.
This however does not have my preference as it will be hard to maintain the diagrams.

45
Is it possible to have Prolaborate automatically scal the diagram image such that the image will fit on the screen?
I'm aware that for most large diagrams the text might not be readable anymore because the image is scaled down too much.
That's not a problem as long as it is possible to zoom in to the image shown.
I would prefer the all overview for an image rather than make the text always readable.
Preferably, this would be a setting within Prolaborate to enable the option while no others have a problem with the installation as it is now.

Used versions:
+ Prolaborate V5.2.0.71
EA SaaS: V16.1 - Build 1628

Pages: 1 2 [3] 4 5 ... 9