figureone
    Preparing search index...

    Type Alias TypeElementPath

    TypeElementPath:
        | string
        | { [name: string]: TypeElementPath }
        | FigureElement
        | TypeElementPath[]

    Path to a FigureElement within a FigureElementCollection.

    string | {[name: string]: TypeElementPath } | FigureElement | Array<TypeElementPath>}

    Consider a collection with the below heirachy. The collection has two children diagram and description of which diagram is another collection:

    • diagram
      • lineA
      • lineB
      • lines
        • lineC
        • lineD
    • description

    The ways to define lineC, lineD and description are:

    • ['description', 'diagram.lines.lineC', 'diagram.lines.lineD']
    • ['description', { diagram: ['lines.lineC', 'lines.lineD'] }]
    • ['description', { 'diagram.lines': ['lineC', 'lineD'] }]