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.
16 lines (15 loc) • 532 B
TypeScript
import { Reservation } from '$lib/office/reservations/Reservation';
import { Seat } from '$lib/office/Seat';
import { Person } from '$lib/people/Person';
export declare class SeatMarker {
seat: Seat;
reservation: Reservation;
seated: Person | null;
constructor(seat: Seat, seated: Person | null);
infobox(extra?: string): string;
personLabel(): string;
personLabelColor(): "#223322" | "#aaa";
seatFillColor(): "#99ccff" | "#eee";
seatStrokeColor(): "#ccc" | "#336699";
isSeated(): boolean;
}