Raise physical canvas capacity and keep region==canvas rules consistent.

Pass view kind into membership so metro maps are not capped at core=80, add region-scoped neighbor projection, and align UI/tests with one physical canvas per region.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-09 23:23:09 +08:00
parent a9a45d39d4
commit 75d03f5f9b
8 changed files with 342 additions and 157 deletions

View file

@ -19,7 +19,8 @@ ROLE_DEFAULT_MAX_NODES = {
VIEW_ROLE_ACCESS: 300,
}
KIND_DEFAULT_MAX_NODES = {
VIEW_KIND_PHYSICAL: 500,
# Physical 根图 / region canvases: allow full metro on one map (hard cap 2000).
VIEW_KIND_PHYSICAL: 2000,
VIEW_KIND_CUSTOM: 300,
}