Optionalcontext: DrawingLinkContextSourceCommitted drawings remain on peers; transient previews are discarded.
Report the current instrument. Unknown identity stops sharing immediately.
Share selected ids, or every existing eligible drawing when ids are omitted.
Optionalids: readonly string[]
Existing local drawings stay local until
shareis called. Persisted shared lineage reconnects across restores. Only price-pane drawings participate; time anchors cross the boundary unchanged so each interval uses its own coordinate map.The price pane is each chart's own, in whatever slot that chart keeps it: one chart can hold it at the top and another below its studies. A shared drawing is therefore kept on slot 0 and put on each member's price pane as it is applied there, never copied across by slot.
A drawing pinned to the viewport never participates, and pinning a shared one takes it out of the link on that chart alone: the other charts keep their copy.