Cells reduced from 16x16 to 10x10 pixels. Same window size now shows more of the world — finer detail, more cells visible. Adaptive viewport recalculates grid_w/grid_h from new cell size. 109 tests, 0 failures
1 line
6.8 KiB
JSON
1 line
6.8 KiB
JSON
{"nodes": [{"id": "home_emil_desktop_verbatim_src_world_grid_rs", "label": "grid.rs", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L1"}, {"id": "world_grid_grid", "label": "Grid", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L6"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L7"}, {"id": "cell", "label": "Cell", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L7"}, {"id": "world_grid_grid_new", "label": ".new()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L13"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L13"}, {"id": "world_grid_grid_idx", "label": ".idx()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L23"}, {"id": "world_grid_grid_in_bounds", "label": ".in_bounds()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L28"}, {"id": "world_grid_grid_get", "label": ".get()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L33"}, {"id": "world_grid_grid_set", "label": ".set()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L41"}, {"id": "world_grid_grid_set_material", "label": ".set_material()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L49"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L49"}, {"id": "world_grid_grid_fill_border", "label": ".fill_border()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L56"}, {"id": "world_grid_grid_reset_tick_flags", "label": ".reset_tick_flags()", "file_type": "code", "source_file": "src/world/grid.rs", "source_location": "L67"}], "edges": [{"source": "home_emil_desktop_verbatim_src_world_grid_rs", "target": "cell", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_grid_rs", "target": "world_grid_grid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L6", "weight": 1.0}, {"source": "world_grid_grid", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L7", "weight": 1.0, "context": "field"}, {"source": "world_grid_grid", "target": "cell", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L7", "weight": 1.0, "context": "generic_arg"}, {"source": "world_grid_grid", "target": "world_grid_grid_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L13", "weight": 1.0}, {"source": "world_grid_grid_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L13", "weight": 1.0, "context": "return_type"}, {"source": "world_grid_grid", "target": "world_grid_grid_idx", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L23", "weight": 1.0}, {"source": "world_grid_grid", "target": "world_grid_grid_in_bounds", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L28", "weight": 1.0}, {"source": "world_grid_grid", "target": "world_grid_grid_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L33", "weight": 1.0}, {"source": "world_grid_grid_get", "target": "cell", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L33", "weight": 1.0, "context": "return_type"}, {"source": "world_grid_grid", "target": "world_grid_grid_set", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L41", "weight": 1.0}, {"source": "world_grid_grid_set", "target": "cell", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L41", "weight": 1.0, "context": "parameter_type"}, {"source": "world_grid_grid", "target": "world_grid_grid_set_material", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L49", "weight": 1.0}, {"source": "world_grid_grid_set_material", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L49", "weight": 1.0, "context": "parameter_type"}, {"source": "world_grid_grid", "target": "world_grid_grid_fill_border", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L56", "weight": 1.0}, {"source": "world_grid_grid_fill_border", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L56", "weight": 1.0, "context": "parameter_type"}, {"source": "world_grid_grid", "target": "world_grid_grid_reset_tick_flags", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L67", "weight": 1.0}, {"source": "world_grid_grid_get", "target": "world_grid_grid_in_bounds", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L34", "weight": 1.0}, {"source": "world_grid_grid_get", "target": "world_grid_grid_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L35", "weight": 1.0}, {"source": "world_grid_grid_get", "target": "world_grid_grid_idx", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L37", "weight": 1.0}, {"source": "world_grid_grid_set", "target": "world_grid_grid_in_bounds", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L42", "weight": 1.0}, {"source": "world_grid_grid_set_material", "target": "world_grid_grid_in_bounds", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L50", "weight": 1.0}, {"source": "world_grid_grid_set_material", "target": "world_grid_grid_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L52", "weight": 1.0}, {"source": "world_grid_grid_fill_border", "target": "world_grid_grid_set_material", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/grid.rs", "source_location": "L58", "weight": 1.0}], "raw_calls": []} |