Book a Demo

Author Topic: Component Diagrams  (Read 13312 times)

nick mid

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Component Diagrams
« on: March 11, 2014, 03:46:40 am »
If i create a component on a component diagram. I can add ports to the newly created component but when I drill down into the component ( it is a composite structure diagram and therfore has a child diagram ) i cannot see any of the external ports in the child diagram nor can I place the ports on the child diagram. Am I doing anything wrong??

rothnic

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: Component Diagrams
« Reply #1 on: March 11, 2014, 07:20:03 am »
I've only used the SysML IBD that is based on it, but for the IBD you must right click the diagram and tell it to show the frame, then right click the diagram, choose structural elements, check inherited, then select the ports you want to show.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Component Diagrams
« Reply #2 on: March 11, 2014, 12:56:03 pm »
From the context menu choose Structural Elements and select the ports to show.

q.

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: Component Diagrams
« Reply #3 on: March 11, 2014, 03:32:42 pm »
You might have to (again) place your parent component in the composite diagram(child diagram) to the diagram.
Ports are considered as embedded elements and cannot be placed without the actual parent.

in SysML IBD, the parent element is shown as frame. you can try to achieve a similar effect by changing appearance of the component in child diagram

nick mid

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Component Diagrams
« Reply #4 on: March 11, 2014, 11:40:19 pm »
Thanks everyone

The context menu, choose 'Structural Elements' does not appear if I right click in the diagram. SysML may be a better option for me.

Also I cant seem to 'show the frame'.

I have also tried what Nizam has suggested, where I can see an image of the frame and images of its nested components. (Using Show Composite diagram in frame) however I cannot do connections internal to the shown frame.

Finaly by using Nizams suggestion and just changing the size of the placed component to make it realy big. ( Note He says you can try to achieve a similar effect by changing appearance of the component in child diagram ). I can now draw on top the big component and delegate ports/interfaces.

It is not too inattentive but it does what i want which is essentially  the diagram shown in the wikipedia description of component diagrams.

Thanks Nizam

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Component Diagrams
« Reply #5 on: March 12, 2014, 04:10:51 am »
Quote
The context menu, choose 'Structural Elements' does not appear if I right click in the diagram.

It is meant for single elements.

q.