mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 06:10:47 +08:00
Add Google-Earth style world-map LOD with 1:1 coords and sticky tiles.
Keep visited regions when panning, prefetch detail on search locate with a gold flashing target highlight, and shrink default NE icons so dense UME layouts stay readable. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
af331e92ca
commit
c4911b6ddc
10 changed files with 876 additions and 169 deletions
|
|
@ -467,6 +467,8 @@ export type FabricNodeSearchHit = {
|
|||
ume_ne_id?: string;
|
||||
role?: string;
|
||||
region_folder_id?: string | null;
|
||||
world_x?: number | null;
|
||||
world_y?: number | null;
|
||||
link_status?: "managed" | "ume" | "both" | "orphaned" | string;
|
||||
managed_alive?: boolean;
|
||||
ume_alive?: boolean;
|
||||
|
|
@ -540,6 +542,18 @@ export type TopologyOutsidePeer = {
|
|||
via_node_id: string;
|
||||
};
|
||||
|
||||
export type TopologyWorldTransform = {
|
||||
origin_x: number;
|
||||
origin_y: number;
|
||||
scale: number;
|
||||
full_min_x: number;
|
||||
full_max_x: number;
|
||||
full_min_y: number;
|
||||
full_max_y: number;
|
||||
total: number;
|
||||
lod: string;
|
||||
};
|
||||
|
||||
export type TopologyViewGraph = {
|
||||
view: TopologyViewItem;
|
||||
nodes: TopologyViewNodeItem[];
|
||||
|
|
@ -547,6 +561,7 @@ export type TopologyViewGraph = {
|
|||
truncated?: boolean;
|
||||
truncate_reason?: string;
|
||||
outside_peers?: TopologyOutsidePeer[];
|
||||
world_transform?: TopologyWorldTransform | null;
|
||||
};
|
||||
|
||||
export type FabricSummary = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue