UNPKG

646 BTypeScriptView Raw
1export interface Point {
2 x: number;
3 y: number;
4}
5export interface TextDimensionConfig {
6 fontSize?: number;
7 fontWeight?: number;
8 fontFamily?: string;
9}
10export interface TextDimensions {
11 width: number;
12 height: number;
13 lineHeight?: number;
14}
15export interface EdgeData {
16 arrowheadStyle?: string;
17 labelpos?: string;
18 labelType?: string;
19 label?: string;
20 classes: string;
21 pattern: string;
22 id: string;
23 arrowhead: string;
24 startLabelRight: string;
25 endLabelLeft: string;
26 arrowTypeStart: string;
27 arrowTypeEnd: string;
28 style: string;
29 labelStyle: string;
30 curve: any;
31}