Author Topic: mixing perspectives  (Read 1021 times)

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
mixing perspectives
« on: August 21, 2023, 11:23:33 pm »
Hi All,
    I have used UML till now.
But for generating requirement diagrams, I used the SysML perspective.
However, it seems that the flowchart elements are not the same, specifically showing events in the flowcharts.
Can I mix perspectives in a project?
thanks,

qwerty

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: mixing perspectives
« Reply #1 on: August 22, 2023, 12:30:32 am »
Well, sort of. Any element you create has it's "persepective" by the stereotype from a certain profile. You can use them as you need and even mix on diagrams. Whether that's a good idea is another question. Means that your readership has to know what is what.

q.

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: mixing perspectives
« Reply #2 on: August 24, 2023, 02:45:48 pm »
To keep it comprehendible, I will be only adding diagrams from different perspectives.
Don't know if it is possible in EA, but I will not be mixing perspectives within a diagram.
That is elements from different perspectives will not be mixed in a single diagram.
thanks,
Kalpak

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12670
  • Karma: +525/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: mixing perspectives
« Reply #3 on: August 24, 2023, 04:34:44 pm »
To keep it comprehendible, I will be only adding diagrams from different perspectives.
Don't know if it is possible in EA, but I will not be mixing perspectives within a diagram.
That is elements from different perspectives will not be mixed in a single diagram.
thanks,
Kalpak
I think you should start by using the correct terms.

A perspective is a collection of MDG technologies that (usually) contain UML profiles.
A UML profile is like a language (UML, BPMN, ArchiMate,...)
Within that language the different elements are defined as stereotypes (ArchiMate_ApplicationComponent, BusinessProcess), and relations between the elements are defined, sometimes as standard UML relations, sometimes as stereotypes.

Now each language is self contained, and there are no relations defined between elements from different languages.
In EA you can put anything on any diagram, but you won't be able to add relations between the elements (unless you uncheck the strict connector syntax option)

The best option would be to create your own MDG technology and UML profile, that combines elements from the different languages you want to use.
Then you can define the relations needed, and the toolboxes with the exact element types you want to use.

Geert

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: mixing perspectives
« Reply #4 on: September 07, 2023, 07:56:21 pm »
Hi,
   Possibly my terminology is mixed up.
So, I will state my aim/ intention to make it clear.
How do I get from requirements document to final code / program in Python?
thanks,

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12670
  • Karma: +525/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: mixing perspectives
« Reply #5 on: September 07, 2023, 08:08:35 pm »
How do I get from requirements document to final code / program in Python?
That's the subject for a book, or even multiple books.

Kinda hard to give you a useful response in this forum, except for: hire a consultant to help you.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: mixing perspectives
« Reply #6 on: September 07, 2023, 09:23:20 pm »
I once started with the ICONIX approach (guess it would still be linked somewhere at Sparx' site). It took me a couple of years to really get the full picture. But each journey starts with a single step. Good luck.

q.

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: mixing perspectives
« Reply #7 on: September 09, 2023, 10:42:53 pm »
How do I get from requirements document to final code / program in Python?
That's the subject for a book, or even multiple books.

Kinda hard to give you a useful response in this forum, except for: hire a consultant to help you.

Geert

Yes, quite true.
But I am not looking for quick fix.
I am trying to use EA for a python software project development.

Here is another way of looking at it.
Rather long winded...

After the days of punched cards and hex keying of hand assembled code, I graduated to simple text editors. 
That is, we got rid of handwriting quality, manual assembly and fragility of cards.

To make it more readable, an editor that has syntax highlighting was the next step.

Now we have IDEs, which also include build, run, step through....
Throw in static analysis and any competent and experienced programmer becomes highly productive.

The gap left is from documentation to code generation and testing, the last manual step.

I have used flowcharts for a few decades and UML (mainly Visual Paradigm) for the past decade+.
But VP by their own admission cannot generate code from flow/ activity diagram, only from state charts.

So, which UML profile should I use for end-to-end solution in EA?

If necessary, I am ready to give up requirements diagram (that is SYSML).
That is, go back to creating just State/ Activity and Sequence diagrams to generate code.

The Architecture design gap is easy to bridge because both done by persons with a higher level of experience and competence.
Now if I can generate even a well-documented code or code skeleton, I will be making juniors very productive.
« Last Edit: September 09, 2023, 10:44:30 pm by KalpakD »

qwerty

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: mixing perspectives
« Reply #8 on: September 10, 2023, 07:52:06 am »
You don't neeed any profile since UML can do it the full path. Archimate, BPMN, SysML etc have individual focus on special areas. You could use them but you must not. Maybe you should consider creating your own profie if the project is large enough.

q.

KalpakD

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: mixing perspectives
« Reply #9 on: September 10, 2023, 11:44:47 pm »
You don't neeed any profile since UML can do it the full path. Archimate, BPMN, SysML etc have individual focus on special areas. You could use them but you must not. Maybe you should consider creating your own profie if the project is large enough.

q.

Thanks,
I deviated from "plain" UML because I wanted to go from requirements to code.

The project is small.
It is a simple SCADA.
So, like I said earlier, lack of requirements diagram is not a showstopper.

Looks like in EA, some profile must be selected.
So, should I just select ALL UML and go ahead?
regards,