@hpcc-js/react
Version:
hpcc-js - Viz React
31 lines (30 loc) • 729 B
TypeScript
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