Skip to content

Interface: EdgeTextProps ​

these props are passed to edge texts

Table of contents ​

Properties ​

Properties ​

label ​

• Optional label: string | object | VNode<RendererNode, RendererElement, { [key: string]: any; }>


labelBgBorderRadius ​

• Optional labelBgBorderRadius: number


labelBgPadding ​

• Optional labelBgPadding: [number, number]


labelBgStyle ​

• Optional labelBgStyle: CSSProperties


labelShowBg ​

• Optional labelShowBg: boolean


labelStyle ​

• Optional labelStyle: CSSProperties


x ​

• x: number


y ​

• y: number

Released under the MIT License.