Vertical order of the flow ribbons WITHIN each stratum of a Sankey/alluvial (which lode sits above which). none (default) stacks by the neighbouring node position (native). The others port ggalluvial's lode.guidance: within a stratum, alluvia are ordered by the strata they pass through in the OTHER axes, visited in a set priority. zigzag (ggalluvial default) weights the nearest axes first, alternating outward; forward/backward weight earlier/later axes; frontback/backfront sweep to one end then the other. Requires an explicit sankeyNodeSort (e.g. "factor")
string
none
none,
zigzag,
forward,
backward,
frontback,
backfront
sankeyLodeGuidance : "none"
sankeyLodeGuidance : "zigzag"
sankeyLodeGuidance : "forward"
sankeyLodeGuidance : "backward"
sankeyLodeGuidance : "frontback"
sankeyLodeGuidance : "backfront"
Order of the strata within each Sankey/alluvial column. auto: flow-based order that minimizes ribbon crossings (default). input: data order, no reordering. ascending/descending: by the stratum flow value. alphabetical: by the stratum name. factor: by each axis variable factor levels (ggalluvial parity); strata whose value has no defined level sort last, alphabetically
string
auto
auto,
input,
ascending,
descending,
alphabetical,
factor
# sankeyTextScaleFontFactor
Height model for the Sankey/alluvial strata. normal: one shared scale across the whole diagram (columns with fewer classes are shorter). proportional: each stratum column is scaled independently to fill the full plot height, node heights stay proportional to their value, and the flow ribbons proportionally fill the node boxes at both ends. equal: every stratum (node) in a column gets the same height so the column is evenly partitioned, with the ribbons proportionally filling each equal node box at both ends. aligned: keeps the normal node heights but spreads the strata of each column evenly over the full plot height (overrides sankeyNodePadding)
string
normal
normal,
proportional,
equal,
aligned