wetrade-design
Version:
一款多语言支持Vue3的UI框架
42 lines (41 loc) • 896 B
TypeScript
/**
* User: CHT
* Date: 2020/5/8
* Time: 14:01
*/
import type { Meta } from './model';
import { NodeLineType } from './types';
export default class GraphNode {
$options: any;
key: string;
graph: any;
coordinate: number[];
meta: Meta;
getCoordinateX: () => void;
getCoordinateY: () => void;
coordinateXFnList: any[];
width: number;
height: number;
angleList: any[];
tier: number;
constructor(props: any, graph: any);
createPath({ type }: {
type: NodeLineType;
}): any;
createArc(type: NodeLineType): {
startPath: any;
endPath: any;
};
createTerminalPoint({ g, color, type }: {
g: any;
color: any;
type: any;
}): void;
createLine({ g, style: { color }, type }: {
g: any;
style: {
color: any;
};
type: any;
}): void;
}