UNPKG

@hpcc-js/react

Version:
24 lines 666 B
import * as React from "@hpcc-js/preact-shim"; import { VertexProps } from "./vertex"; type Point = [number, number]; export interface EdgeProps<V extends VertexProps = VertexProps> { id: string | number; origData?: any; source: V; target: V; label?: string; labelPos?: Point; weight?: number; strokeDasharray?: string; strokeWidth?: number; stroke?: string; fontFamily?: string; labelFill?: string; labelHeight?: number; path?: string; points?: Array<[number, number]>; curveDepth?: number; } export declare const Edge: React.FunctionComponent<EdgeProps>; export {}; //# sourceMappingURL=edge.d.ts.map