UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

16 lines (15 loc) 558 B
/** * Draws the SVG edges of each node. */ import * as React from 'react'; export interface EdgeConnectorsCoordinatesProps { xSource?: number; ySource?: number; xTarget?: number; yTarget?: number; } export interface EdgeProps extends EdgeConnectorsCoordinatesProps { parentLayoutStyle: number; } export declare const Edge: React.SFC<EdgeProps>; export declare const getEdgeConnectorsCoordinates: (nodeId: string, nodeParentId: string, isParentNodeOrgStyle: boolean, nodeStyle?: string) => EdgeConnectorsCoordinatesProps;