主题
Untitled string in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SankeyNodeAlignment
控制桑基图的对齐方式。
See https://github.com/d3/d3-sankey#alignments.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
SankeyNodeAlignment Type
string
SankeyNodeAlignment Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"left" | Align all inputs to the left. |
"right" | Align all outputs to the right. |
"center" | Like `left`, except that nodes without any incoming links are moved as right as possible. |
"justify" | Like `left`, except that nodes without any outgoing links are moved to the far right. |
SankeyNodeAlignment Default Value
The default value is:
json
"justify"