Is there a way to have more than one character in connectors?

0 votes
asked Jul 27 in Question / help by Josh (120 points)

Hello. 

I would like to know if there is a way to have complete words instead of a single character in the connectors, on an activity diagram.

@startuml
start
:foo2;
("Basic routine")
end

("Basic routine")
:foo5;
end

@enduml

Thanks

1 Answer

0 votes
answered Jul 27 by The-Lu (48,920 points)
selected Jul 27 by Josh
 
Best answer

Hello J.,

Here is another proposal using SDL:

@startuml
start
:foo2;
:Basic routine>
end

:Basic routine<
:foo5;
end
@enduml

Regards.

commented Jul 27 by The-Lu (48,920 points)

Hello J.,

Here is another proposal using style:

@startuml
<style>
.conn {
  fontstyle bold
  RoundCorner 200
  padding 35 5 35 5
}
</style>
start
:foo2;
<<conn>>:Basic routine;
end

<<conn>>:Basic routine;
:foo5;
end
@enduml

Regards.

commented Jul 27 by Josh (120 points)

Thanks a lot for your prompt response.
This is what I was looking for.

smiley

...