- {JSON.stringify(props.items, null, 4)}
-
- )
-}
-
-export type RawNode = {
- name: string
- prettyName: string
- connections: string[]
-}
-
-type HSL = [hue: number, saturation: number, lightness: number]
-
-const COLORS: readonly HSL[] = [
- [3, 86, 64],
- [31, 90, 69],
- [15, 87, 66]
-]
-
-/* use a plain object instead of Map for faster lookups */
-type ColorMap = { [key: string]: string }
-type HSLMap = Map