From 538d6920c804071e61a65f043fbecbefd6059552 Mon Sep 17 00:00:00 2001 From: Gavin Nishizawa Date: Thu, 21 Sep 2023 16:20:25 -0700 Subject: [PATCH] icon position --- d2layouts/d2layouts.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d2layouts/d2layouts.go b/d2layouts/d2layouts.go index b9ede64ad..6b2d1fc7a 100644 --- a/d2layouts/d2layouts.go +++ b/d2layouts/d2layouts.go @@ -255,6 +255,9 @@ func InjectNested(container *d2graph.Object, nestedGraph *d2graph.Graph, isRoot if nestedGraph.Root.LabelPosition != nil { container.LabelPosition = nestedGraph.Root.LabelPosition } + if nestedGraph.Root.IconPosition != nil { + container.IconPosition = nestedGraph.Root.IconPosition + } container.Attributes = nestedGraph.Root.Attributes } }