gramoloss
Version:
Graph theory package for edition and computation
29 lines (28 loc) • 749 B
TypeScript
import { Coord } from "./coord";
import { Option } from "./option";
export interface Geometric {
getPos(): Coord;
}
export interface Weighted {
getWeight(): string;
setWeight(weight: string): void;
}
export declare class BasicVertexData {
pos: Coord;
weight: string;
color: string;
constructor(pos: Coord, weight: string, color: string);
getValue(param: string): any;
getPos(): Coord;
getWeight(): string;
setWeight(weight: string): void;
}
export declare class BasicLinkData {
cp: Option<Coord>;
weight: string;
color: string;
constructor(cp: Option<Coord>, weight: string, color: string);
getValue(param: string): any;
getWeight(): string;
setWeight(weight: string): void;
}