Portout and interfaces wrong location

+1 vote
asked Mar 2 in Bug by Narcís Oriol Tordera
Given a simple example with components, ports and interfaces.
@startuml
component C {
  portin in
  portout out
  interface IAin
  component c1
  interface IAout
}
in -d-> IAin
IAin -d-> c1
c1 -d-> IAout
IAout -d-> out
@enduml

portout out is rendered at the right. I expect it to be rendered at the bottom.

Thanks for your work.
commented Mar 2 by The-Lu (79,040 points)

Hello O.,

[Just for the record] Here is the corresponding diagram:

VS

Regards,
Th.

commented Mar 2 by The-Lu (79,040 points)
commented Mar 2 by The-Lu (79,040 points)

Here is a workaround, by using another layout engines than Graphviz like Smetana the internal port of Graphviz:

@startuml
!pragma layout smetana
component C {
  portin in
  portout out
  interface IAin
  component c1
  interface IAout
}
in --> IAin
IAin --> c1
c1 --> IAout
IAout --> out
@enduml

Enjoy,
Regards,
Th.

commented Mar 2 by Narcís Oriol
Hello there The-Lu,

Thank you very much. I could not attach images for some reason.

Do you have more information about Smetana? I would like to know more about it.

Plantuml is so nice!

Again, thank you very much.

1 Answer

0 votes
answered Mar 3 by The-Lu (79,040 points)

Hi N.,

I could not attach images for some reason.

No problem.
But You could click on the image button and add an Image URL.

Do you have more information about Smetana? I would like to know more about it.

You can read the plantuml documentation here:

Enjoy,
Regards,
Th.

...