presentationFor method
Cached presentation derived from this registration, sharing its content and connection grammar. No additional shape type or document is created.
Implementation
ShapeDefinition presentationFor({required bool collapsed}) =>
collapsed && collapse != null && !_collapsed
? _collapsedPresentation
: this;