pub const MAX_WEIGHTED_NODES: usize = 2048; // 2_048usize
Graph nodes a weighted map builds at most: region, barrier, target and cost-polygon vertices, and the points along cost edges.