Type Alias: EdgeLabelDrawingFunction()<N, E, G>
EdgeLabelDrawingFunction<
N
,E
,G
>: (context
,edgeData
,sourceData
,targetData
,settings
) =>void
Type Parameters
• N extends Attributes
= Attributes
• E extends Attributes
= Attributes
• G extends Attributes
= Attributes
Parameters
• context: CanvasRenderingContext2D
• edgeData: PartialButFor
<EdgeDisplayData
, "label"
| "color"
| "size"
>
• sourceData: PartialButFor
<NodeDisplayData
, "x"
| "y"
| "size"
>
• targetData: PartialButFor
<NodeDisplayData
, "x"
| "y"
| "size"
>
• settings: Settings
<N
, E
, G
>
Returns
void