Skip to main content

components_Graph_DefaultRenderEdge

perfect-graph / Modules / components/Graph/DefaultRenderEdge

Module: components/Graph/DefaultRenderEdge#

Table of contents#

Functions#

Functions#

DefaultRenderEdge#

â–¸ Const DefaultRenderEdge(c): ReactElement<any, string | JSXElementConstructor<any>>

Default render edge component. If renderEdge is not suplied, it will render.

Parameters#

NameType
c{ config: EdgeConfig ; context: EdgeContext ; count: number ; element: EdgeSingular ; from: Position ; index: number ; item: EdgeData ; sortedIndex: number ; sourceElement: NodeSingular ; targetElement: NodeSingular ; to: Position } & RenderElementParams

Returns#

ReactElement<any, string | JSXElementConstructor<any>>

Defined in#

components/Graph/DefaultRenderEdge.tsx:10