UNPKG

gojs

Version:

Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams

22 lines (21 loc) 971 B
import * as go from "../../../release/go"; declare class Floorplan extends go.Diagram { private _palettes; private _pointNodes; private _dimensionLinks; private _angleNodes; constructor(div: any); palettes: Array<go.Palette>; pointNodes: go.Set<go.Node>; dimensionLinks: go.Set<go.Link>; angleNodes: go.Set<go.Node>; convertPixelsToUnits: (num: number) => number; convertUnitsToPixels: (num: number) => number; updateWall: (wall: go.Group) => void; getAdjustedPoint: (point: go.Point, wall: go.Group, angle: number, wallOffset: number) => go.Point; buildDimensionLink: (wall: go.Group, index: number, point1: go.Point, point2: go.Point, angle: number, wallOffset: number, soloWallFlag: boolean, floorplan: Floorplan) => void; updateWallDimensions: () => void; getWallsIntersection: (wall1: go.Group, wall2: go.Group) => go.Point; updateWallAngles: () => void; } export = Floorplan;