minimumSizeFor method
Implementation
@override
DiagramSize minimumSizeFor(
FramedElement shape,
Map<String, double> textHeights,
) => DiagramSize(
children
.map((c) => c.minimumSizeFor(shape, textHeights).width)
.reduce(math.max),
children
.map((c) => c.minimumSizeFor(shape, textHeights).height)
.reduce(math.max),
);