@expofp/floorplan
Version:
Interactive floor plan library for expos and events
9 lines • 381 B
TypeScript
/**
* Decodes a node ID created by `pointId` back into [layer, x, y].
*
* Point IDs are formatted as "{layer}_{x}_{y}". Since layer names may
* contain underscores (e.g. "floor_1"), we parse from the right where
* x and y are always the last two segments.
*/
export declare function parseNodeId(id: string): [string, number, number];
//# sourceMappingURL=parseNodeId.d.ts.map