@samatawy/diagrams
    Preparing search index...

    Class DiagramToolbox

    Index

    Constructors

    Properties

    config: Required<DiagramToolBoxConfig>
    host: HTMLElement
    toolsets: Map<string, DiagramToolset> = ...
    cells: Map<string, HTMLElement> = ...

    Methods

    • Creates a collapsible section element with a heading and a two-column property grid inside. Returns the section root and the inner grid so rows can be appended to it.

      Parameters

      • heading: string
      • state: "expanded" | "collapsed"

      Returns { section: HTMLElement; grid: HTMLElement }