• Scales a solution from venn.venn or venn.greedyLayout such that it fits in a rectangle of width/height - with padding around the borders. also centers the diagram in the available space at the same time

    Parameters

    • solution: any
    • width: any
    • height: any
    • padding: any

    Returns any