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 - mr nobody 11

Pages: [1] 2
1
General Board / Re: execution analysis - recording history
« on: March 04, 2023, 02:38:16 am »
Now, I think I understood that I need to write the build script. However, I could not find how to write it. I have a project in C folder, a package called projects, and inside I have my source-code from which I want to create s.d.

https://ibb.co/QH5XNfz

This example code is a simple atm application where the user prompted to enter information on developer command prompt. When I run the code from vs code, it works perfectly. So I assume when I click on build in EA, it should also prompt this window for me. To do that I need to write this build script(this is my understandin, im not sure :( )

I am open to any suggestions and help. Thank you all!

2
General Board / Re: execution analysis - recording history
« on: March 03, 2023, 08:22:26 pm »
IIRC the feature can be used on all editions. I guess you have not defined an Analyzer Script for the Package.

HTH,

I have EA license and Im using EA 15.2. To be honest, I am having hard time to understand sparxsystem`s website to figure out how to create s.d from c++.

What do you mean by Analyzer Script for the package?

https://ibb.co/pz21rFj

I created model.package1 with the box checked icon. is not it the analyzer script? Then, on the debug-platform window, I choose GDB as the debugger, then I choose the package of my source-code(s.d is created from) as  the default directory, and main.exe as the application path. I save it. 

Then, I right click on the model.package1 analyzer script and click debug.

Is there any step I am missing?

mr nobody 11

3
General Board / execution analysis - recording history
« on: March 03, 2023, 02:06:08 am »
Hello Dear EA users,

Currently, I am trying to generate a sequence diagram from very simple example c++ code. I managed to use the debugger, however, I cannot click on any button on Record & Analyze window. As I understood, I somehow need to manage to record so that I can create a sequence diagram from the record.

https://sparxsystems.com/enterprise_architect_user_guide/16.1/execution_analysis/buildandrun.html

I try to follow the descriptions and explanations on the above link. Since I am EA and coding novice, these are definitely not enough for me. I mean I could not manage to generate sequence diagram for a very simple code.

Can someone give me an explanation on how to record?

Thank you very much in advance,

Best

mr nobody 11

4
General Board / Generating class and sequence diagrams from code
« on: March 01, 2023, 03:18:10 am »
Hello Dear EA users,

I have been investigating several methods to create sequence diagram and class diagram from source code. There are plenty of options for class diagrams including EA`s own method.

Unfortunately, for the sequence diagram, I could only find methods that work with Java, not c++. Do you know any tool that supports c++? and does EA supports sequence diagram generation from c++ code?

If you ever worked on this kind of generation. I would appreciate if you share your experiences before I try all the methods I found to see which one is the best way to go.

Best,

mr nobody 11

5
General Board / Re: Generating activity diagram from c++ code
« on: February 17, 2023, 04:22:45 am »
I think the first link I provided does not provide any good result. And also, I did not linked them here to say they are exactly what I am looking for. Just to give an idea that it exists in some forms.

You can search for better ones If you are interested, and let me know. I would appreciate.

mr nobody 11

6
General Board / Re: Generating activity diagram from c++ code
« on: February 17, 2023, 03:46:56 am »
I found some papers about the topic, putting their links here.

"A number of existing tools (both open-source and proprietary) allow programmers to
generate activity diagrams from C++ source code. These include: Moritz (an extension
to Doxygen), IBM Rational Rhapsody, Crystal FLOW, AthTek Code to FlowChart Converter,
Code Visual to Flowchart, AutoFlowchart, devFlowcharter" , quoted from the paper on the second link.


https://www.researchgate.net/profile/Rasha-Alsarraj/publication/351097609_Designing_and_implementing_a_tool_to_transform_source_code_to_UML_diagrams/links/608691e2881fa114b42b5256/Designing-and-implementing-a-tool-to-transform-source-code-to-UML-diagrams.pdf

https://arxiv.org/pdf/1405.3240.pdf

mr nobody 11

7
General Board / Generating activity diagram from c++ code
« on: February 16, 2023, 12:09:38 am »
Hello Dear EA users and developers,

I am not sure whether this forum is the correct place to ask this questions but I will try my chance. Sorry for any inconvenience.

Is there a plug-in you know to generate activity diagrams out of c++ code? I found many useful ones to generate static structure such as class diagram, however, I found it hard to find a tool to generate activity diagrams.

Best,

mr nobody 11

8
No, not a solution. When we needed something like that we set the value of the tag to the guid of the connector.

Using my EA-Navigator add-in we can simply copy the guid of a connector, and navigate from/to the connector based on the tagged values.
It's not ideal, but a workable workaround for now.

Geert

https://ibb.co/BK9t9ZM

Hey Geert,

I used your navigator as you suggested, but I have a problem. When you check the screenshot I linked, you will see that I want to choose my pathElements. Other than connections, I choose related path elements from project browser when I click on the 3 dot button. I tried to copy and paste the guid of a connector between the elements I chosen. But, it does not allow me to type the guid there. How can choose the connector type of element, or type the guid?

9
General Board / Changing the Icon of an element in Project Browser
« on: January 18, 2023, 02:31:01 am »
Hello Dear EA Users,

I managed to change the icons of elements in my custom toolboxes, however, I could not find a way to change the icons in project browser. I was sure that the answer is somewhere in this forum, but unfortunately I could not find it. Can you tell me how to do it?

Best,

mr nobody 11

10
https://ibb.co/jvMrCf6 https://ibb.co/DRdqmFN

Hello Dear Users,

As I know, the connectors does not appear on the browser window. For a specific element in my MDG technology, I should be able to choose them for a property of another element. You can check the 1st link to understand better what I mean. When I click on the red circled button, it pops-up the browser window(link 2) for me so that I can choose the related elements. In this case, I want to be able to choose connectors as well. Is there a known solution for this problem, or can you suggest some if you have any in mind?

Thank you very much!

Best,

mr nobody 11

11
I created this small example for simplicity. I do not re-use them in the original one, and the names are unique. I will go as you suggested and report it.

Thank you very much!

mr nobody 11

12
https://ibb.co/mBq7mzP  https://ibb.co/6yMZDwx  https://ibb.co/WGBBDQH

Hello Dear EA Users,

While I am working on a MDG technology. A bug happened to me many times. I created an example for it, you can check. The problem is that when there are many elements generalizing an abstract super class. The program does not allow me to reach every one of them when I want to choose one from the properties section.

I look forward for your answers. Thanks a lot!

Best,

mr nobody 11

13
This is a view for internal requirements (which aren't real objects).

What you can do is extend from the Requirement metaclass, and then add your properties as tagged values.
Those will then be visible and can be edited in the properties window.

Geert

Thank you Geert!

Best,

mr nobody 11

14
Hello Dear EA Users,

https://ibb.co/5Y4nf98

I am currently working on creating an MDG technology, and at some point I need to define my own requirements and constraints for some elements in my custom toolboxes. As you can see on the image I linked, in EA there are specific windows for them. I want to create my own(elements to be selected will be different according to a meta-model I want to use in EA for my MDG technology).

1.) Is there a way to create something similar to the image linked? If so, can you help me with the steps I should follow?
2.) Or, which elements from EA I can extend? so that I can add them in my custom toolboxes.

An example for 1st option: I should be able to select the type of my requirement, its severity, its Limit Type, its metric, and a value with a unit.

Best,

mr nobody 11

15
Thank you very much for your feedback. Before giving you a proper response, I should do some research about the terms you mentioned to solve my problem. At least, I feel like I have a direction, now. I appreciate a lot for your time and feedback.

Best,

mr nobody 11

Pages: [1] 2