plantuml/plantuml

[Packetdiag] fix `rotate`, allow `same_height` optional, ...

Open

#2530 opened on Feb 15, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (9,118 stars) (847 forks)batch import
enhancementgood first issue

Description

Context

To follow:

Wanted feature

Here is a wanted feature in order to:

  • fix rotate
  • center vertically/horizontally all labels
  • allow same_height optional (same_height = true)

to be conform with the original form:

Not working Example

@startpacketdiag
{
  colwidth = 32
  node_height = 72

  0-15: Source Port
  16-31: Destination Port
  32-63: Sequence Number
  64-95: Acknowledgment Number
  96-99: Data Offset
  100-105: Reserved
  106: URG [rotate = 270]
  107: ACK [rotate = 270]
  108: PSH [rotate = 270]
  109: RST [rotate = 270]
  110: SYN [rotate = 270]
  111: FIN [rotate = 270]
  112-127: Window
  128-143: Checksum
  144-159: Urgent Pointer
  160-191: (Options and Padding)
  192-223: data [colheight = 3]
}
@endpacketdiag

(FYI @kolulu23) Regards, Th.

Contributor guide