gramoloss
Version:
Graph theory package for edition and computation
16 lines (15 loc) • 484 B
TypeScript
import { Coord } from "../coord";
import { Graph } from "../graph";
import { VertexIndex } from "../vertex";
import { Representation } from "./representation";
export declare class DegreeWidthRep implements Representation {
c1: Coord;
c2: Coord;
x: Map<VertexIndex, number>;
constructor(g: Graph, c1: Coord, c2: Coord);
distribute(): void;
top_right_corner(): Coord;
bot_left_corner(): Coord;
top_left_corner(): Coord;
bot_right_corner(): Coord;
}