trassel
Version:
Graph computing in JavaScript
20 lines (19 loc) • 480 B
TypeScript
/**
* Main logic wrapped in a class to hold a space for potential future functionallity
*/
export class OrthogonalConnector {
byproduct: {
hRulers: never[];
vRulers: never[];
spots: never[];
grid: never[];
connections: never[];
};
getPoints(x: any, y: any, width: any, height: any): {
name: string;
x: any;
y: any;
}[];
assignSides(pointA: any, pointB: any): void;
route(opts: any): any;
}