Book a Demo

Author Topic: Parent/Child diagrams (again)  (Read 4637 times)

GOCE

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Parent/Child diagrams (again)
« on: March 30, 2012, 01:38:25 am »
I want to describe a system and its subsystems. I start with a context diagram like this: (images are not in EA)


Then I want to have a new diagram (a child diagram) where there is a decomposition of the ProcessBox in two new processes, like this:


As you can see the data flow arrows are the same, in the first case they are from the parent process, in the second case from one of its subsystems

Is there a way to do somenthing like this in EA?

P.S. I tried to use the function Composite, but I can't change the arrows 's "from" in the subsystem diagram
« Last Edit: March 30, 2012, 01:40:07 am by GOCE »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Parent/Child diagrams (again)
« Reply #1 on: March 30, 2012, 02:07:07 am »
Probably you need to draw flows from system and subsystem. In the 2nd diagram you need to hide the flows from the subsystem.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Parent/Child diagrams (again)
« Reply #2 on: March 30, 2012, 09:08:41 am »
The problem that EA has is that in your first diagram Data0 has its source at ProcessBox0 but in the second diagram its source is SubProcessBox1. EA won't consider them the same flow.

Try having a Port on the edge of ProcessBox0. Then you would have a flow from SubProcessBox1 to the Port and from the Port to ExternalEntity0. Both flows would be called Data0. In your context diagram, you don't show the internal wiring of your process, and in your decomposition you don't show the external context, but in both diagrams you will show a flow called Data0.

[Tip: to show the Ports on the child diagram, drag the process element onto the child diagram, right-click > Advanced > Show Composite Diagram to show a diagram frame and right-click > Embedded Elements to show the ports.]
« Last Edit: March 30, 2012, 09:10:35 am by KP »
The Sparx Team
[email protected]

GOCE

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Parent/Child diagrams (again)
« Reply #3 on: March 30, 2012, 08:44:52 pm »
ok, thank you for the answer...
I'll try it and see what can I do...

GOCE

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Parent/Child diagrams (again)
« Reply #4 on: April 02, 2012, 07:35:15 pm »
Can you tell me which are the functionalities of the Port? What does it do exactly?
thank you again!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Parent/Child diagrams (again)
« Reply #5 on: April 02, 2012, 07:44:13 pm »
A port is just that what the name says. You can use it to group a number of interfaces. See it as a plug which combines a number of different male/female connectors.

q.