Path to a FigureElement within a FigureElementCollection.
string | {[name: string]: TypeElementPath } | FigureElement | Array<TypeElementPath>}
string | {[name: string]: TypeElementPath } |
| Array<TypeElementPath>}
Consider a collection with the below heirachy. The collection has two children diagram and description of which diagram is another collection:
diagram
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'] }]
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
diagramanddescriptionof whichdiagramis another collection: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'] }]