The links of an am5flow series, each paired with the data item it was read
from.
extractFlowPoints is this list with the data items dropped, so the
n-th point of a flow layer was read from the n-th entry here by
construction rather than by two walks agreeing. That is what lets the
highlight invert an index: FlowTrace publishes the ribbon it outlined as a
position in layer.data, and the adapter reads that position back off this
list to reach the sprite amCharts drew.
A parallel walk would have done the same job until one of the two learned
about a link the other kept — the drop rules above are exactly where that
would happen — and the highlight would then sit one ribbon off with nothing
about the announcement looking wrong.
The links of an am5flow series, each paired with the data item it was read from.
extractFlowPoints is this list with the data items dropped, so the n-th point of a flow layer was read from the n-th entry here by construction rather than by two walks agreeing. That is what lets the highlight invert an index:
FlowTracepublishes the ribbon it outlined as a position inlayer.data, and the adapter reads that position back off this list to reach the sprite amCharts drew.A parallel walk would have done the same job until one of the two learned about a link the other kept — the drop rules above are exactly where that would happen — and the highlight would then sit one ribbon off with nothing about the announcement looking wrong.