主题
Swimlane Diagram Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/SwimlaneDiagramConfig包含特定于泳道图类型的配置的对象。泳道图重用了流程图渲染器和流程图配置以共享选项(曲线、HTML标签、间距等);此块包含仅影响泳道布局管道的旋钮。
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config.schema.json* |
SwimlaneDiagramConfig Type
object (Swimlane Diagram Config)
all of
SwimlaneDiagramConfig Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| lineHops | Merged | Optional | cannot be null | Mermaid Config |
| ignoreCrossLaneEdges | boolean | Optional | cannot be null | Mermaid Config |
| optimizeRanksByCrossings | boolean | Optional | cannot be null | Mermaid Config |
lineHops
将边缘交叉显示为小弧线 ("hops") 或可见间隙,以便更容易读取重叠的边缘。设置为 false 可禁用。为避免破坏几何形状,曲线渲染的边缘将被跳过。
lineHops
is optional
Type: merged type (Details)
cannot be null
defined in: Mermaid Config
lineHops Type
merged type (Details)
one (and only one) of
lineHops Default Value
The default value is:
json
"arc"ignoreCrossLaneEdges
在分配泳道层时忽略跨越泳道边界的边。这可以提高具有许多跨泳道链接的图表的排名质量。
ignoreCrossLaneEdges
is optional
Type:
booleancannot be null
defined in: Mermaid Config
ignoreCrossLaneEdges Type
boolean
ignoreCrossLaneEdges Default Value
The default value is:
json
trueoptimizeRanksByCrossings
启用针对泳道布局的交叉感知排名优化处理。
optimizeRanksByCrossings
is optional
Type:
booleancannot be null
defined in: Mermaid Config
optimizeRanksByCrossings Type
boolean
optimizeRanksByCrossings Default Value
The default value is:
json
true