• Get a preview diagram of the context

    Parameters

    • ctx: GeoCtx

      the Geo context (a dictionary of GeoObj and Vector2)

    • Optionalpad: number | number[]

      padding around the diagram (determine how far away from the defined point the visible diagram is)

    Returns Diagram