Function foreign_object

  • NOTE: this is an experimental feature Create a foreignObject diagram

    Parameters

    • innerHTML: string
    • width: number

      width of the foreignObject

    • height: number

      height of the foreignObject

    • scale_factor: number

    Returns Diagram

    an image diagram