mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 20:59:15 +08:00
1.2 KiB
1.2 KiB
delegateStyle
类型:
type delegateStyle = {
fill?: string;
stroke?: string;
lineWidth?: number;
lineDash?: number[];
opacity?: number;
};
默认值:
{
"fill": "#F3F9FF",
"fillOpacity": 0.5,
"stroke": "#1890FF",
"strokeOpacity": 0.9,
"lineDash": [5, 5]
}
是否必须:false
说明:临时矩形的样式
enableTransient
类型:boolean
默认值:true
是否允将交互目标渲染到临时层(Transient Layer)
enableDelegate
类型:boolean
默认值:false
创建一个临时矩形来作为交互目标
hideRelatedEdges
类型:boolean
默认值:false
是否隐藏与节点相关的边
selectedState
类型:string
默认值:selected
拖拽时切换到该状态
updateComboStructure
类型:boolean
默认值:true
拖拽过程中,是否更新 Combo 结构