1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-22 13:05:09 +00:00

fix: missing label in activity diagrams

https://github.com/plantuml/plantuml/issues/1622#issuecomment-1847091587
This commit is contained in:
Arnaud Roques 2023-12-11 19:03:13 +01:00
parent a061b11305
commit a87f844064

View File

@ -129,8 +129,13 @@ public class InstructionList extends WithNote implements Instruction, Instructio
@Override @Override
public Ftile createFtile(FtileFactory factory) { public Ftile createFtile(FtileFactory factory) {
if (all.size() == 0) if (all.size() == 0) {
return new FtileEmpty(factory.skinParam(), defaultSwimlane); Ftile result = new FtileEmpty(factory.skinParam(), defaultSwimlane);
// Not a typo, in that case, we decide to decorate the entry link.
if (outlinkRendering != null)
result = factory.decorateIn(result, outlinkRendering);
return result;
}
final List<WeldingPoint> breaks = new ArrayList<>(); final List<WeldingPoint> breaks = new ArrayList<>();
Ftile result = eventuallyAddNote(factory, null, getSwimlaneIn(), VerticalAlignment.CENTER); Ftile result = eventuallyAddNote(factory, null, getSwimlaneIn(), VerticalAlignment.CENTER);