CloudLayout

tcmts.share.CloudLayout · #s2a4mz7d · interface

One way of grouping a CodeMap's dots into clouds, and where each dot, cloud and puff is.

import type { Cloud } from "#codebase/tcmts/share";

export interface CloudLayout {
  clouds: Cloud[];
  /** each dot's cloud, its puff in that cloud, and where it is */
  cloud: number[];
  puff: number[];
  x: number[];
  y: number[];
  /** the references between clouds: the two clouds and how many, the most first */
  links: [number, number, number][];
}

uses

used by