officekit
Version:
A toolkit to represent and visualize office spaces. It also provides functionality to simulate usage of offices, and calculate a score given a fitness function. It also have functionatlity for automatic allocation of offices using a genetic algorithm.
15 lines (14 loc) • 663 B
TypeScript
import type { Seat } from '$lib/office/Seat';
import type { VizFloor } from '../VizFloor';
import type { SeatingStats } from '$lib/seating/SeatingStats';
import { SelectedSeatViz } from './SelectedSeatViz';
import { SeatMarker } from './markers/SeatMarker';
export declare class SeatFitnessViz extends SelectedSeatViz {
seatingStats: SeatingStats | null;
constructor();
setSeatingStats(seatingStats: SeatingStats): void;
distanceColor(seatmarker: SeatMarker): string;
personLabelColor(seatmarker: SeatMarker): "#223322" | "#aaa" | "#fff";
distanceText(seat: Seat): string;
render(viz: VizFloor, element: any, radius?: number): void;
}