(groups: readonly OrganicCluster[])
| 42 | // Counts retained node records, member IDs and edge records, not just graphs. |
| 43 | const MAX_GEOMETRY_WEIGHT = 100_000; |
| 44 | const copyGroups = (groups: readonly OrganicCluster[]) => groups.map(group => ({ ...group, |
| 45 | nodeIds: [...group.nodeIds], center: { ...group.center } })); |
| 46 | |
| 47 | function samePoint(a: Point | undefined, b: Point | undefined): boolean { |
| 48 | return a === undefined || b === undefined ? a === b : a.x === b.x && a.y === b.y && a.z === b.z; |
no outgoing calls
no test coverage detected