From c6e389ee9a13cc2eb1723445dd794cb168bdbe6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20C=C3=A9sar=20Batista?= Date: Mon, 5 Dec 2022 19:39:59 -0800 Subject: [PATCH] Set sequence diagrams note to shape: page --- d2layouts/d2sequence/sequence_diagram.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d2layouts/d2sequence/sequence_diagram.go b/d2layouts/d2sequence/sequence_diagram.go index 277474be5..10230e8fb 100644 --- a/d2layouts/d2sequence/sequence_diagram.go +++ b/d2layouts/d2sequence/sequence_diagram.go @@ -115,8 +115,7 @@ func newSequenceDiagram(objects []*d2graph.Object, messages []*d2graph.Edge) *se // edge groups are children of actors with no edges and children edges if child.IsSequenceDiagramNote() { sd.verticalIndices[child.AbsID()] = getObjEarliestLineNum(child) - // TODO change to page type when it doesn't look deformed - child.Attributes.Shape = d2graph.Scalar{Value: shape.SQUARE_TYPE} + child.Attributes.Shape = d2graph.Scalar{Value: shape.PAGE_TYPE} sd.notes = append(sd.notes, child) sd.objectRank[child] = rank child.LabelPosition = go2.Pointer(string(label.InsideMiddleCenter))