AttachmentMode

AttachmentMode()

The attachment mode of a Mark.

SINGLE: A mark that is attached to a single note or event. SPAN: A mark that is attached to a span of notes or events. EITHER: A mark that can be attached to either a single event or a span.

This is not enforced at the OmkGraph level, but may be used in validation or rendering to determine how a mark should be applied, or whether/why a rendering may fail or produce unexpected results.

Attributes

Name Description
SINGLE
SPAN
EITHER