icon position

This commit is contained in:
Gavin Nishizawa 2023-09-21 16:20:25 -07:00
parent 0fbc921248
commit 538d6920c8
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD

View file

@ -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
}
}