Type Alias: EdgeLabelDrawingFunction()<N, E, G>
EdgeLabelDrawingFunction<
N
,E
,G
>: (context
,edgeData
,sourceData
,targetData
,settings
) =>void
Defined in: sigma/src/rendering/edge-labels.ts:6
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