From 285688bcadec54ef7f6000bc2dc754ae87673431 Mon Sep 17 00:00:00 2001 From: Emil Date: Sun, 21 Jun 2026 10:04:21 +0300 Subject: [PATCH] feat: smaller cells (10x10px) for higher detail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- graphify-out/.graphify_labels.json | 1 + graphify-out/.graphify_python | 1 + graphify-out/.graphify_root | 1 + graphify-out/GRAPH_REPORT.md | 285 + ...88a68c4897e915a118c9e6a66cde0ddd604a5.json | 1 + ...9ffd5d2c446bf946ef8903f5606f48ca821d7.json | 1 + ...d517d6e347bbe29e65a0547b252f76acd6349.json | 1 + ...dece5d402cfd2ca22788278b16924ca7f94dc.json | 1 + ...008cf895520b66cc97ffb107c46eacf290b20.json | 1 + ...e82145f27689850971634070664b951773b22.json | 1 + ...d1f78459422a65d747eb6d61dbc9d27d8a0ee.json | 1 + ...547e1cf4759d554e54daa099abdd887512a30.json | 1 + ...e29346922726c248642443a786c888a0eb84a.json | 1 + ...281b706f99e3cbbad27d0ccfaaec7492c5b1d.json | 1 + ...fd8e754ce770654c62b777d7a2249d212fae1.json | 1 + ...c12bc186e222a4d11de24340102459c02f744.json | 1 + ...5a1aee5076417870699500ea54ee3ce40ac1e.json | 1 + ...d3f9c34eab27dabcff76701af9fdeaa8ec43a.json | 1 + ...6b44f512673c1ece8031e0f9bc51ba522bc98.json | 1 + ...809b6a65211d0558e3a422b553cc779fd05cd.json | 1 + ...f8de2c3c15b3a005d072e07251d62e35f0a8e.json | 1 + ...9ab43e270eea741057ee35e9a98ddd4662c2e.json | 1 + ...0f00aef501d6ca02f287b02db551c28a17937.json | 1 + ...5bf3c6d2d2f27336cd0f887d5a4209a9eaba2.json | 1 + ...65496743221d8610897933ab9e6ba74ce1b6a.json | 1 + ...b95bbf17023ebccc95a1dd49949874637b1ef.json | 1 + ...4358f0f2c0fad5a09276a9cb99a014e6f4d84.json | 1 + ...50632972b47963eddb90e43cb7a488e64e07b.json | 1 + ...011ab6f870e44f1edce16d17899776dd6f737.json | 1 + ...b044359b99720f964a1b5c4123ca2fff35361.json | 1 + ...2314d676d2eff69e15665f516a98bfbdcefcd.json | 1 + ...e154ef67533d9a14cba768e126888e42cfbad.json | 1 + ...98f1783aee5086a8cf5782e09986a72f7e12d.json | 1 + ...66930a1720b02d7af484dddba41b725ea27e7.json | 1 + ...4b1f59e6b85a8e1862fa0bbfa4db969dc64c9.json | 1 + ...feb00320b5b1d0dcbc08f0c32de6d913c3b5f.json | 1 + ...fff11e7d102cb9f930ea213531f1e42383c8f.json | 1 + ...d6bb0fab9ab3cca56f9b83646e8a093f4107d.json | 1 + ...ed3a42e5005adf6a165d8cf665a6ee052e70d.json | 1 + ...aae08c8cd59250fd629a89b9df21b3b75bda0.json | 1 + ...3355b4a1e59115c5788af430d8f81992e0c8b.json | 1 + ...91a977eb4a94e24d86fb540a34f1030845e62.json | 1 + ...aaa73ca949868894f25f719dfcad6749a6e33.json | 1 + ...f2e7561e166e1e279e4f07472965696361b72.json | 1 + ...c3c83e8294e7c621921b7aa9ac098d96240eb.json | 1 + ...01d1de12f1620c5531112d4cc013896cbd7f3.json | 1 + ...ae948e73a3ca8c26d41b5575de3c5dcc0a8ee.json | 1 + ...a87270c742987b3f4503eaa8bbc3d1aa65528.json | 1 + ...2d2c4f18ce38d3f1a2e355e2f71d035f0380c.json | 1 + ...7268ea20d13a04a2240021afc946957e32776.json | 1 + ...64aeb0d7504c6cbd7020de5b496473f0465c1.json | 1 + ...5a4c17ac9e78fcc9580bde92e17eb45e8af92.json | 1 + ...aca39d35493ae61c5e3ac1854d0d5bc3b704b.json | 1 + ...b513336bb3e979eb9a819d9870d9dae4ece0d.json | 1 + ...12e9a9626893ac0c7888a0d6cd64f7bd76a73.json | 1 + ...0204185086de14630739e2536f47b9b2d212f.json | 1 + ...243ca22e8b718a666344f437ac59b6d03d7c2.json | 1 + ...718eba63a57ab7ca50d833d2a767776914a91.json | 1 + ...8a9ba0648d68c701ccadc4abbaab9ca9548d6.json | 1 + ...892e69e38732b9ee74e165a330bd71722991c.json | 1 + ...ef450dfa116a1d4da5c07efa761807d16726e.json | 1 + ...5d72b790c27392863e8f450910dde25149cbb.json | 1 + graphify-out/cache/stat-index.json | 1 + graphify-out/cost.json | 12 + graphify-out/graph.html | 307 + graphify-out/graph.json | 20137 ++++++++++++++++ graphify-out/manifest.json | 292 + src/main.rs | 309 +- src/render/graphics.rs | 904 +- src/render/vulkan.rs | 1080 +- 70 files changed, 22764 insertions(+), 624 deletions(-) create mode 100644 graphify-out/.graphify_labels.json create mode 100644 graphify-out/.graphify_python create mode 100644 graphify-out/.graphify_root create mode 100644 graphify-out/GRAPH_REPORT.md create mode 100644 graphify-out/cache/ast/v0.8.44/045dbbc45414b6bfea5270ecf0f88a68c4897e915a118c9e6a66cde0ddd604a5.json create mode 100644 graphify-out/cache/ast/v0.8.44/0a393136c1e69636880e294cb529ffd5d2c446bf946ef8903f5606f48ca821d7.json create mode 100644 graphify-out/cache/ast/v0.8.44/0c037c2066a7b634e22f62a3283d517d6e347bbe29e65a0547b252f76acd6349.json create mode 100644 graphify-out/cache/ast/v0.8.44/0d9560f4a5114e6db7b2b410045dece5d402cfd2ca22788278b16924ca7f94dc.json create mode 100644 graphify-out/cache/ast/v0.8.44/1004493b75aba57ba52f6b4b9a7008cf895520b66cc97ffb107c46eacf290b20.json create mode 100644 graphify-out/cache/ast/v0.8.44/1383016c27aed86139990e1c5b1e82145f27689850971634070664b951773b22.json create mode 100644 graphify-out/cache/ast/v0.8.44/1e4a9dcbc6242e19c4e3fad6956d1f78459422a65d747eb6d61dbc9d27d8a0ee.json create mode 100644 graphify-out/cache/ast/v0.8.44/21ab58c3d4cb7ff279b6de6c4e6547e1cf4759d554e54daa099abdd887512a30.json create mode 100644 graphify-out/cache/ast/v0.8.44/2c1b9a0f2b19b554c0d6c91cca6e29346922726c248642443a786c888a0eb84a.json create mode 100644 graphify-out/cache/ast/v0.8.44/2f2aaec4165990d2bc541fb7299281b706f99e3cbbad27d0ccfaaec7492c5b1d.json create mode 100644 graphify-out/cache/ast/v0.8.44/32a7af8ee35b97f6802369b6486fd8e754ce770654c62b777d7a2249d212fae1.json create mode 100644 graphify-out/cache/ast/v0.8.44/33c894de63e7ad6cfec4f4a1d0fc12bc186e222a4d11de24340102459c02f744.json create mode 100644 graphify-out/cache/ast/v0.8.44/33f6f97b825a0495f24606999865a1aee5076417870699500ea54ee3ce40ac1e.json create mode 100644 graphify-out/cache/ast/v0.8.44/3524d0a008a9cff9804a055d9c3d3f9c34eab27dabcff76701af9fdeaa8ec43a.json create mode 100644 graphify-out/cache/ast/v0.8.44/36112d79800455d9de55dcf66bf6b44f512673c1ece8031e0f9bc51ba522bc98.json create mode 100644 graphify-out/cache/ast/v0.8.44/3bb250cfbe2035e04cef321f430809b6a65211d0558e3a422b553cc779fd05cd.json create mode 100644 graphify-out/cache/ast/v0.8.44/3e9a58069b81f3c8343b26641d6f8de2c3c15b3a005d072e07251d62e35f0a8e.json create mode 100644 graphify-out/cache/ast/v0.8.44/4860cc9adda85a11b339216077e9ab43e270eea741057ee35e9a98ddd4662c2e.json create mode 100644 graphify-out/cache/ast/v0.8.44/5070d8053c5bdb1e52d1c877a900f00aef501d6ca02f287b02db551c28a17937.json create mode 100644 graphify-out/cache/ast/v0.8.44/544aa8832e4ccd323e2d9e6dc945bf3c6d2d2f27336cd0f887d5a4209a9eaba2.json create mode 100644 graphify-out/cache/ast/v0.8.44/5aa277f50d8b55c0a61281f765565496743221d8610897933ab9e6ba74ce1b6a.json create mode 100644 graphify-out/cache/ast/v0.8.44/5b6237c87418b65102d3ccf7b48b95bbf17023ebccc95a1dd49949874637b1ef.json create mode 100644 graphify-out/cache/ast/v0.8.44/5edac12b81a4be7fbe495d1fd694358f0f2c0fad5a09276a9cb99a014e6f4d84.json create mode 100644 graphify-out/cache/ast/v0.8.44/6ea5cbecf29a17fc28e84d2d55250632972b47963eddb90e43cb7a488e64e07b.json create mode 100644 graphify-out/cache/ast/v0.8.44/725a669732f71f9cde36a8a52f1011ab6f870e44f1edce16d17899776dd6f737.json create mode 100644 graphify-out/cache/ast/v0.8.44/755f912dd9db0bb7ffabc2a3c29b044359b99720f964a1b5c4123ca2fff35361.json create mode 100644 graphify-out/cache/ast/v0.8.44/78f62b1306b79536f56e94738682314d676d2eff69e15665f516a98bfbdcefcd.json create mode 100644 graphify-out/cache/ast/v0.8.44/7ec222b87142c70e7a1d44a25a2e154ef67533d9a14cba768e126888e42cfbad.json create mode 100644 graphify-out/cache/ast/v0.8.44/83ff90991fbc3e9044aef06d4ce98f1783aee5086a8cf5782e09986a72f7e12d.json create mode 100644 graphify-out/cache/ast/v0.8.44/840bf75ab1b85c2a9352db0ab9466930a1720b02d7af484dddba41b725ea27e7.json create mode 100644 graphify-out/cache/ast/v0.8.44/85ba814ce36483d2fc8843f18634b1f59e6b85a8e1862fa0bbfa4db969dc64c9.json create mode 100644 graphify-out/cache/ast/v0.8.44/8a4cd674b1e1a549c6b0a4c0e2dfeb00320b5b1d0dcbc08f0c32de6d913c3b5f.json create mode 100644 graphify-out/cache/ast/v0.8.44/8a8549a6a5bb485faf650d6adc5fff11e7d102cb9f930ea213531f1e42383c8f.json create mode 100644 graphify-out/cache/ast/v0.8.44/8d2d0703840a1a61356a1d3ddc9d6bb0fab9ab3cca56f9b83646e8a093f4107d.json create mode 100644 graphify-out/cache/ast/v0.8.44/8e99bda8e2164a9f13944f1df8fed3a42e5005adf6a165d8cf665a6ee052e70d.json create mode 100644 graphify-out/cache/ast/v0.8.44/92b06e1e743fa3df4fd5bbfba47aae08c8cd59250fd629a89b9df21b3b75bda0.json create mode 100644 graphify-out/cache/ast/v0.8.44/a18f80fe6d27240a60cfd56d1063355b4a1e59115c5788af430d8f81992e0c8b.json create mode 100644 graphify-out/cache/ast/v0.8.44/a6ab3244b2e4f733dd66a34b6f091a977eb4a94e24d86fb540a34f1030845e62.json create mode 100644 graphify-out/cache/ast/v0.8.44/b243d2d7b4b78794c20e7a790acaaa73ca949868894f25f719dfcad6749a6e33.json create mode 100644 graphify-out/cache/ast/v0.8.44/b7a5381e3eb2270e501b281c97df2e7561e166e1e279e4f07472965696361b72.json create mode 100644 graphify-out/cache/ast/v0.8.44/b89001186fb568d71ad057ff976c3c83e8294e7c621921b7aa9ac098d96240eb.json create mode 100644 graphify-out/cache/ast/v0.8.44/b8aa33177db42b285835535f2d401d1de12f1620c5531112d4cc013896cbd7f3.json create mode 100644 graphify-out/cache/ast/v0.8.44/bbd2d8dbbbbbd080d6e2555d1e2ae948e73a3ca8c26d41b5575de3c5dcc0a8ee.json create mode 100644 graphify-out/cache/ast/v0.8.44/be65af46393cd999c96ae634106a87270c742987b3f4503eaa8bbc3d1aa65528.json create mode 100644 graphify-out/cache/ast/v0.8.44/c3273d42f58f9db0a34d2000c572d2c4f18ce38d3f1a2e355e2f71d035f0380c.json create mode 100644 graphify-out/cache/ast/v0.8.44/cbbffb0643983e1e760be640e637268ea20d13a04a2240021afc946957e32776.json create mode 100644 graphify-out/cache/ast/v0.8.44/d17d3eb2784633ddd404ec8460f64aeb0d7504c6cbd7020de5b496473f0465c1.json create mode 100644 graphify-out/cache/ast/v0.8.44/d21f06eaa154cf8920dac06ac565a4c17ac9e78fcc9580bde92e17eb45e8af92.json create mode 100644 graphify-out/cache/ast/v0.8.44/db93c1950666d4b33b9fc8e8c52aca39d35493ae61c5e3ac1854d0d5bc3b704b.json create mode 100644 graphify-out/cache/ast/v0.8.44/e695c318e894a8c99e79400b65bb513336bb3e979eb9a819d9870d9dae4ece0d.json create mode 100644 graphify-out/cache/ast/v0.8.44/e78cb479a3dba268e610d0f6e4c12e9a9626893ac0c7888a0d6cd64f7bd76a73.json create mode 100644 graphify-out/cache/ast/v0.8.44/ecc068c28276959a40628e1a4240204185086de14630739e2536f47b9b2d212f.json create mode 100644 graphify-out/cache/ast/v0.8.44/f22ba9e1d92577eee87d4e8454f243ca22e8b718a666344f437ac59b6d03d7c2.json create mode 100644 graphify-out/cache/ast/v0.8.44/f3b1806cd23c230ecffce623b96718eba63a57ab7ca50d833d2a767776914a91.json create mode 100644 graphify-out/cache/ast/v0.8.44/f7ea3b715c5e63353dadd9a81af8a9ba0648d68c701ccadc4abbaab9ca9548d6.json create mode 100644 graphify-out/cache/semantic/69c78dcb576cc57ce585afbe4e5892e69e38732b9ee74e165a330bd71722991c.json create mode 100644 graphify-out/cache/semantic/8731bbd5bde1dcb4d767eb0795fef450dfa116a1d4da5c07efa761807d16726e.json create mode 100644 graphify-out/cache/semantic/eb2d77197a18972c900988906ef5d72b790c27392863e8f450910dde25149cbb.json create mode 100644 graphify-out/cache/stat-index.json create mode 100644 graphify-out/cost.json create mode 100644 graphify-out/graph.html create mode 100644 graphify-out/graph.json create mode 100644 graphify-out/manifest.json diff --git a/graphify-out/.graphify_labels.json b/graphify-out/.graphify_labels.json new file mode 100644 index 0000000..65582ca --- /dev/null +++ b/graphify-out/.graphify_labels.json @@ -0,0 +1 @@ +{"0": "Vulkan Core Setup", "1": "Terminal Renderer & Game Loop", "2": "Graphics Vulkan Renderer", "3": "AI Pipe Protocol", "4": "AI Game Session", "5": "CLI Entry & GPU Mode", "6": "AI State Export", "7": "Terminal Input Handler", "8": "Entity System", "9": "Cellular Automaton", "10": "Replay System", "11": "Edge Case Tests", "12": "AI Actions & Grid", "13": "Material Physics Tests", "14": "Player Controller", "15": "Cell & Material Types", "16": "Material Interaction Tests", "17": "Player Control Tests", "18": "AI Agent Roadmap", "19": "Verlet Physics Solver", "20": "Render & Phase Roadmap", "21": "Collision Robustness Tests", "22": "Render Mode & UI Roadmap", "23": "Window Input (winit)", "24": "Determinism Tests", "25": "Ragdoll Death Tests", "26": "Grid Collision Resolver", "27": "Material Registry", "28": "Entity Types & Game Loop", "29": "Adaptive Viewport", "30": "Headless Dump & Combat Plan", "31": "Entity Damage Tests", "32": "Entity Movement Tests", "33": "Lava Physics Tests", "34": "Sand Physics Tests", "35": "Acid Physics Tests", "36": "Water Physics Tests", "37": "Ragdoll Physics Plan", "38": "Integration Tests", "39": "Per-Cell Color Plan", "40": "Game Run & Input", "41": "Slope Stepping", "42": "Renderer Trait", "43": "AI Module Root", "44": "Physics Module Root", "45": "Library Root", "46": "World Module Root"} \ No newline at end of file diff --git a/graphify-out/.graphify_python b/graphify-out/.graphify_python new file mode 100644 index 0000000..776cdc9 --- /dev/null +++ b/graphify-out/.graphify_python @@ -0,0 +1 @@ +/home/emil/.local/share/uv/tools/graphifyy/bin/python \ No newline at end of file diff --git a/graphify-out/.graphify_root b/graphify-out/.graphify_root new file mode 100644 index 0000000..6452a7d --- /dev/null +++ b/graphify-out/.graphify_root @@ -0,0 +1 @@ +/home/emil/Desktop/Verbatim diff --git a/graphify-out/GRAPH_REPORT.md b/graphify-out/GRAPH_REPORT.md new file mode 100644 index 0000000..eae4a83 --- /dev/null +++ b/graphify-out/GRAPH_REPORT.md @@ -0,0 +1,285 @@ +# Graph Report - . (2026-06-21) + +## Corpus Check +- Corpus is ~33,231 words - fits in a single context window. You may not need a graph. + +## Summary +- 690 nodes · 1218 edges · 47 communities (44 shown, 3 thin omitted) +- Extraction: 97% EXTRACTED · 3% INFERRED · 0% AMBIGUOUS · INFERRED: 32 edges (avg confidence: 0.86) +- Token cost: 0 input · 0 output + +## Community Hubs (Navigation) +- [[_COMMUNITY_Vulkan Core Setup|Vulkan Core Setup]] +- [[_COMMUNITY_Terminal Renderer & Game Loop|Terminal Renderer & Game Loop]] +- [[_COMMUNITY_Graphics Vulkan Renderer|Graphics Vulkan Renderer]] +- [[_COMMUNITY_AI Pipe Protocol|AI Pipe Protocol]] +- [[_COMMUNITY_AI Game Session|AI Game Session]] +- [[_COMMUNITY_CLI Entry & GPU Mode|CLI Entry & GPU Mode]] +- [[_COMMUNITY_AI State Export|AI State Export]] +- [[_COMMUNITY_Terminal Input Handler|Terminal Input Handler]] +- [[_COMMUNITY_Entity System|Entity System]] +- [[_COMMUNITY_Cellular Automaton|Cellular Automaton]] +- [[_COMMUNITY_Replay System|Replay System]] +- [[_COMMUNITY_Edge Case Tests|Edge Case Tests]] +- [[_COMMUNITY_AI Actions & Grid|AI Actions & Grid]] +- [[_COMMUNITY_Material Physics Tests|Material Physics Tests]] +- [[_COMMUNITY_Player Controller|Player Controller]] +- [[_COMMUNITY_Cell & Material Types|Cell & Material Types]] +- [[_COMMUNITY_Material Interaction Tests|Material Interaction Tests]] +- [[_COMMUNITY_Player Control Tests|Player Control Tests]] +- [[_COMMUNITY_AI Agent Roadmap|AI Agent Roadmap]] +- [[_COMMUNITY_Verlet Physics Solver|Verlet Physics Solver]] +- [[_COMMUNITY_Render & Phase Roadmap|Render & Phase Roadmap]] +- [[_COMMUNITY_Collision Robustness Tests|Collision Robustness Tests]] +- [[_COMMUNITY_Render Mode & UI Roadmap|Render Mode & UI Roadmap]] +- [[_COMMUNITY_Window Input (winit)|Window Input (winit)]] +- [[_COMMUNITY_Determinism Tests|Determinism Tests]] +- [[_COMMUNITY_Ragdoll Death Tests|Ragdoll Death Tests]] +- [[_COMMUNITY_Grid Collision Resolver|Grid Collision Resolver]] +- [[_COMMUNITY_Material Registry|Material Registry]] +- [[_COMMUNITY_Entity Types & Game Loop|Entity Types & Game Loop]] +- [[_COMMUNITY_Adaptive Viewport|Adaptive Viewport]] +- [[_COMMUNITY_Headless Dump & Combat Plan|Headless Dump & Combat Plan]] +- [[_COMMUNITY_Entity Damage Tests|Entity Damage Tests]] +- [[_COMMUNITY_Entity Movement Tests|Entity Movement Tests]] +- [[_COMMUNITY_Lava Physics Tests|Lava Physics Tests]] +- [[_COMMUNITY_Sand Physics Tests|Sand Physics Tests]] +- [[_COMMUNITY_Acid Physics Tests|Acid Physics Tests]] +- [[_COMMUNITY_Water Physics Tests|Water Physics Tests]] +- [[_COMMUNITY_Ragdoll Physics Plan|Ragdoll Physics Plan]] +- [[_COMMUNITY_Per-Cell Color Plan|Per-Cell Color Plan]] +- [[_COMMUNITY_Game Run & Input|Game Run & Input]] +- [[_COMMUNITY_Slope Stepping|Slope Stepping]] +- [[_COMMUNITY_Renderer Trait|Renderer Trait]] + +## God Nodes (most connected - your core abstractions) +1. `VulkanRenderer` - 37 edges +2. `GraphicsRenderer` - 31 edges +3. `GameSession` - 26 edges +4. `Game` - 24 edges +5. `Entity` - 20 edges +6. `CellularAutomaton` - 19 edges +7. `InputHandler` - 18 edges +8. `Result` - 17 edges +9. `String` - 17 edges +10. `setup()` - 17 edges + +## Surprising Connections (you probably didn't know these) +- `pipe render mode` --semantically_similar_to--> `AI pipe protocol (JSON stdin/stdout)` [INFERRED] [semantically similar] + AGENTS.md → PLAN.md +- `Game::fixed_update()` --semantically_similar_to--> `Fixed 60Hz timestep` [INFERRED] [semantically similar] + AGENTS.md → PLAN.md +- `Player` --semantically_similar_to--> `Player entity (headless dump)` [INFERRED] [semantically similar] + AGENTS.md → headless_dump.txt +- `rigid entity type` --semantically_similar_to--> `Rigid entities (AABB + slope stepping)` [INFERRED] [semantically similar] + AGENTS.md → PLAN.md +- `ragdoll entity type` --semantically_similar_to--> `Ragdoll corpses (Verlet)` [INFERRED] [semantically similar] + AGENTS.md → PLAN.md + +## Import Cycles +- 1-file cycle: `src/ai/action.rs -> src/ai/action.rs` +- 1-file cycle: `src/world/grid.rs -> src/world/grid.rs` +- 1-file cycle: `src/ai/protocol.rs -> src/ai/protocol.rs` +- 1-file cycle: `src/ai/replay.rs -> src/ai/replay.rs` +- 1-file cycle: `src/ai/scenario.rs -> src/ai/scenario.rs` +- 1-file cycle: `src/ai/session.rs -> src/ai/session.rs` +- 1-file cycle: `src/ai/state.rs -> src/ai/state.rs` +- 1-file cycle: `src/game.rs -> src/game.rs` +- 1-file cycle: `src/entity/player.rs -> src/entity/player.rs` +- 1-file cycle: `src/render/terminal.rs -> src/render/terminal.rs` +- 1-file cycle: `src/input.rs -> src/input.rs` +- 1-file cycle: `src/main.rs -> src/main.rs` +- 1-file cycle: `src/physics/collision.rs -> src/physics/collision.rs` +- 1-file cycle: `src/physics/verlet.rs -> src/physics/verlet.rs` +- 1-file cycle: `src/render/graphics.rs -> src/render/graphics.rs` +- 1-file cycle: `src/render/vulkan.rs -> src/render/vulkan.rs` +- 1-file cycle: `src/render/window_input.rs -> src/render/window_input.rs` +- 1-file cycle: `src/world/cellular.rs -> src/world/cellular.rs` +- 1-file cycle: `src/world/material.rs -> src/world/material.rs` +- 1-file cycle: `tests/collision_robust.rs -> tests/collision_robust.rs` + +## Hyperedges (group relationships) +- **Game loop fixed_update pipeline: CA step → rigid update → ragdoll update → damage** — [INFERRED] +- **Three render modes read the same Grid + EntityManager (single source of truth)** — [INFERRED] +- **GpuRenderer trait unifies VulkanRenderer + GraphicsRenderer behind run_gpu_mode() with identical event loops** — [INFERRED] + +## Communities (47 total, 3 thin omitted) + +### Community 0 - "Vulkan Core Setup" +Cohesion: 0.10 +Nodes (61): BufferUsageFlags, c_char, DescriptorPool, DescriptorSet, DescriptorSetLayout, Format, Image, MemoryPropertyFlags (+53 more) + +### Community 1 - "Terminal Renderer & Game Loop" +Cohesion: 0.07 +Nodes (19): CellularAutomaton, Duration, InputHandler, Player, R, TerminalRenderer, Renderer, Game (+11 more) + +### Community 2 - "Graphics Vulkan Renderer" +Cohesion: 0.07 +Nodes (31): ColorInstance, GraphicsRenderer, PushConstants, Arc, Buffer, CommandBuffer, CommandPool, Device (+23 more) + +### Community 3 - "AI Pipe Protocol" +Cohesion: 0.12 +Nodes (31): Command, handle_command(), Response, run_pipe_protocol(), Assertion, AssertionResult, check_assertion(), format_results() (+23 more) + +### Community 4 - "AI Game Session" +Cohesion: 0.09 +Nodes (13): GameSession, Default, ReplayRecorder, AiAction, CellInfo, EntityInfo, Game, GameState (+5 more) + +### Community 5 - "CLI Entry & GPU Mode" +Cohesion: 0.15 +Nodes (20): Cli, dump_view(), GpuRenderer, main(), player_info(), Arc, EntityManager, Game (+12 more) + +### Community 6 - "AI State Export" +Cohesion: 0.13 +Nodes (23): build_game_state(), CellInfo, entity_info(), entity_kind_name(), EntityInfo, GameState, material_from_name(), parse_entity_kind() (+15 more) + +### Community 7 - "Terminal Input Handler" +Cohesion: 0.13 +Nodes (15): Event, JoinHandle, Receiver, Action, HeldKey, HeldState, InputHandler, MaterialBrush (+7 more) + +### Community 8 - "Entity System" +Cohesion: 0.15 +Nodes (9): Constraint, Entity, EntityKind, EntityManager, EntityId, Option, Self, SubBody (+1 more) + +### Community 9 - "Cellular Automaton" +Cohesion: 0.29 +Nodes (4): Grid, MaterialId, Self, CellularAutomaton + +### Community 10 - "Replay System" +Cohesion: 0.13 +Nodes (11): ReplayEvent, ReplayPlayer, ReplayRecorder, ReplayRecording, ReplayEvent, AiAction, GameSession, Result (+3 more) + +### Community 11 - "Edge Case Tests" +Cohesion: 0.16 +Nodes (17): center_camera_on_player(), clear_region_removes_all_materials(), entity_at_right_boundary(), entity_at_world_boundary_stays_in_bounds(), fill_rect_creates_correct_material_count(), find_material_locates_existing(), find_material_returns_none_for_absent(), goblin_has_correct_max_health() (+9 more) + +### Community 12 - "AI Actions & Grid" +Cohesion: 0.18 +Nodes (7): AiAction, Cell, Game, MaterialId, Self, Vec, Grid + +### Community 13 - "Material Physics Tests" +Cohesion: 0.22 +Nodes (17): bone_is_static(), dirt_is_solid(), fire_dies_over_time(), fire_ignites_flesh(), fire_ignites_grass(), fire_ignites_wood(), grass_is_solid(), lava_initial_temp_is_high() (+9 more) + +### Community 14 - "Player Controller" +Cohesion: 0.21 +Nodes (6): Player, Entity, EntityId, EntityManager, Option, Self + +### Community 15 - "Cell & Material Types" +Cohesion: 0.17 +Nodes (4): Self, Cell, MaterialId, rand_u8() + +### Community 16 - "Material Interaction Tests" +Cohesion: 0.26 +Nodes (14): acid_dissolves_dirt(), acid_dissolves_grass(), acid_does_not_dissolve_empty(), fire_does_not_ignite_stone(), fire_does_not_ignite_water(), fire_spreads_through_wood_line(), lava_and_water_produce_both_steam_and_stone(), lava_cools_to_stone_eventually() (+6 more) + +### Community 17 - "Player Control Tests" +Cohesion: 0.26 +Nodes (14): continuous_movement_does_not_fall_through_floor(), jump_goes_up_then_falls_back(), jump_while_airborne_does_nothing(), move_left_changes_x_position(), move_left_then_right_cancels(), move_right_changes_x_position(), player_health_stays_full_without_damage(), player_not_on_ground_while_jumping() (+6 more) + +### Community 18 - "AI Agent Roadmap" +Cohesion: 0.18 +Nodes (14): AiAction, GameSession, pipe render mode, AI pipe protocol (JSON stdin/stdout), Seeded RNG determinism, LLM agent (Ollama/Llama/Qwen), Phase 7: AI Agent Integration, Phase 8: Web Arena & Training Pipeline (+6 more) + +### Community 19 - "Verlet Physics Solver" +Cohesion: 0.22 +Nodes (5): Constraint, SubBody, VerletSolver, MaterialId, Self + +### Community 20 - "Render & Phase Roadmap" +Cohesion: 0.15 +Nodes (11): Chunk system (64x64), Cross-platform support (Win/Linux/macOS), Multi-layer world architecture, Phase 2: World & Exploration, Phase 3: RPG Layer, Phase 4: Render Modes, Phase 4b: Graphics layers (lighting/particles/textures), Phase 5: Content & Polish (+3 more) + +### Community 21 - "Collision Robustness Tests" +Cohesion: 0.27 +Nodes (10): entity_collision_with_dirt_wall(), player_blocked_by_ceiling(), player_blocked_by_left_wall(), player_blocked_by_right_wall(), player_blocked_by_two_walls_both_sides(), player_does_not_stick_to_wall(), player_slides_along_wall(), player_squeezes_through_gap() (+2 more) + +### Community 22 - "Render Mode & UI Roadmap" +Cohesion: 0.22 +Nodes (11): EntityManager, Grid (250x250) source of truth, ascii render mode, graphics render mode, terminal render mode, ASCII renderer (Vulkan glyph atlas), Graphics renderer (Vulkan colored cells), Phase 1.5: UI Layer (+3 more) + +### Community 23 - "Window Input (winit)" +Cohesion: 0.20 +Nodes (7): ElementState, HashSet, PhysicalKey, WindowInput, KeyCode, Option, Self + +### Community 24 - "Determinism Tests" +Cohesion: 0.22 +Nodes (3): determinism_with_spawn_and_damage(), GameSession, setup() + +### Community 25 - "Ragdoll Death Tests" +Cohesion: 0.38 +Nodes (9): corpse_exists_in_world(), damage_reduces_health_progressively(), death_transitions_rigid_to_ragdoll(), player_death_becomes_corpse(), ragdoll_bodies_stay_near_each_other(), ragdoll_falls_after_death(), GameSession, setup() (+1 more) + +### Community 26 - "Grid Collision Resolver" +Cohesion: 0.46 +Nodes (6): apply_liquid_drag(), CollisionResult, resolve_grid_collision(), Grid, Self, SubBody + +### Community 27 - "Material Registry" +Cohesion: 0.43 +Nodes (4): MaterialId, Self, Material, MaterialRegistry + +### Community 28 - "Entity Types & Game Loop" +Cohesion: 0.29 +Nodes (7): cellular entity type, CellularAutomaton, Game::fixed_update(), rigid entity type, Fixed 60Hz timestep, 14 CA Materials, Rigid entities (AABB + slope stepping) + +### Community 29 - "Adaptive Viewport" +Cohesion: 0.33 +Nodes (7): check_resize(), GpuRenderer trait, GraphicsRenderer, run_gpu_mode(), VulkanRenderer, WindowInput, Adaptive viewport + +### Community 30 - "Headless Dump & Combat Plan" +Cohesion: 0.33 +Nodes (6): Player, vector movement convention, Goblin entity (headless dump), Grid ASCII rendering (headless dump), Player entity (headless dump), Phase 1: Combat & Interaction + +### Community 31 - "Entity Damage Tests" +Cohesion: 0.52 +Nodes (6): entity_blocked_by_stone(), entity_dies_becomes_corpse(), entity_on_fire_takes_damage_over_time(), entity_takes_lava_damage(), GameSession, setup_empty() + +### Community 32 - "Entity Movement Tests" +Cohesion: 0.48 +Nodes (5): player_blocked_by_stone_wall(), player_can_move_right(), player_survives_fall(), GameSession, setup_empty() + +### Community 33 - "Lava Physics Tests" +Cohesion: 0.52 +Nodes (6): lava_flows_down(), lava_ignites_grass(), lava_ignites_wood(), lava_plus_water_makes_steam(), GameSession, setup_empty() + +### Community 34 - "Sand Physics Tests" +Cohesion: 0.52 +Nodes (6): GameSession, sand_displaces_water(), sand_does_not_fall_through_stone(), sand_falls_down(), sand_piles_on_stone(), setup_empty() + +### Community 35 - "Acid Physics Tests" +Cohesion: 0.60 +Nodes (5): acid_dissolves_wood(), acid_does_not_dissolve_stone(), acid_flows_down(), GameSession, setup_empty() + +### Community 36 - "Water Physics Tests" +Cohesion: 0.60 +Nodes (5): GameSession, setup_empty(), water_does_not_pass_through_stone_wall(), water_flows_down(), water_spreads_sideways() + +### Community 37 - "Ragdoll Physics Plan" +Cohesion: 0.50 +Nodes (5): Constraint, ragdoll entity type, SubBody, VerletSolver, Ragdoll corpses (Verlet) + +### Community 39 - "Per-Cell Color Plan" +Cohesion: 0.67 +Nodes (4): Cell struct, inline cell colors convention, MaterialRegistry, Per-cell color (reality layer) + +## Knowledge Gaps +- **106 isolated node(s):** `String`, `CellInfo`, `Vec`, `EntityInfo`, `ScenarioResult` (+101 more) + These have ≤1 connection - possible missing edges or undocumented components. +- **3 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. + +## Suggested Questions +_Questions this graph is uniquely positioned to answer:_ + +- **Why does `Cell` connect `AI Actions & Grid` to `Cellular Automaton`?** + _High betweenness centrality (0.011) - this node is a cross-community bridge._ +- **Why does `GameSession` connect `AI Game Session` to `AI State Export`?** + _High betweenness centrality (0.011) - this node is a cross-community bridge._ +- **What connects `String`, `CellInfo`, `Vec` to the rest of the system?** + _108 weakly-connected nodes found - possible documentation gaps or missing edges._ +- **Should `Vulkan Core Setup` be split into smaller, more focused modules?** + _Cohesion score 0.09525899912203688 - nodes in this community are weakly interconnected._ +- **Should `Terminal Renderer & Game Loop` be split into smaller, more focused modules?** + _Cohesion score 0.06956521739130435 - nodes in this community are weakly interconnected._ +- **Should `Graphics Vulkan Renderer` be split into smaller, more focused modules?** + _Cohesion score 0.06543385490753911 - nodes in this community are weakly interconnected._ +- **Should `AI Pipe Protocol` be split into smaller, more focused modules?** + _Cohesion score 0.12063492063492064 - nodes in this community are weakly interconnected._ \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/045dbbc45414b6bfea5270ecf0f88a68c4897e915a118c9e6a66cde0ddd604a5.json b/graphify-out/cache/ast/v0.8.44/045dbbc45414b6bfea5270ecf0f88a68c4897e915a118c9e6a66cde0ddd604a5.json new file mode 100644 index 0000000..bc349e7 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/045dbbc45414b6bfea5270ecf0f88a68c4897e915a118c9e6a66cde0ddd604a5.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_sand_rs", "label": "physics_sand.rs", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L1"}, {"id": "tests_physics_sand_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L4"}, {"id": "tests_physics_sand_sand_falls_down", "label": "sand_falls_down()", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L12"}, {"id": "tests_physics_sand_sand_displaces_water", "label": "sand_displaces_water()", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L22"}, {"id": "tests_physics_sand_sand_piles_on_stone", "label": "sand_piles_on_stone()", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L33"}, {"id": "tests_physics_sand_sand_does_not_fall_through_stone", "label": "sand_does_not_fall_through_stone()", "file_type": "code", "source_file": "tests/physics_sand.rs", "source_location": "L44"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "tests_physics_sand_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_sand_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "tests_physics_sand_sand_falls_down", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "tests_physics_sand_sand_displaces_water", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L22", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "tests_physics_sand_sand_piles_on_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L33", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_sand_rs", "target": "tests_physics_sand_sand_does_not_fall_through_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L44", "weight": 1.0}, {"source": "tests_physics_sand_sand_falls_down", "target": "tests_physics_sand_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_sand_sand_displaces_water", "target": "tests_physics_sand_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L23", "weight": 1.0}, {"source": "tests_physics_sand_sand_piles_on_stone", "target": "tests_physics_sand_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L34", "weight": 1.0}, {"source": "tests_physics_sand_sand_does_not_fall_through_stone", "target": "tests_physics_sand_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_sand.rs", "source_location": "L45", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_sand_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_sand_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_sand_sand_falls_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_sand_sand_falls_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_sand_sand_falls_down", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_sand_sand_displaces_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L24"}, {"caller_nid": "tests_physics_sand_sand_displaces_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L25"}, {"caller_nid": "tests_physics_sand_sand_displaces_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L26"}, {"caller_nid": "tests_physics_sand_sand_displaces_water", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L27"}, {"caller_nid": "tests_physics_sand_sand_displaces_water", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L28"}, {"caller_nid": "tests_physics_sand_sand_piles_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L35"}, {"caller_nid": "tests_physics_sand_sand_piles_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L36"}, {"caller_nid": "tests_physics_sand_sand_piles_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L37"}, {"caller_nid": "tests_physics_sand_sand_piles_on_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L38"}, {"caller_nid": "tests_physics_sand_sand_piles_on_stone", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L39"}, {"caller_nid": "tests_physics_sand_sand_does_not_fall_through_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L46"}, {"caller_nid": "tests_physics_sand_sand_does_not_fall_through_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L47"}, {"caller_nid": "tests_physics_sand_sand_does_not_fall_through_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_sand.rs", "source_location": "L48"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/0a393136c1e69636880e294cb529ffd5d2c446bf946ef8903f5606f48ca821d7.json b/graphify-out/cache/ast/v0.8.44/0a393136c1e69636880e294cb529ffd5d2c446bf946ef8903f5606f48ca821d7.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/0a393136c1e69636880e294cb529ffd5d2c446bf946ef8903f5606f48ca821d7.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/0c037c2066a7b634e22f62a3283d517d6e347bbe29e65a0547b252f76acd6349.json b/graphify-out/cache/ast/v0.8.44/0c037c2066a7b634e22f62a3283d517d6e347bbe29e65a0547b252f76acd6349.json new file mode 100644 index 0000000..4db5ba1 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/0c037c2066a7b634e22f62a3283d517d6e347bbe29e65a0547b252f76acd6349.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_lava_rs", "label": "physics_lava.rs", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L1"}, {"id": "tests_physics_lava_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L4"}, {"id": "tests_physics_lava_lava_flows_down", "label": "lava_flows_down()", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L12"}, {"id": "tests_physics_lava_lava_plus_water_makes_steam", "label": "lava_plus_water_makes_steam()", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L25"}, {"id": "tests_physics_lava_lava_ignites_wood", "label": "lava_ignites_wood()", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L37"}, {"id": "tests_physics_lava_lava_ignites_grass", "label": "lava_ignites_grass()", "file_type": "code", "source_file": "tests/physics_lava.rs", "source_location": "L50"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "tests_physics_lava_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_lava_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "tests_physics_lava_lava_flows_down", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "tests_physics_lava_lava_plus_water_makes_steam", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L25", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "tests_physics_lava_lava_ignites_wood", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L37", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_lava_rs", "target": "tests_physics_lava_lava_ignites_grass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L50", "weight": 1.0}, {"source": "tests_physics_lava_lava_flows_down", "target": "tests_physics_lava_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_lava_lava_plus_water_makes_steam", "target": "tests_physics_lava_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L26", "weight": 1.0}, {"source": "tests_physics_lava_lava_ignites_wood", "target": "tests_physics_lava_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L38", "weight": 1.0}, {"source": "tests_physics_lava_lava_ignites_grass", "target": "tests_physics_lava_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_lava.rs", "source_location": "L51", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_lava_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_lava_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L17"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L18"}, {"caller_nid": "tests_physics_lava_lava_flows_down", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L19"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L27"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L28"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L29"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L30"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L31"}, {"caller_nid": "tests_physics_lava_lava_plus_water_makes_steam", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L32"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L39"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L40"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L41"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L42"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L43"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L44"}, {"caller_nid": "tests_physics_lava_lava_ignites_wood", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L45"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L52"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L53"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L54"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L55"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L56"}, {"caller_nid": "tests_physics_lava_lava_ignites_grass", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_lava.rs", "source_location": "L57"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/0d9560f4a5114e6db7b2b410045dece5d402cfd2ca22788278b16924ca7f94dc.json b/graphify-out/cache/ast/v0.8.44/0d9560f4a5114e6db7b2b410045dece5d402cfd2ca22788278b16924ca7f94dc.json new file mode 100644 index 0000000..3552b46 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/0d9560f4a5114e6db7b2b410045dece5d402cfd2ca22788278b16924ca7f94dc.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_render_graphics_rs", "label": "graphics.rs", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L1"}, {"id": "render_graphics_colorinstance", "label": "ColorInstance", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L15"}, {"id": "render_graphics_pushconstants", "label": "PushConstants", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L23"}, {"id": "render_graphics_graphicsrenderer", "label": "GraphicsRenderer", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L28"}, {"id": "entry", "label": "Entry", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L32"}, {"id": "instance", "label": "Instance", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L33"}, {"id": "surfacekhr", "label": "SurfaceKHR", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L34"}, {"id": "physicaldevice", "label": "PhysicalDevice", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L35"}, {"id": "device", "label": "Device", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L36"}, {"id": "queue", "label": "Queue", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L37"}, {"id": "swapchainkhr", "label": "SwapchainKHR", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L40"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L41"}, {"id": "imageview", "label": "ImageView", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L41"}, {"id": "extent2d", "label": "Extent2D", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L42"}, {"id": "renderpass", "label": "RenderPass", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L44"}, {"id": "pipeline", "label": "Pipeline", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L45"}, {"id": "pipelinelayout", "label": "PipelineLayout", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L46"}, {"id": "framebuffer", "label": "Framebuffer", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L47"}, {"id": "commandpool", "label": "CommandPool", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L49"}, {"id": "commandbuffer", "label": "CommandBuffer", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L50"}, {"id": "semaphore", "label": "Semaphore", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L52"}, {"id": "fence", "label": "Fence", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L54"}, {"id": "buffer", "label": "Buffer", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L57"}, {"id": "devicememory", "label": "DeviceMemory", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L58"}, {"id": "arc", "label": "Arc", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L67"}, {"id": "window", "label": "Window", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L67"}, {"id": "render_graphics_graphicsrenderer_new", "label": ".new()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L71"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L71"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L71"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L71"}, {"id": "render_graphics_graphicsrenderer_render", "label": ".render()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L306"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L306"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L306"}, {"id": "render_graphics_graphicsrenderer_grid_w", "label": ".grid_w()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L438"}, {"id": "render_graphics_graphicsrenderer_grid_h", "label": ".grid_h()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L439"}, {"id": "render_graphics_graphicsrenderer_check_resize", "label": ".check_resize()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L441"}, {"id": "drop", "label": "Drop", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L582"}, {"id": "render_graphics_graphicsrenderer_drop", "label": ".drop()", "file_type": "code", "source_file": "src/render/graphics.rs", "source_location": "L583"}], "edges": [{"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "vk", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "cstring", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "arc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "render_graphics_colorinstance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L15", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "render_graphics_pushconstants", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L23", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_render_graphics_rs", "target": "render_graphics_graphicsrenderer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L28", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer", "target": "entry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L32", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L33", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "surfacekhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L34", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L35", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L36", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "queue", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L37", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L39", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "swapchainkhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L40", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L41", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L41", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "extent2d", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L42", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "renderpass", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L44", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "pipeline", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L45", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "pipelinelayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L46", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L47", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "framebuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L47", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "commandpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L49", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L50", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "commandbuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L50", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L52", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L52", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L53", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L53", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L54", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "fence", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L54", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L57", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L58", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L59", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L60", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L62", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L63", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_colorinstance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L64", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L67", "weight": 1.0, "context": "field"}, {"source": "render_graphics_graphicsrenderer", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L67", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_new", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0, "context": "parameter_type"}, {"source": "render_graphics_graphicsrenderer_new", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer_new", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0, "context": "return_type"}, {"source": "render_graphics_graphicsrenderer_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer_new", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L71", "weight": 1.0, "context": "generic_arg"}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L306", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_render", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L306", "weight": 1.0, "context": "parameter_type"}, {"source": "render_graphics_graphicsrenderer_render", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L306", "weight": 1.0, "context": "parameter_type"}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_grid_w", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L438", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_grid_h", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L439", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_check_resize", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L441", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer", "target": "drop", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L582", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer", "target": "render_graphics_graphicsrenderer_drop", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L583", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_render", "target": "render_graphics_graphicsrenderer_check_resize", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L307", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_render", "target": "render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L309", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_check_resize", "target": "render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L442", "weight": 1.0}, {"source": "render_graphics_graphicsrenderer_drop", "target": "render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/graphics.rs", "source_location": "L602", "weight": 1.0}], "raw_calls": [{"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L75"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L78"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "display_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L78"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L79"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L79"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "api_version", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L83"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "application_name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L83"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "unwrap_or_default", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L87"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "enumerate_instance_extension_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L87"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L89"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L90"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "to_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L90"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L92"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "enabled_extension_names", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L93"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "application_info", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L93"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L95"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_instance", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L95"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L99"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "window_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L99"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L100"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "display_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L100"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L101"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L101"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L101"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L106"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "enumerate_physical_devices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L106"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_physical_device_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L110"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_physical_device_queue_family_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L112"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L115"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_physical_device_surface_support", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L115"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "queue_priorities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L124"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L124"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L126"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "enabled_extension_names", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L127"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "queue_create_infos", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L127"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L130"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_device", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L130"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_device_queue", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L131"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L134"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_physical_device_surface_capabilities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L134"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "clipped", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "present_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "composite_alpha", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "pre_transform", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "queue_family_indices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_array_layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_color_space", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image_format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "min_image_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L140"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L150"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L150"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L151"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_swapchain_images", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L151"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L154"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L154"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "view_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L154"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L154"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L157"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "final_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "initial_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "store_op", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "load_op", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "samples", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L160"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L164"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "attachment", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L164"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "color_attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L165"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "pipeline_bind_point", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L165"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dst_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L168"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dst_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L168"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "src_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L168"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dst_subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L168"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "src_subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L168"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dependencies", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L173"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "subpasses", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L173"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L173"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L177"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L177"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "chunks_exact", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L182"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "chunks_exact", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L183"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L184"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L184"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "code", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L184"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L185"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L185"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "code", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L185"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L187"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L187"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "stage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L187"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L188"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L188"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "stage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L188"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "vertex_attribute_descriptions", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L199"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "vertex_binding_descriptions", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L199"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "topology", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L201"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dynamic_states", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L203"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "scissor_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L204"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "viewport_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L204"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "cull_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L205"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "line_width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L205"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "rasterization_samples", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L206"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "color_write_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L207"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L208"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "push_constant_ranges", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L210"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L211"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_pipeline_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L211"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "dynamic_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "color_blend_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "multisample_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "rasterization_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "viewport_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "input_assembly_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "vertex_input_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "stages", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L213"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L218"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_graphics_pipelines", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L218"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "destroy_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L220"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "destroy_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L220"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L225"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "height", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L225"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L225"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L225"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L225"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L228"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L232"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L232"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L233"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L233"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "command_buffer_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L236"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "level", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L236"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L236"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L237"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "allocate_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L237"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L245"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L245"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L246"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L246"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L247"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_fence", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L247"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L247"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_physical_device_memory_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L253"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L261"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L261"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L261"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L262"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L262"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L263"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "find_mem", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L264"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L265"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L265"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L265"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L265"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L267"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L268"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L269"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "unmap_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L270"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "make_buf", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L276"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "make_buf", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L277"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L282"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L282"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L282"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L283"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L283"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L284"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "find_mem", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L285"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L286"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L286"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L286"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L286"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L288"}, {"caller_nid": "render_graphics_graphicsrenderer_new", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L289"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L341"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "saturating_add", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L349"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "wait_for_fences", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L369"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "reset_fences", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L370"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "acquire_next_image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L372"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "reset_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L380"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "begin_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L381"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "clear_values", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L386"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "render_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L386"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L386"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L386"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_begin_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L392"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_bind_pipeline", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L393"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_set_viewport", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L402"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_set_scissor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L403"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_bind_vertex_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L405"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_bind_index_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L406"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_push_constants", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L412"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_draw_indexed", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L415"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "cmd_end_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L416"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "end_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L417"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "signal_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L420"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L420"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "wait_dst_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L420"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "wait_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L420"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "queue_submit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L425"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "image_indices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L428"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "swapchains", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L428"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "wait_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L428"}, {"caller_nid": "render_graphics_graphicsrenderer_render", "callee": "queue_present", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L432"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "get_physical_device_surface_capabilities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L443"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "inner_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L452"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "device_wait_idle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L468"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "destroy_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L471"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "destroy_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L472"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "old_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "clipped", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "present_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "composite_alpha", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "pre_transform", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_array_layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_color_space", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image_format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "min_image_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L475"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "create_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L490"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "get_swapchain_images", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L495"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L502"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L502"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "view_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L502"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L502"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "create_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L510"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L515"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "height", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L515"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L515"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L515"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L515"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "create_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L519"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "free_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L523"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "command_buffer_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L524"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "level", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L524"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L524"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "allocate_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L528"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "unmap_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L537"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L538"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L539"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L543"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L543"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L543"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L547"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L548"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "get_physical_device_memory_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L551"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "find_mem", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L557"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L558"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L559"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L559"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L562"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L563"}, {"caller_nid": "render_graphics_graphicsrenderer_check_resize", "callee": "destroy_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L570"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "device_wait_idle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L585"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_fence", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L586"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L587"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L588"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L589"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L590"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_pipeline", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L591"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_pipeline_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L592"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L593"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L594"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L595"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L596"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L597"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L598"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L599"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L600"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L601"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L603"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_device", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L604"}, {"caller_nid": "render_graphics_graphicsrenderer_drop", "callee": "destroy_instance", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/graphics.rs", "source_location": "L605"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/1004493b75aba57ba52f6b4b9a7008cf895520b66cc97ffb107c46eacf290b20.json b/graphify-out/cache/ast/v0.8.44/1004493b75aba57ba52f6b4b9a7008cf895520b66cc97ffb107c46eacf290b20.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/1004493b75aba57ba52f6b4b9a7008cf895520b66cc97ffb107c46eacf290b20.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/1383016c27aed86139990e1c5b1e82145f27689850971634070664b951773b22.json b/graphify-out/cache/ast/v0.8.44/1383016c27aed86139990e1c5b1e82145f27689850971634070664b951773b22.json new file mode 100644 index 0000000..d503f50 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/1383016c27aed86139990e1c5b1e82145f27689850971634070664b951773b22.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_world_cellular_rs", "label": "cellular.rs", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L1"}, {"id": "world_cellular_cellularautomaton", "label": "CellularAutomaton", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L4"}, {"id": "world_cellular_cellularautomaton_new", "label": ".new()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L10"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L10"}, {"id": "world_cellular_cellularautomaton_rand", "label": ".rand()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L18"}, {"id": "world_cellular_cellularautomaton_rand_bool", "label": ".rand_bool()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L26"}, {"id": "world_cellular_cellularautomaton_step", "label": ".step()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L30"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L30"}, {"id": "world_cellular_cellularautomaton_try_move_down", "label": ".try_move_down()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L69"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L69"}, {"id": "world_cellular_cellularautomaton_do_swap", "label": ".do_swap()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L104"}, {"id": "world_cellular_cellularautomaton_update_sand", "label": ".update_sand()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L114"}, {"id": "world_cellular_cellularautomaton_update_water", "label": ".update_water()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L118"}, {"id": "world_cellular_cellularautomaton_update_lava", "label": ".update_lava()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L170"}, {"id": "world_cellular_cellularautomaton_lava_interact", "label": ".lava_interact()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L207"}, {"id": "world_cellular_cellularautomaton_update_steam", "label": ".update_steam()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L238"}, {"id": "world_cellular_cellularautomaton_update_fire", "label": ".update_fire()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L273"}, {"id": "world_cellular_cellularautomaton_update_smoke", "label": ".update_smoke()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L313"}, {"id": "world_cellular_cellularautomaton_update_acid", "label": ".update_acid()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L337"}, {"id": "world_cellular_cellularautomaton_update_flesh", "label": ".update_flesh()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L378"}, {"id": "world_cellular_cellularautomaton_update_grass", "label": ".update_grass()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L389"}, {"id": "world_cellular_cellularautomaton_update_dirt", "label": ".update_dirt()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L397"}, {"id": "world_cellular_cellularautomaton_heat_transfer", "label": ".heat_transfer()", "file_type": "code", "source_file": "src/world/cellular.rs", "source_location": "L407"}], "edges": [{"source": "home_emil_desktop_verbatim_src_world_cellular_rs", "target": "cell", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_cellular_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_cellular_rs", "target": "world_cellular_cellularautomaton", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L4", "weight": 1.0}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L10", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L10", "weight": 1.0, "context": "return_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_rand", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L18", "weight": 1.0}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L26", "weight": 1.0}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_step", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L30", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L30", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_try_move_down", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L69", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_try_move_down", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L69", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton_try_move_down", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L69", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_do_swap", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L104", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_do_swap", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L104", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_sand", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L114", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_sand", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L114", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_water", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L118", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_water", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L118", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_lava", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L170", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_lava", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L170", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_lava_interact", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L207", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_lava_interact", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L207", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_steam", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L238", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_steam", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L238", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_fire", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L273", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_fire", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L273", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_smoke", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L313", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_smoke", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L313", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_acid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L337", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_acid", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L337", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_flesh", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L378", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_flesh", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L378", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_grass", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L389", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_grass", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L389", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_update_dirt", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L397", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_dirt", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L397", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton", "target": "world_cellular_cellularautomaton_heat_transfer", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L407", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_heat_transfer", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L407", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cellular_cellularautomaton_rand_bool", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L27", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L32", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_sand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L50", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_water", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L51", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_lava", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L52", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_steam", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L53", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_fire", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L54", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_smoke", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L55", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_acid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L56", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_flesh", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L57", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_grass", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L58", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_update_dirt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L59", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_step", "target": "world_cellular_cellularautomaton_heat_transfer", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L65", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_try_move_down", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L81", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_try_move_down", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L92", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_sand", "target": "world_cellular_cellularautomaton_try_move_down", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L115", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_water", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L121", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_water", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L125", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_lava", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L182", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_lava", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L186", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_lava", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L196", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_lava", "target": "world_cellular_cellularautomaton_lava_interact", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L204", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_lava_interact", "target": "world_cellular_cellularautomaton_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L218", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_steam", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L250", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_steam", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L254", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_steam", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L264", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_fire", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L275", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_fire", "target": "world_cellular_cellularautomaton_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L278", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_fire", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L291", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_smoke", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L314", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_smoke", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L321", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_smoke", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L325", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_acid", "target": "world_cellular_cellularautomaton_rand", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L348", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_acid", "target": "world_cellular_cellularautomaton_do_swap", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L362", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_acid", "target": "world_cellular_cellularautomaton_rand_bool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L366", "weight": 1.0}, {"source": "world_cellular_cellularautomaton_update_grass", "target": "world_cellular_cellularautomaton_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cellular.rs", "source_location": "L393", "weight": 1.0}], "raw_calls": [{"caller_nid": "world_cellular_cellularautomaton_step", "callee": "reset_tick_flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L31"}, {"caller_nid": "world_cellular_cellularautomaton_step", "callee": "rev", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L36"}, {"caller_nid": "world_cellular_cellularautomaton_step", "callee": "rev", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L41"}, {"caller_nid": "world_cellular_cellularautomaton_step", "callee": "is_static", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L46"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L71"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L71"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L73"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L74"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L85"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L86"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L86"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L87"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L88"}, {"caller_nid": "world_cellular_cellularautomaton_try_move_down", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L88"}, {"caller_nid": "world_cellular_cellularautomaton_do_swap", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L107"}, {"caller_nid": "world_cellular_cellularautomaton_do_swap", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L108"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L120"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L120"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L129"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L130"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L130"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L131"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L132"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L132"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L145"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L146"}, {"caller_nid": "world_cellular_cellularautomaton_update_water", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L165"}, {"caller_nid": "world_cellular_cellularautomaton_update_lava", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L175"}, {"caller_nid": "world_cellular_cellularautomaton_update_lava", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L187"}, {"caller_nid": "world_cellular_cellularautomaton_update_lava", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L191"}, {"caller_nid": "world_cellular_cellularautomaton_update_lava", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L197"}, {"caller_nid": "world_cellular_cellularautomaton_update_lava", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L199"}, {"caller_nid": "world_cellular_cellularautomaton_lava_interact", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L211"}, {"caller_nid": "world_cellular_cellularautomaton_lava_interact", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L217"}, {"caller_nid": "world_cellular_cellularautomaton_lava_interact", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L222"}, {"caller_nid": "world_cellular_cellularautomaton_lava_interact", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L226"}, {"caller_nid": "world_cellular_cellularautomaton_lava_interact", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L230"}, {"caller_nid": "world_cellular_cellularautomaton_update_steam", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L244"}, {"caller_nid": "world_cellular_cellularautomaton_update_steam", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L255"}, {"caller_nid": "world_cellular_cellularautomaton_update_steam", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L259"}, {"caller_nid": "world_cellular_cellularautomaton_update_steam", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L265"}, {"caller_nid": "world_cellular_cellularautomaton_update_steam", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L267"}, {"caller_nid": "world_cellular_cellularautomaton_update_fire", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L276"}, {"caller_nid": "world_cellular_cellularautomaton_update_fire", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L287"}, {"caller_nid": "world_cellular_cellularautomaton_update_fire", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L297"}, {"caller_nid": "world_cellular_cellularautomaton_update_fire", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L307"}, {"caller_nid": "world_cellular_cellularautomaton_update_smoke", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L315"}, {"caller_nid": "world_cellular_cellularautomaton_update_smoke", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L326"}, {"caller_nid": "world_cellular_cellularautomaton_update_smoke", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L328"}, {"caller_nid": "world_cellular_cellularautomaton_update_smoke", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L330"}, {"caller_nid": "world_cellular_cellularautomaton_update_smoke", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L332"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L341"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L350"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L353"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L361"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L361"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L367"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L369"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L371"}, {"caller_nid": "world_cellular_cellularautomaton_update_acid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L373"}, {"caller_nid": "world_cellular_cellularautomaton_update_flesh", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L384"}, {"caller_nid": "world_cellular_cellularautomaton_update_grass", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L392"}, {"caller_nid": "world_cellular_cellularautomaton_update_dirt", "callee": "idx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L402"}, {"caller_nid": "world_cellular_cellularautomaton_heat_transfer", "callee": "is_static", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cellular.rs", "source_location": "L416"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/1e4a9dcbc6242e19c4e3fad6956d1f78459422a65d747eb6d61dbc9d27d8a0ee.json b/graphify-out/cache/ast/v0.8.44/1e4a9dcbc6242e19c4e3fad6956d1f78459422a65d747eb6d61dbc9d27d8a0ee.json new file mode 100644 index 0000000..aa3094f --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/1e4a9dcbc6242e19c4e3fad6956d1f78459422a65d747eb6d61dbc9d27d8a0ee.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_scenario_rs", "label": "scenario.rs", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L1"}, {"id": "ai_scenario_scenario", "label": "Scenario", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L7"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L8"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L12"}, {"id": "aiaction", "label": "AiAction", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L12"}, {"id": "assertion", "label": "Assertion", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L14"}, {"id": "ai_scenario_assertion", "label": "Assertion", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L19"}, {"id": "ai_scenario_assertionresult", "label": "AssertionResult", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L82"}, {"id": "ai_scenario_scenarioresult", "label": "ScenarioResult", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L89"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L93"}, {"id": "gamestate", "label": "GameState", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L93"}, {"id": "ai_scenario_run_scenario", "label": "run_scenario()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L97"}, {"id": "ai_scenario_check_assertion", "label": "check_assertion()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L131"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L131"}, {"id": "ai_scenario_load_scenario", "label": "load_scenario()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L272"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L272"}, {"id": "ai_scenario_load_scenarios_from_dir", "label": "load_scenarios_from_dir()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L277"}, {"id": "ai_scenario_run_all_scenarios", "label": "run_all_scenarios()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L292"}, {"id": "ai_scenario_format_results", "label": "format_results()", "file_type": "code", "source_file": "src/ai/scenario.rs", "source_location": "L297"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "gamestate", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_scenario", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L7", "weight": 1.0}, {"source": "ai_scenario_scenario", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L8", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenario", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L9", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenario", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L11", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenario", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L12", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenario", "target": "aiaction", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L12", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_scenario_scenario", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L14", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenario", "target": "assertion", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L14", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_assertion", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L19", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_assertionresult", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L82", "weight": 1.0}, {"source": "ai_scenario_assertionresult", "target": "ai_scenario_assertion", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L83", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_assertionresult", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L85", "weight": 1.0, "context": "field"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_scenarioresult", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L89", "weight": 1.0}, {"source": "ai_scenario_scenarioresult", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L90", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenarioresult", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L92", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenarioresult", "target": "ai_scenario_assertionresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L92", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_scenario_scenarioresult", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L93", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenarioresult", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_scenario_scenarioresult", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L94", "weight": 1.0, "context": "field"}, {"source": "ai_scenario_scenarioresult", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L94", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_run_scenario", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L97", "weight": 1.0}, {"source": "ai_scenario_run_scenario", "target": "ai_scenario_scenario", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L97", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_scenario_run_scenario", "target": "ai_scenario_scenarioresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L97", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_check_assertion", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L131", "weight": 1.0}, {"source": "ai_scenario_check_assertion", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L131", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_scenario_check_assertion", "target": "ai_scenario_assertion", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L131", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_scenario_check_assertion", "target": "ai_scenario_assertionresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L131", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_load_scenario", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L272", "weight": 1.0}, {"source": "ai_scenario_load_scenario", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L272", "weight": 1.0, "context": "return_type"}, {"source": "ai_scenario_load_scenario", "target": "ai_scenario_scenario", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L272", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_scenario_load_scenario", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L272", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_load_scenarios_from_dir", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L277", "weight": 1.0}, {"source": "ai_scenario_load_scenarios_from_dir", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L277", "weight": 1.0, "context": "return_type"}, {"source": "ai_scenario_load_scenarios_from_dir", "target": "ai_scenario_scenario", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L277", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_run_all_scenarios", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L292", "weight": 1.0}, {"source": "ai_scenario_run_all_scenarios", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L292", "weight": 1.0, "context": "return_type"}, {"source": "ai_scenario_run_all_scenarios", "target": "ai_scenario_scenarioresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L292", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_scenario_rs", "target": "ai_scenario_format_results", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L297", "weight": 1.0}, {"source": "ai_scenario_format_results", "target": "ai_scenario_scenarioresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L297", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_scenario_format_results", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L297", "weight": 1.0, "context": "return_type"}, {"source": "ai_scenario_run_scenario", "target": "ai_scenario_check_assertion", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L115", "weight": 1.0}, {"source": "ai_scenario_load_scenarios_from_dir", "target": "ai_scenario_load_scenario", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L283", "weight": 1.0}, {"source": "ai_scenario_run_all_scenarios", "target": "ai_scenario_load_scenarios_from_dir", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L293", "weight": 1.0}, {"source": "ai_scenario_run_all_scenarios", "target": "ai_scenario_run_scenario", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/scenario.rs", "source_location": "L294", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_scenario_run_scenario", "callee": "as_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L100"}, {"caller_nid": "ai_scenario_run_scenario", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L101"}, {"caller_nid": "ai_scenario_run_scenario", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L106"}, {"caller_nid": "ai_scenario_run_scenario", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L110"}, {"caller_nid": "ai_scenario_run_scenario", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L120"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L134"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "to_lowercase", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L135"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L143"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "to_lowercase", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L144"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L152"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L161"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L170"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L179"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L188"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L189"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L190"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L198"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L199"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L200"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L208"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L209"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L210"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L211"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L219"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L220"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L221"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "check_on_ground", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L229"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L237"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L238"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L246"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L247"}, {"caller_nid": "ai_scenario_check_assertion", "callee": "tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L255"}, {"caller_nid": "ai_scenario_load_scenario", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L273"}, {"caller_nid": "ai_scenario_load_scenario", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L274"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "flatten", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L280"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "path", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L281"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L282"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "extension", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L282"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L283"}, {"caller_nid": "ai_scenario_load_scenarios_from_dir", "callee": "to_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L283"}, {"caller_nid": "ai_scenario_format_results", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L300"}, {"caller_nid": "ai_scenario_format_results", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L302"}, {"caller_nid": "ai_scenario_format_results", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L306"}, {"caller_nid": "ai_scenario_format_results", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/scenario.rs", "source_location": "L310"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/21ab58c3d4cb7ff279b6de6c4e6547e1cf4759d554e54daa099abdd887512a30.json b/graphify-out/cache/ast/v0.8.44/21ab58c3d4cb7ff279b6de6c4e6547e1cf4759d554e54daa099abdd887512a30.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/21ab58c3d4cb7ff279b6de6c4e6547e1cf4759d554e54daa099abdd887512a30.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/2c1b9a0f2b19b554c0d6c91cca6e29346922726c248642443a786c888a0eb84a.json b/graphify-out/cache/ast/v0.8.44/2c1b9a0f2b19b554c0d6c91cca6e29346922726c248642443a786c888a0eb84a.json new file mode 100644 index 0000000..a92f68b --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/2c1b9a0f2b19b554c0d6c91cca6e29346922726c248642443a786c888a0eb84a.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_entity_mod_rs", "label": "mod.rs", "file_type": "code", "source_file": "src/entity/mod.rs", "source_location": "L1"}], "edges": [{"source": "home_emil_desktop_verbatim_src_entity_mod_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/entity/mod.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_entity_mod_rs", "target": "player", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/entity/mod.rs", "source_location": "L5", "weight": 1.0, "context": "import"}], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/2f2aaec4165990d2bc541fb7299281b706f99e3cbbad27d0ccfaaec7492c5b1d.json b/graphify-out/cache/ast/v0.8.44/2f2aaec4165990d2bc541fb7299281b706f99e3cbbad27d0ccfaaec7492c5b1d.json new file mode 100644 index 0000000..503701b --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/2f2aaec4165990d2bc541fb7299281b706f99e3cbbad27d0ccfaaec7492c5b1d.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_render_vulkan_rs", "label": "vulkan.rs", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L1"}, {"id": "render_vulkan_cellinstance", "label": "CellInstance", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L20"}, {"id": "render_vulkan_pushconstants", "label": "PushConstants", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L33"}, {"id": "render_vulkan_vulkanrenderer", "label": "VulkanRenderer", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L38"}, {"id": "entry", "label": "Entry", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L42"}, {"id": "instance", "label": "Instance", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L43"}, {"id": "surfacekhr", "label": "SurfaceKHR", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L44"}, {"id": "physicaldevice", "label": "PhysicalDevice", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L45"}, {"id": "device", "label": "Device", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L46"}, {"id": "queue", "label": "Queue", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L47"}, {"id": "swapchainkhr", "label": "SwapchainKHR", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L50"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L51"}, {"id": "imageview", "label": "ImageView", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L51"}, {"id": "extent2d", "label": "Extent2D", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L52"}, {"id": "renderpass", "label": "RenderPass", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L54"}, {"id": "pipeline", "label": "Pipeline", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L55"}, {"id": "pipelinelayout", "label": "PipelineLayout", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L56"}, {"id": "framebuffer", "label": "Framebuffer", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L57"}, {"id": "commandpool", "label": "CommandPool", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L59"}, {"id": "commandbuffer", "label": "CommandBuffer", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L60"}, {"id": "semaphore", "label": "Semaphore", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L62"}, {"id": "fence", "label": "Fence", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L64"}, {"id": "buffer", "label": "Buffer", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L67"}, {"id": "devicememory", "label": "DeviceMemory", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L68"}, {"id": "image", "label": "Image", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L72"}, {"id": "sampler", "label": "Sampler", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L75"}, {"id": "hashmap", "label": "HashMap", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L76"}, {"id": "descriptorpool", "label": "DescriptorPool", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L83"}, {"id": "descriptorset", "label": "DescriptorSet", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L84"}, {"id": "descriptorsetlayout", "label": "DescriptorSetLayout", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L85"}, {"id": "arc", "label": "Arc", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L86"}, {"id": "window", "label": "Window", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L86"}, {"id": "render_vulkan_vulkanrenderer_new", "label": ".new()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L90"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L90"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L90"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L90"}, {"id": "render_vulkan_vulkanrenderer_render", "label": ".render()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L162"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L162"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L162"}, {"id": "render_vulkan_vulkanrenderer_grid_w", "label": ".grid_w()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L307"}, {"id": "render_vulkan_vulkanrenderer_grid_h", "label": ".grid_h()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L308"}, {"id": "render_vulkan_vulkanrenderer_check_resize", "label": ".check_resize()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L310"}, {"id": "drop", "label": "Drop", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L445"}, {"id": "render_vulkan_vulkanrenderer_drop", "label": ".drop()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L446"}, {"id": "render_vulkan_create_instance", "label": "create_instance()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L479"}, {"id": "c_char", "label": "c_char", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L479"}, {"id": "render_vulkan_create_surface", "label": "create_surface()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L504"}, {"id": "render_vulkan_pick_physical_device", "label": "pick_physical_device()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L516"}, {"id": "render_vulkan_create_device", "label": "create_device()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L536"}, {"id": "render_vulkan_create_swapchain", "label": "create_swapchain()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L551"}, {"id": "format", "label": "Format", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L551"}, {"id": "render_vulkan_create_image_view", "label": "create_image_view()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L589"}, {"id": "render_vulkan_create_render_pass", "label": "create_render_pass()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L599"}, {"id": "render_vulkan_create_descriptor", "label": "create_descriptor()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L620"}, {"id": "render_vulkan_create_pipeline", "label": "create_pipeline()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L634"}, {"id": "render_vulkan_create_framebuffer", "label": "create_framebuffer()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L685"}, {"id": "render_vulkan_create_command_pool", "label": "create_command_pool()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L691"}, {"id": "render_vulkan_create_command_buffers", "label": "create_command_buffers()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L696"}, {"id": "render_vulkan_create_sync", "label": "create_sync()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L701"}, {"id": "render_vulkan_find_mem_type", "label": "find_mem_type()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L713"}, {"id": "memorypropertyflags", "label": "MemoryPropertyFlags", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L713"}, {"id": "render_vulkan_create_buffer_with_data", "label": "create_buffer_with_data()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L721"}, {"id": "t", "label": "T", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L721"}, {"id": "bufferusageflags", "label": "BufferUsageFlags", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L721"}, {"id": "render_vulkan_create_vertex_index_buffers", "label": "create_vertex_index_buffers()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L741"}, {"id": "render_vulkan_create_atlas_texture", "label": "create_atlas_texture()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L751"}, {"id": "render_vulkan_create_instance_buffer", "label": "create_instance_buffer()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L856"}, {"id": "render_vulkan_update_descriptor_set", "label": "update_descriptor_set()", "file_type": "code", "source_file": "src/render/vulkan.rs", "source_location": "L872"}], "edges": [{"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "vk", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "fontdue", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "cstring", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "arc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_cellinstance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L20", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_pushconstants", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L33", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_vulkanrenderer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L38", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer", "target": "entry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L42", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L43", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "surfacekhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L44", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L45", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L46", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "queue", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L47", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L49", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "swapchainkhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L50", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L51", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L51", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "extent2d", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L52", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "renderpass", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L54", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "pipeline", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L55", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "pipelinelayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L56", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L57", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "framebuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L57", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "commandpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L59", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L60", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "commandbuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L60", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L62", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L62", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L63", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L63", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L64", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "fence", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L64", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L67", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L68", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L69", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L70", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "image", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L72", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L73", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L74", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "sampler", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L75", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "hashmap", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L76", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L78", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L79", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_cellinstance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L80", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "descriptorpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L83", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "descriptorset", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L84", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "descriptorsetlayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L85", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L86", "weight": 1.0, "context": "field"}, {"source": "render_vulkan_vulkanrenderer", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L86", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_vulkanrenderer_new", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer_new", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_vulkanrenderer_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer_new", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L90", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L162", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_render", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L162", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_vulkanrenderer_render", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L162", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_grid_w", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L307", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_grid_h", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L308", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_check_resize", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L310", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer", "target": "drop", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L445", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer", "target": "render_vulkan_vulkanrenderer_drop", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L446", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_instance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0}, {"source": "render_vulkan_create_instance", "target": "entry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_instance", "target": "c_char", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_instance", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_instance", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_instance", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L479", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_surface", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0}, {"source": "render_vulkan_create_surface", "target": "entry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_surface", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_surface", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_surface", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_surface", "target": "surfacekhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_surface", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L504", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_pick_physical_device", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0}, {"source": "render_vulkan_pick_physical_device", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_pick_physical_device", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_pick_physical_device", "target": "surfacekhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_pick_physical_device", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_pick_physical_device", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_pick_physical_device", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L516", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_device", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0}, {"source": "render_vulkan_create_device", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_device", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_device", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_device", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_device", "target": "queue", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_device", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L536", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_swapchain", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0}, {"source": "render_vulkan_create_swapchain", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_swapchain", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_swapchain", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_swapchain", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_swapchain", "target": "surfacekhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_swapchain", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_swapchain", "target": "swapchainkhr", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_swapchain", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_swapchain", "target": "image", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_swapchain", "target": "format", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_swapchain", "target": "extent2d", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_swapchain", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L551", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_image_view", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L589", "weight": 1.0}, {"source": "render_vulkan_create_image_view", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L589", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_image_view", "target": "image", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L589", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_image_view", "target": "format", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L589", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_image_view", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L589", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_render_pass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0}, {"source": "render_vulkan_create_render_pass", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_render_pass", "target": "format", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_render_pass", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_render_pass", "target": "renderpass", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_render_pass", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L599", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_descriptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0}, {"source": "render_vulkan_create_descriptor", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_descriptor", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_descriptor", "target": "descriptorsetlayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_descriptor", "target": "descriptorpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_descriptor", "target": "descriptorset", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_descriptor", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L620", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_pipeline", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0}, {"source": "render_vulkan_create_pipeline", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_pipeline", "target": "renderpass", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_pipeline", "target": "descriptorsetlayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_pipeline", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_pipeline", "target": "pipelinelayout", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_pipeline", "target": "pipeline", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_pipeline", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L634", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_framebuffer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0}, {"source": "render_vulkan_create_framebuffer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_framebuffer", "target": "renderpass", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_framebuffer", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_framebuffer", "target": "extent2d", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_framebuffer", "target": "framebuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L685", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_command_pool", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L691", "weight": 1.0}, {"source": "render_vulkan_create_command_pool", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L691", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_command_pool", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L691", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_command_pool", "target": "commandpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L691", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_command_pool", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L691", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_command_buffers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0}, {"source": "render_vulkan_create_command_buffers", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_command_buffers", "target": "commandpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_command_buffers", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_command_buffers", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_command_buffers", "target": "commandbuffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_command_buffers", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L696", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_sync", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0}, {"source": "render_vulkan_create_sync", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_sync", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_sync", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "semaphore", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "fence", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_sync", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L701", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_find_mem_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0}, {"source": "render_vulkan_find_mem_type", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_find_mem_type", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_find_mem_type", "target": "memorypropertyflags", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_find_mem_type", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_find_mem_type", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L713", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_buffer_with_data", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0}, {"source": "render_vulkan_create_buffer_with_data", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "t", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "bufferusageflags", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_buffer_with_data", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_buffer_with_data", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_buffer_with_data", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L721", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_vertex_index_buffers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L741", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_atlas_texture", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0}, {"source": "render_vulkan_create_atlas_texture", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "queue", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "commandpool", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_atlas_texture", "target": "image", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_atlas_texture", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_atlas_texture", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_atlas_texture", "target": "sampler", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_atlas_texture", "target": "hashmap", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_atlas_texture", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L751", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_create_instance_buffer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0}, {"source": "render_vulkan_create_instance_buffer", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_instance_buffer", "target": "instance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_instance_buffer", "target": "physicaldevice", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_create_instance_buffer", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "return_type"}, {"source": "render_vulkan_create_instance_buffer", "target": "buffer", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_instance_buffer", "target": "devicememory", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_instance_buffer", "target": "render_vulkan_cellinstance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "generic_arg"}, {"source": "render_vulkan_create_instance_buffer", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L856", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_render_vulkan_rs", "target": "render_vulkan_update_descriptor_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L872", "weight": 1.0}, {"source": "render_vulkan_update_descriptor_set", "target": "device", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L872", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_update_descriptor_set", "target": "descriptorset", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L872", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_update_descriptor_set", "target": "imageview", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L872", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_update_descriptor_set", "target": "sampler", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L872", "weight": 1.0, "context": "parameter_type"}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_instance", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L104", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_surface", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L105", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_pick_physical_device", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L109", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_device", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L111", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_swapchain", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L115", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_image_view", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L119", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_render_pass", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L122", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_descriptor", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L124", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_pipeline", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L125", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_framebuffer", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L127", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_command_pool", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L129", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_command_buffers", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L130", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_sync", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L131", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_vertex_index_buffers", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L134", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_atlas_texture", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L137", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_create_instance_buffer", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L141", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_new", "target": "render_vulkan_update_descriptor_set", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L143", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_render", "target": "render_vulkan_vulkanrenderer_check_resize", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L163", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_render", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L165", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_check_resize", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L311", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_check_resize", "target": "render_vulkan_create_swapchain", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L357", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_check_resize", "target": "render_vulkan_create_image_view", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L377", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_check_resize", "target": "render_vulkan_create_framebuffer", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L386", "weight": 1.0}, {"source": "render_vulkan_vulkanrenderer_drop", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L471", "weight": 1.0}, {"source": "render_vulkan_create_instance", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L480", "weight": 1.0}, {"source": "render_vulkan_create_pipeline", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L641", "weight": 1.0}, {"source": "render_vulkan_create_sync", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L702", "weight": 1.0}, {"source": "render_vulkan_create_buffer_with_data", "target": "render_vulkan_find_mem_type", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L729", "weight": 1.0}, {"source": "render_vulkan_create_vertex_index_buffers", "target": "render_vulkan_create_buffer_with_data", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L746", "weight": 1.0}, {"source": "render_vulkan_create_atlas_texture", "target": "render_vulkan_vulkanrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L758", "weight": 1.0}, {"source": "render_vulkan_create_atlas_texture", "target": "render_vulkan_find_mem_type", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L792", "weight": 1.0}, {"source": "render_vulkan_create_atlas_texture", "target": "render_vulkan_create_image_view", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L847", "weight": 1.0}, {"source": "render_vulkan_create_instance_buffer", "target": "render_vulkan_find_mem_type", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/vulkan.rs", "source_location": "L863", "weight": 1.0}], "raw_calls": [{"caller_nid": "render_vulkan_vulkanrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L96"}, {"caller_nid": "render_vulkan_vulkanrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L100"}, {"caller_nid": "render_vulkan_vulkanrenderer_new", "callee": "display_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L100"}, {"caller_nid": "render_vulkan_vulkanrenderer_new", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L101"}, {"caller_nid": "render_vulkan_vulkanrenderer_new", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L101"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L202"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "saturating_add", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L210"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "display_char", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L216"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L220"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "copied", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L220"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "wait_for_fences", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L233"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "reset_fences", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L234"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "acquire_next_image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L236"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "reset_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L244"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "begin_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L245"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "clear_values", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L250"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "render_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L250"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L250"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L250"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_begin_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L256"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_bind_pipeline", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L257"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_set_viewport", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L269"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_set_scissor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L270"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_bind_vertex_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L272"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_bind_index_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L273"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_bind_descriptor_sets", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L274"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_push_constants", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L281"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_draw_indexed", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L284"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "cmd_end_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L285"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "end_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L286"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "signal_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L289"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L289"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "wait_dst_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L289"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "wait_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L289"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "queue_submit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L294"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "image_indices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L297"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "swapchains", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L297"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "wait_semaphores", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L297"}, {"caller_nid": "render_vulkan_vulkanrenderer_render", "callee": "queue_present", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L301"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "get_physical_device_surface_capabilities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L312"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "inner_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L321"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "device_wait_idle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L337"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "destroy_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L339"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "destroy_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L340"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "old_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "clipped", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "present_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "composite_alpha", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "pre_transform", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_array_layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_color_space", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image_format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "min_image_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L342"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "get_swapchain_images", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L362"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L369"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L369"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "view_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L369"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L369"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L382"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "height", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L382"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L382"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L382"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L382"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "free_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L389"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "command_buffer_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L390"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "level", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L390"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L390"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "allocate_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L394"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "unmap_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L402"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L403"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L404"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L408"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L408"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L408"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L411"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L412"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "get_physical_device_memory_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L415"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "find_mem", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L421"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L422"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L423"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L423"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L426"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L427"}, {"caller_nid": "render_vulkan_vulkanrenderer_check_resize", "callee": "destroy_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L433"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "device_wait_idle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L448"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_fence", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L449"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L450"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L451"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L452"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L453"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_pipeline", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L454"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_pipeline_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L455"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L456"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_sampler", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L457"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L458"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L459"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L460"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L461"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L462"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L463"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L464"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L465"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L466"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_descriptor_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L467"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_descriptor_set_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L468"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L469"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L470"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L472"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_device", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L473"}, {"caller_nid": "render_vulkan_vulkanrenderer_drop", "callee": "destroy_instance", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L474"}, {"caller_nid": "render_vulkan_create_instance", "callee": "api_version", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L481"}, {"caller_nid": "render_vulkan_create_instance", "callee": "application_name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L481"}, {"caller_nid": "render_vulkan_create_instance", "callee": "unwrap_or_default", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L489"}, {"caller_nid": "render_vulkan_create_instance", "callee": "enumerate_instance_extension_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L489"}, {"caller_nid": "render_vulkan_create_instance", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L491"}, {"caller_nid": "render_vulkan_create_instance", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L492"}, {"caller_nid": "render_vulkan_create_instance", "callee": "to_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L492"}, {"caller_nid": "render_vulkan_create_instance", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L495"}, {"caller_nid": "render_vulkan_create_instance", "callee": "enabled_extension_names", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L498"}, {"caller_nid": "render_vulkan_create_instance", "callee": "application_info", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L498"}, {"caller_nid": "render_vulkan_create_instance", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L501"}, {"caller_nid": "render_vulkan_create_instance", "callee": "create_instance", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L501"}, {"caller_nid": "render_vulkan_create_surface", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L506"}, {"caller_nid": "render_vulkan_create_surface", "callee": "window_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L506"}, {"caller_nid": "render_vulkan_create_surface", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L507"}, {"caller_nid": "render_vulkan_create_surface", "callee": "display_handle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L507"}, {"caller_nid": "render_vulkan_create_surface", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L508"}, {"caller_nid": "render_vulkan_create_surface", "callee": "as_raw", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L509"}, {"caller_nid": "render_vulkan_create_surface", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L511"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L521"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "enumerate_physical_devices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L521"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "get_physical_device_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L523"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "get_physical_device_queue_family_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L525"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L528"}, {"caller_nid": "render_vulkan_pick_physical_device", "callee": "get_physical_device_surface_support", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L528"}, {"caller_nid": "render_vulkan_create_device", "callee": "queue_priorities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L538"}, {"caller_nid": "render_vulkan_create_device", "callee": "queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L538"}, {"caller_nid": "render_vulkan_create_device", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L540"}, {"caller_nid": "render_vulkan_create_device", "callee": "enabled_extension_names", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L541"}, {"caller_nid": "render_vulkan_create_device", "callee": "queue_create_infos", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L541"}, {"caller_nid": "render_vulkan_create_device", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L545"}, {"caller_nid": "render_vulkan_create_device", "callee": "create_device", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L545"}, {"caller_nid": "render_vulkan_create_device", "callee": "get_device_queue", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L546"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L560"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "get_physical_device_surface_capabilities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L560"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "clipped", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "present_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "composite_alpha", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "pre_transform", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "queue_family_indices", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_array_layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_color_space", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "image_format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "min_image_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "surface", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L570"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L584"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "create_swapchain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L584"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L585"}, {"caller_nid": "render_vulkan_create_swapchain", "callee": "get_swapchain_images", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L585"}, {"caller_nid": "render_vulkan_create_image_view", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L590"}, {"caller_nid": "render_vulkan_create_image_view", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L590"}, {"caller_nid": "render_vulkan_create_image_view", "callee": "view_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L590"}, {"caller_nid": "render_vulkan_create_image_view", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L590"}, {"caller_nid": "render_vulkan_create_image_view", "callee": "create_image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L596"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "final_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "initial_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "store_op", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "load_op", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "samples", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L600"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L604"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "attachment", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L604"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "color_attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L605"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "pipeline_bind_point", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L605"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "dst_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L608"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "dst_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L608"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "src_stage_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L608"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "dst_subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L608"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "src_subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L608"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "dependencies", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L613"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "subpasses", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L613"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L613"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L617"}, {"caller_nid": "render_vulkan_create_render_pass", "callee": "create_render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L617"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "stage_flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L621"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "descriptor_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L621"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "descriptor_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L621"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "binding", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L621"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "bindings", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L624"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L625"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "create_descriptor_set_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L625"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "max_sets", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L627"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "pool_sizes", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L627"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L628"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "create_descriptor_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L628"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "set_layouts", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L629"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "descriptor_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L629"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L630"}, {"caller_nid": "render_vulkan_create_descriptor", "callee": "allocate_descriptor_sets", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L630"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "chunks_exact", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L637"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "chunks_exact", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L638"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L639"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "create_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L639"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "code", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L639"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L640"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "create_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L640"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "code", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L640"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L642"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L642"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "stage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L642"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "name", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L643"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L643"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "stage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L643"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "vertex_attribute_descriptions", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L656"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "vertex_binding_descriptions", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L656"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "topology", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L658"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "dynamic_states", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L660"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "scissor_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L661"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "viewport_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L661"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "cull_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L664"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "line_width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L664"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "rasterization_samples", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L665"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "color_write_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L666"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L667"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "push_constant_ranges", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L669"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "set_layouts", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L669"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L672"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "create_pipeline_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L672"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "subpass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "dynamic_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "color_blend_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "multisample_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "rasterization_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "viewport_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "input_assembly_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "vertex_input_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "stages", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L674"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L679"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "create_graphics_pipelines", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L679"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "destroy_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L681"}, {"caller_nid": "render_vulkan_create_pipeline", "callee": "destroy_shader_module", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L681"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L686"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "height", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L686"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "width", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L686"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "attachments", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L686"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "render_pass", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L686"}, {"caller_nid": "render_vulkan_create_framebuffer", "callee": "create_framebuffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L688"}, {"caller_nid": "render_vulkan_create_command_pool", "callee": "flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L692"}, {"caller_nid": "render_vulkan_create_command_pool", "callee": "queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L692"}, {"caller_nid": "render_vulkan_create_command_pool", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L693"}, {"caller_nid": "render_vulkan_create_command_pool", "callee": "create_command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L693"}, {"caller_nid": "render_vulkan_create_command_buffers", "callee": "command_buffer_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L697"}, {"caller_nid": "render_vulkan_create_command_buffers", "callee": "level", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L697"}, {"caller_nid": "render_vulkan_create_command_buffers", "callee": "command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L697"}, {"caller_nid": "render_vulkan_create_command_buffers", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L698"}, {"caller_nid": "render_vulkan_create_command_buffers", "callee": "allocate_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L698"}, {"caller_nid": "render_vulkan_create_sync", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L705"}, {"caller_nid": "render_vulkan_create_sync", "callee": "create_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L705"}, {"caller_nid": "render_vulkan_create_sync", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L706"}, {"caller_nid": "render_vulkan_create_sync", "callee": "create_semaphore", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L706"}, {"caller_nid": "render_vulkan_create_sync", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L707"}, {"caller_nid": "render_vulkan_create_sync", "callee": "create_fence", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L707"}, {"caller_nid": "render_vulkan_create_sync", "callee": "flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L707"}, {"caller_nid": "render_vulkan_find_mem_type", "callee": "get_physical_device_memory_properties", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L714"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L726"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L726"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L726"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L727"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L727"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L728"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L730"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L730"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L731"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L731"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L733"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L734"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L735"}, {"caller_nid": "render_vulkan_create_buffer_with_data", "callee": "unmap_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L736"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "chars", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L759"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "rasterize", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L768"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "samples", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "initial_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "tiling", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "array_layers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "mip_levels", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L783"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L790"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "create_image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L790"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "get_image_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L791"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L793"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L793"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L793"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L793"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "bind_image_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L794"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L798"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L798"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L798"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L799"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L800"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L802"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L802"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L802"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L804"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L805"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "as_ptr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L806"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "unmap_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L807"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "allocate_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L812"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "command_buffer_count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L812"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "level", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L812"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "command_pool", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L812"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "begin_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L814"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "flags", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L814"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "dst_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "src_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "dst_queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "src_queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "new_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "old_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L815"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "cmd_pipeline_barrier", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L820"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "cmd_copy_buffer_to_image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L821"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image_extent", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L822"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image_subresource", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L822"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "buffer_image_height", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L822"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "buffer_row_length", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L822"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "dst_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "src_access_mask", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "dst_queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "src_queue_family_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "new_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "old_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L826"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "cmd_pipeline_barrier", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L831"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "end_command_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L832"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L833"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "queue_submit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L834"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "queue_wait_idle", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L835"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "free_command_buffers", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L839"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "destroy_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L840"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "free_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L841"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "subresource_range", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L844"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "format", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L844"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "view_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L844"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "image", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L844"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "unnormalized_coordinates", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "border_color", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "address_mode_w", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "address_mode_v", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "address_mode_u", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "min_filter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "mag_filter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L848"}, {"caller_nid": "render_vulkan_create_atlas_texture", "callee": "create_sampler", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L852"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "sharing_mode", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L860"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "usage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L860"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L860"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L861"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "create_buffer", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L861"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "get_buffer_memory_requirements", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L862"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L864"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "allocate_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L864"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "memory_type_index", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L864"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "allocation_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L864"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "bind_buffer_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L866"}, {"caller_nid": "render_vulkan_create_instance_buffer", "callee": "map_memory", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L867"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "sampler", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L873"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "image_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L873"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "image_layout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L873"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "image_info", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L874"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "descriptor_type", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L874"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "dst_binding", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L874"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "dst_set", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L874"}, {"caller_nid": "render_vulkan_update_descriptor_set", "callee": "update_descriptor_sets", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/vulkan.rs", "source_location": "L876"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/32a7af8ee35b97f6802369b6486fd8e754ce770654c62b777d7a2249d212fae1.json b/graphify-out/cache/ast/v0.8.44/32a7af8ee35b97f6802369b6486fd8e754ce770654c62b777d7a2249d212fae1.json new file mode 100644 index 0000000..e711a42 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/32a7af8ee35b97f6802369b6486fd8e754ce770654c62b777d7a2249d212fae1.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_lib_rs", "label": "lib.rs", "file_type": "code", "source_file": "src/lib.rs", "source_location": "L1"}], "edges": [], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/33c894de63e7ad6cfec4f4a1d0fc12bc186e222a4d11de24340102459c02f744.json b/graphify-out/cache/ast/v0.8.44/33c894de63e7ad6cfec4f4a1d0fc12bc186e222a4d11de24340102459c02f744.json new file mode 100644 index 0000000..abcf859 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/33c894de63e7ad6cfec4f4a1d0fc12bc186e222a4d11de24340102459c02f744.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_physics_mod_rs", "label": "mod.rs", "file_type": "code", "source_file": "src/physics/mod.rs", "source_location": "L1"}], "edges": [], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/33f6f97b825a0495f24606999865a1aee5076417870699500ea54ee3ce40ac1e.json b/graphify-out/cache/ast/v0.8.44/33f6f97b825a0495f24606999865a1aee5076417870699500ea54ee3ce40ac1e.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/33f6f97b825a0495f24606999865a1aee5076417870699500ea54ee3ce40ac1e.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/3524d0a008a9cff9804a055d9c3d3f9c34eab27dabcff76701af9fdeaa8ec43a.json b/graphify-out/cache/ast/v0.8.44/3524d0a008a9cff9804a055d9c3d3f9c34eab27dabcff76701af9fdeaa8ec43a.json new file mode 100644 index 0000000..7ad01d3 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/3524d0a008a9cff9804a055d9c3d3f9c34eab27dabcff76701af9fdeaa8ec43a.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_entity_movement_rs", "label": "entity_movement.rs", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L1"}, {"id": "tests_entity_movement_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L4"}, {"id": "tests_entity_movement_player_falls_and_lands", "label": "player_falls_and_lands()", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L13"}, {"id": "tests_entity_movement_player_blocked_by_stone_wall", "label": "player_blocked_by_stone_wall()", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L30"}, {"id": "tests_entity_movement_player_can_move_right", "label": "player_can_move_right()", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L43"}, {"id": "tests_entity_movement_player_survives_fall", "label": "player_survives_fall()", "file_type": "code", "source_file": "tests/entity_movement.rs", "source_location": "L55"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "tests_entity_movement_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_entity_movement_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "tests_entity_movement_player_falls_and_lands", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L13", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "tests_entity_movement_player_blocked_by_stone_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L30", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "tests_entity_movement_player_can_move_right", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L43", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_movement_rs", "target": "tests_entity_movement_player_survives_fall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L55", "weight": 1.0}, {"source": "tests_entity_movement_player_blocked_by_stone_wall", "target": "tests_entity_movement_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L31", "weight": 1.0}, {"source": "tests_entity_movement_player_can_move_right", "target": "tests_entity_movement_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L44", "weight": 1.0}, {"source": "tests_entity_movement_player_survives_fall", "target": "tests_entity_movement_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_movement.rs", "source_location": "L56", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_entity_movement_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L6"}, {"caller_nid": "tests_entity_movement_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L7"}, {"caller_nid": "tests_entity_movement_setup_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L8"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L15"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L16"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L17"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L18"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L19"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L23"}, {"caller_nid": "tests_entity_movement_player_falls_and_lands", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L24"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L32"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L33"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L35"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L36"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L37"}, {"caller_nid": "tests_entity_movement_player_blocked_by_stone_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L38"}, {"caller_nid": "tests_entity_movement_player_can_move_right", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L45"}, {"caller_nid": "tests_entity_movement_player_can_move_right", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L46"}, {"caller_nid": "tests_entity_movement_player_can_move_right", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L48"}, {"caller_nid": "tests_entity_movement_player_can_move_right", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L49"}, {"caller_nid": "tests_entity_movement_player_can_move_right", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L50"}, {"caller_nid": "tests_entity_movement_player_survives_fall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L57"}, {"caller_nid": "tests_entity_movement_player_survives_fall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_movement.rs", "source_location": "L58"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/36112d79800455d9de55dcf66bf6b44f512673c1ece8031e0f9bc51ba522bc98.json b/graphify-out/cache/ast/v0.8.44/36112d79800455d9de55dcf66bf6b44f512673c1ece8031e0f9bc51ba522bc98.json new file mode 100644 index 0000000..9b3aa70 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/36112d79800455d9de55dcf66bf6b44f512673c1ece8031e0f9bc51ba522bc98.json @@ -0,0 +1 @@ +{"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": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/3bb250cfbe2035e04cef321f430809b6a65211d0558e3a422b553cc779fd05cd.json b/graphify-out/cache/ast/v0.8.44/3bb250cfbe2035e04cef321f430809b6a65211d0558e3a422b553cc779fd05cd.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/3bb250cfbe2035e04cef321f430809b6a65211d0558e3a422b553cc779fd05cd.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/3e9a58069b81f3c8343b26641d6f8de2c3c15b3a005d072e07251d62e35f0a8e.json b/graphify-out/cache/ast/v0.8.44/3e9a58069b81f3c8343b26641d6f8de2c3c15b3a005d072e07251d62e35f0a8e.json new file mode 100644 index 0000000..daf17e8 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/3e9a58069b81f3c8343b26641d6f8de2c3c15b3a005d072e07251d62e35f0a8e.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_world_cell_rs", "label": "cell.rs", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L1"}, {"id": "world_cell_materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L5"}, {"id": "world_cell_materialid_display_char", "label": ".display_char()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L23"}, {"id": "world_cell_cell", "label": "Cell", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L44"}, {"id": "world_cell_cell_empty", "label": ".empty()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L54"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L54"}, {"id": "world_cell_cell_new", "label": ".new()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L65"}, {"id": "world_cell_cell_is_empty", "label": ".is_empty()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L85"}, {"id": "world_cell_cell_is_solid", "label": ".is_solid()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L89"}, {"id": "world_cell_cell_is_liquid", "label": ".is_liquid()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L94"}, {"id": "world_cell_cell_is_gas", "label": ".is_gas()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L99"}, {"id": "world_cell_cell_is_static", "label": ".is_static()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L104"}, {"id": "world_cell_cell_density", "label": ".density()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L109"}, {"id": "world_cell_cell_display_char", "label": ".display_char()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L114"}, {"id": "world_cell_rand_u8", "label": "rand_u8()", "file_type": "code", "source_file": "src/world/cell.rs", "source_location": "L121"}], "edges": [{"source": "home_emil_desktop_verbatim_src_world_cell_rs", "target": "materialregistry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_cell_rs", "target": "world_cell_materialid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L5", "weight": 1.0}, {"source": "world_cell_materialid", "target": "world_cell_materialid_display_char", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L23", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_world_cell_rs", "target": "world_cell_cell", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L44", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L45", "weight": 1.0, "context": "field"}, {"source": "world_cell_cell", "target": "world_cell_cell_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L54", "weight": 1.0}, {"source": "world_cell_cell_empty", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L54", "weight": 1.0, "context": "return_type"}, {"source": "world_cell_cell", "target": "world_cell_cell_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L65", "weight": 1.0}, {"source": "world_cell_cell_new", "target": "world_cell_materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L65", "weight": 1.0, "context": "parameter_type"}, {"source": "world_cell_cell_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L65", "weight": 1.0, "context": "return_type"}, {"source": "world_cell_cell", "target": "world_cell_cell_is_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L85", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_is_solid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L89", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_is_liquid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L94", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_is_gas", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L99", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_is_static", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L104", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_density", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L109", "weight": 1.0}, {"source": "world_cell_cell", "target": "world_cell_cell_display_char", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L114", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_world_cell_rs", "target": "atomic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L119", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_cell_rs", "target": "world_cell_rand_u8", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L121", "weight": 1.0}, {"source": "world_cell_cell_new", "target": "world_cell_rand_u8", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L79", "weight": 1.0}, {"source": "world_cell_rand_u8", "target": "world_cell_cell_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/cell.rs", "source_location": "L122", "weight": 1.0}], "raw_calls": [{"caller_nid": "world_cell_cell_display_char", "callee": "display_char", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cell.rs", "source_location": "L115"}, {"caller_nid": "world_cell_rand_u8", "callee": "fetch_add", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/cell.rs", "source_location": "L123"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/4860cc9adda85a11b339216077e9ab43e270eea741057ee35e9a98ddd4662c2e.json b/graphify-out/cache/ast/v0.8.44/4860cc9adda85a11b339216077e9ab43e270eea741057ee35e9a98ddd4662c2e.json new file mode 100644 index 0000000..c8e0ace --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/4860cc9adda85a11b339216077e9ab43e270eea741057ee35e9a98ddd4662c2e.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_main_rs", "label": "main.rs", "file_type": "code", "source_file": "src/main.rs", "source_location": "L1"}, {"id": "src_main_cli", "label": "Cli", "file_type": "code", "source_file": "src/main.rs", "source_location": "L16"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/main.rs", "source_location": "L18"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/main.rs", "source_location": "L27"}, {"id": "src_main_gpurenderer", "label": "GpuRenderer", "file_type": "code", "source_file": "src/main.rs", "source_location": "L33"}, {"id": "src_main_verbatim_render_vulkan_vulkanrenderer", "label": "verbatim::render::vulkan::VulkanRenderer", "file_type": "code", "source_file": "src/main.rs", "source_location": "L40"}, {"id": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "label": ".new()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L41"}, {"id": "arc", "label": "Arc", "file_type": "code", "source_file": "src/main.rs", "source_location": "L41"}, {"id": "window", "label": "Window", "file_type": "code", "source_file": "src/main.rs", "source_location": "L41"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/main.rs", "source_location": "L41"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/main.rs", "source_location": "L41"}, {"id": "src_main_verbatim_render_vulkan_vulkanrenderer_render", "label": ".render()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L44"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/main.rs", "source_location": "L44"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/main.rs", "source_location": "L44"}, {"id": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", "label": ".grid_w()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L47"}, {"id": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", "label": ".grid_h()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L48"}, {"id": "src_main_verbatim_render_graphics_graphicsrenderer", "label": "verbatim::render::graphics::GraphicsRenderer", "file_type": "code", "source_file": "src/main.rs", "source_location": "L51"}, {"id": "src_main_verbatim_render_graphics_graphicsrenderer_new", "label": ".new()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L52"}, {"id": "src_main_verbatim_render_graphics_graphicsrenderer_render", "label": ".render()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L55"}, {"id": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", "label": ".grid_w()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L58"}, {"id": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", "label": ".grid_h()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L59"}, {"id": "src_main_main", "label": "main()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L62"}, {"id": "src_main_run_gpu_mode", "label": "run_gpu_mode()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L112"}, {"id": "src_main_run_test_mode", "label": "run_test_mode()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L248"}, {"id": "src_main_run_replay_mode", "label": "run_replay_mode()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L279"}, {"id": "src_main_run_headless", "label": "run_headless()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L308"}, {"id": "src_main_dump_view", "label": "dump_view()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L355"}, {"id": "src_main_player_info", "label": "player_info()", "file_type": "code", "source_file": "src/main.rs", "source_location": "L364"}, {"id": "game", "label": "Game", "file_type": "code", "source_file": "src/main.rs", "source_location": "L364"}], "edges": [{"source": "home_emil_desktop_verbatim_src_main_rs", "target": "parser", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "game", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "terminalrenderer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "windowinput", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "ai", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "write", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "arc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "event", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "event_loop", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "window", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_cli", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L16", "weight": 1.0}, {"source": "src_main_cli", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L18", "weight": 1.0, "context": "field"}, {"source": "src_main_cli", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L24", "weight": 1.0, "context": "field"}, {"source": "src_main_cli", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L27", "weight": 1.0, "context": "field"}, {"source": "src_main_cli", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L27", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_cli", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L30", "weight": 1.0, "context": "field"}, {"source": "src_main_cli", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L30", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_gpurenderer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L33", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer", "target": "src_main_gpurenderer", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L40", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer", "target": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0, "context": "return_type"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L41", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer", "target": "src_main_verbatim_render_vulkan_vulkanrenderer_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L44", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L44", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L44", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer", "target": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L47", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer", "target": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L48", "weight": 1.0}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer", "target": "src_main_gpurenderer", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L51", "weight": 1.0}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer", "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_new", "target": "arc", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_new", "target": "window", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_new", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0, "context": "return_type"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_new", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L52", "weight": 1.0, "context": "generic_arg"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer", "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L55", "weight": 1.0}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_render", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L55", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer_render", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L55", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L58", "weight": 1.0}, {"source": "src_main_verbatim_render_graphics_graphicsrenderer", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L59", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L62", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_run_gpu_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L112", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_run_test_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L248", "weight": 1.0}, {"source": "src_main_run_test_mode", "target": "src_main_cli", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L248", "weight": 1.0, "context": "parameter_type"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_run_replay_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L279", "weight": 1.0}, {"source": "src_main_run_replay_mode", "target": "src_main_cli", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L279", "weight": 1.0, "context": "parameter_type"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_run_headless", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L308", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_dump_view", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L355", "weight": 1.0}, {"source": "src_main_dump_view", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L355", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_dump_view", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L355", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_dump_view", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L355", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_main_rs", "target": "src_main_player_info", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L364", "weight": 1.0}, {"source": "src_main_player_info", "target": "game", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L364", "weight": 1.0, "context": "parameter_type"}, {"source": "src_main_player_info", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L364", "weight": 1.0, "context": "return_type"}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L42", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L45", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L47", "weight": 1.0}, {"source": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L48", "weight": 1.0}, {"source": "src_main_main", "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L67", "weight": 1.0}, {"source": "src_main_main", "target": "src_main_run_test_mode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L92", "weight": 1.0}, {"source": "src_main_main", "target": "src_main_run_replay_mode", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L95", "weight": 1.0}, {"source": "src_main_main", "target": "src_main_run_headless", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L99", "weight": 1.0}, {"source": "src_main_run_gpu_mode", "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L113", "weight": 1.0}, {"source": "src_main_run_gpu_mode", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L165", "weight": 1.0}, {"source": "src_main_run_gpu_mode", "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L166", "weight": 1.0}, {"source": "src_main_run_gpu_mode", "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L241", "weight": 1.0}, {"source": "src_main_run_headless", "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L309", "weight": 1.0}, {"source": "src_main_run_headless", "target": "src_main_dump_view", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/main.rs", "source_location": "L323", "weight": 1.0}], "raw_calls": [{"caller_nid": "src_main_main", "callee": "as_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L65"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "create_window", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L114"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "with_inner_size", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L115"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "with_title", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L115"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "init_world", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L134"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "set_control_flow", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L144"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "exit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L151"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "on_key_event", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L154"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "exit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L161"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "duration_since", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L169"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "fixed_update", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L175"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "update", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L180"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "exit", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L184"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "check_on_ground", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L189"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "jump", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L190"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "move_left", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L194"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "move_right", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L196"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "stop_horizontal", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L198"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L230"}, {"caller_nid": "src_main_run_gpu_mode", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L237"}, {"caller_nid": "src_main_run_replay_mode", "callee": "play", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L290"}, {"caller_nid": "src_main_run_replay_mode", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L291"}, {"caller_nid": "src_main_run_headless", "callee": "init_world", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L310"}, {"caller_nid": "src_main_run_headless", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L312"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L317"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L318"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L319"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L320"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L322"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L323"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L324"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L325"}, {"caller_nid": "src_main_run_headless", "callee": "fixed_update", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L330"}, {"caller_nid": "src_main_run_headless", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L333"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L337"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L338"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L339"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L340"}, {"caller_nid": "src_main_run_headless", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L346"}, {"caller_nid": "src_main_run_headless", "callee": "write_all", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L351"}, {"caller_nid": "src_main_run_headless", "callee": "as_bytes", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L351"}, {"caller_nid": "src_main_dump_view", "callee": "join", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L356"}, {"caller_nid": "src_main_dump_view", "callee": "lines", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L356"}, {"caller_nid": "src_main_player_info", "callee": "entity", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L365"}, {"caller_nid": "src_main_player_info", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L366"}, {"caller_nid": "src_main_player_info", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/main.rs", "source_location": "L367"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/5070d8053c5bdb1e52d1c877a900f00aef501d6ca02f287b02db551c28a17937.json b/graphify-out/cache/ast/v0.8.44/5070d8053c5bdb1e52d1c877a900f00aef501d6ca02f287b02db551c28a17937.json new file mode 100644 index 0000000..2eef99c --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/5070d8053c5bdb1e52d1c877a900f00aef501d6ca02f287b02db551c28a17937.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_player_controls_rs", "label": "player_controls.rs", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L1"}, {"id": "tests_player_controls_setup", "label": "setup()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L4"}, {"id": "tests_player_controls_move_left_changes_x_position", "label": "move_left_changes_x_position()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L13"}, {"id": "tests_player_controls_move_right_changes_x_position", "label": "move_right_changes_x_position()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L25"}, {"id": "tests_player_controls_move_left_then_right_cancels", "label": "move_left_then_right_cancels()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L37"}, {"id": "tests_player_controls_jump_goes_up_then_falls_back", "label": "jump_goes_up_then_falls_back()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L51"}, {"id": "tests_player_controls_jump_while_airborne_does_nothing", "label": "jump_while_airborne_does_nothing()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L66"}, {"id": "tests_player_controls_rapid_move_right_accumulates_velocity", "label": "rapid_move_right_accumulates_velocity()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L84"}, {"id": "tests_player_controls_wait_does_not_move", "label": "wait_does_not_move()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L107"}, {"id": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "label": "continuous_movement_does_not_fall_through_floor()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L120"}, {"id": "tests_player_controls_player_on_ground_check", "label": "player_on_ground_check()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L135"}, {"id": "tests_player_controls_player_not_on_ground_while_jumping", "label": "player_not_on_ground_while_jumping()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L142"}, {"id": "tests_player_controls_player_health_stays_full_without_damage", "label": "player_health_stays_full_without_damage()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L152"}, {"id": "tests_player_controls_player_survives_long_idle", "label": "player_survives_long_idle()", "file_type": "code", "source_file": "tests/player_controls.rs", "source_location": "L160"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_player_controls_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_move_left_changes_x_position", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L13", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_move_right_changes_x_position", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L25", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_move_left_then_right_cancels", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L37", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_jump_goes_up_then_falls_back", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L51", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_jump_while_airborne_does_nothing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L66", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_rapid_move_right_accumulates_velocity", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L84", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_wait_does_not_move", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L107", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L120", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_player_on_ground_check", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L135", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_player_not_on_ground_while_jumping", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L142", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_player_health_stays_full_without_damage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L152", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_player_controls_rs", "target": "tests_player_controls_player_survives_long_idle", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L160", "weight": 1.0}, {"source": "tests_player_controls_move_left_changes_x_position", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L14", "weight": 1.0}, {"source": "tests_player_controls_move_right_changes_x_position", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L26", "weight": 1.0}, {"source": "tests_player_controls_move_left_then_right_cancels", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L38", "weight": 1.0}, {"source": "tests_player_controls_jump_goes_up_then_falls_back", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L52", "weight": 1.0}, {"source": "tests_player_controls_jump_while_airborne_does_nothing", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L67", "weight": 1.0}, {"source": "tests_player_controls_rapid_move_right_accumulates_velocity", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L85", "weight": 1.0}, {"source": "tests_player_controls_wait_does_not_move", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L108", "weight": 1.0}, {"source": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L121", "weight": 1.0}, {"source": "tests_player_controls_player_on_ground_check", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L136", "weight": 1.0}, {"source": "tests_player_controls_player_not_on_ground_while_jumping", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L143", "weight": 1.0}, {"source": "tests_player_controls_player_health_stays_full_without_damage", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L153", "weight": 1.0}, {"source": "tests_player_controls_player_survives_long_idle", "target": "tests_player_controls_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/player_controls.rs", "source_location": "L161", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_player_controls_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L6"}, {"caller_nid": "tests_player_controls_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L7"}, {"caller_nid": "tests_player_controls_setup", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L8"}, {"caller_nid": "tests_player_controls_move_left_changes_x_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L15"}, {"caller_nid": "tests_player_controls_move_left_changes_x_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L16"}, {"caller_nid": "tests_player_controls_move_left_changes_x_position", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L18"}, {"caller_nid": "tests_player_controls_move_left_changes_x_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L19"}, {"caller_nid": "tests_player_controls_move_left_changes_x_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L20"}, {"caller_nid": "tests_player_controls_move_right_changes_x_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L27"}, {"caller_nid": "tests_player_controls_move_right_changes_x_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L28"}, {"caller_nid": "tests_player_controls_move_right_changes_x_position", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L30"}, {"caller_nid": "tests_player_controls_move_right_changes_x_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L31"}, {"caller_nid": "tests_player_controls_move_right_changes_x_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L32"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L39"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L40"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L42"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L43"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L44"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L45"}, {"caller_nid": "tests_player_controls_move_left_then_right_cancels", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L46"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L53"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L54"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L56"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L57"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L58"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L60"}, {"caller_nid": "tests_player_controls_jump_goes_up_then_falls_back", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L61"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L68"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L69"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L70"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L72"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L73"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L74"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L75"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L76"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L77"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L78"}, {"caller_nid": "tests_player_controls_jump_while_airborne_does_nothing", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L79"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L86"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L87"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L90"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L91"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L93"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L96"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L97"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L98"}, {"caller_nid": "tests_player_controls_rapid_move_right_accumulates_velocity", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L99"}, {"caller_nid": "tests_player_controls_wait_does_not_move", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L109"}, {"caller_nid": "tests_player_controls_wait_does_not_move", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L110"}, {"caller_nid": "tests_player_controls_wait_does_not_move", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L112"}, {"caller_nid": "tests_player_controls_wait_does_not_move", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L113"}, {"caller_nid": "tests_player_controls_wait_does_not_move", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L114"}, {"caller_nid": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L122"}, {"caller_nid": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L123"}, {"caller_nid": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L126"}, {"caller_nid": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L127"}, {"caller_nid": "tests_player_controls_continuous_movement_does_not_fall_through_floor", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L129"}, {"caller_nid": "tests_player_controls_player_on_ground_check", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L137"}, {"caller_nid": "tests_player_controls_player_not_on_ground_while_jumping", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L144"}, {"caller_nid": "tests_player_controls_player_not_on_ground_while_jumping", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L146"}, {"caller_nid": "tests_player_controls_player_not_on_ground_while_jumping", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L147"}, {"caller_nid": "tests_player_controls_player_health_stays_full_without_damage", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L154"}, {"caller_nid": "tests_player_controls_player_health_stays_full_without_damage", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L155"}, {"caller_nid": "tests_player_controls_player_survives_long_idle", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L162"}, {"caller_nid": "tests_player_controls_player_survives_long_idle", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/player_controls.rs", "source_location": "L163"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/544aa8832e4ccd323e2d9e6dc945bf3c6d2d2f27336cd0f887d5a4209a9eaba2.json b/graphify-out/cache/ast/v0.8.44/544aa8832e4ccd323e2d9e6dc945bf3c6d2d2f27336cd0f887d5a4209a9eaba2.json new file mode 100644 index 0000000..44dee70 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/544aa8832e4ccd323e2d9e6dc945bf3c6d2d2f27336cd0f887d5a4209a9eaba2.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "label": "physics_interactions.rs", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L1"}, {"id": "tests_physics_interactions_setup", "label": "setup()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L4"}, {"id": "tests_physics_interactions_lava_flows_down_on_stone", "label": "lava_flows_down_on_stone()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L12"}, {"id": "tests_physics_interactions_lava_cools_to_stone_eventually", "label": "lava_cools_to_stone_eventually()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L23"}, {"id": "tests_physics_interactions_fire_spreads_through_wood_line", "label": "fire_spreads_through_wood_line()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L37"}, {"id": "tests_physics_interactions_acid_does_not_dissolve_empty", "label": "acid_does_not_dissolve_empty()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L50"}, {"id": "tests_physics_interactions_acid_dissolves_grass", "label": "acid_dissolves_grass()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L64"}, {"id": "tests_physics_interactions_acid_dissolves_dirt", "label": "acid_dissolves_dirt()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L75"}, {"id": "tests_physics_interactions_water_extinguishes_fire_indirectly", "label": "water_extinguishes_fire_indirectly()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L86"}, {"id": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "label": "lava_and_water_produce_both_steam_and_stone()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L96"}, {"id": "tests_physics_interactions_sand_falls_through_water", "label": "sand_falls_through_water()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L108"}, {"id": "tests_physics_interactions_fire_does_not_ignite_stone", "label": "fire_does_not_ignite_stone()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L119"}, {"id": "tests_physics_interactions_fire_does_not_ignite_water", "label": "fire_does_not_ignite_water()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L128"}, {"id": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "label": "water_does_not_flow_through_dirt_wall()", "file_type": "code", "source_file": "tests/physics_interactions.rs", "source_location": "L140"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_interactions_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_lava_flows_down_on_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_lava_cools_to_stone_eventually", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L23", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_fire_spreads_through_wood_line", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L37", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_acid_does_not_dissolve_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L50", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_acid_dissolves_grass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L64", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_acid_dissolves_dirt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L75", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_water_extinguishes_fire_indirectly", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L86", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L96", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_sand_falls_through_water", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L108", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_fire_does_not_ignite_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L119", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_fire_does_not_ignite_water", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L128", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_interactions_rs", "target": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L140", "weight": 1.0}, {"source": "tests_physics_interactions_lava_flows_down_on_stone", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_interactions_lava_cools_to_stone_eventually", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L24", "weight": 1.0}, {"source": "tests_physics_interactions_fire_spreads_through_wood_line", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L38", "weight": 1.0}, {"source": "tests_physics_interactions_acid_does_not_dissolve_empty", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L51", "weight": 1.0}, {"source": "tests_physics_interactions_acid_dissolves_grass", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L65", "weight": 1.0}, {"source": "tests_physics_interactions_acid_dissolves_dirt", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L76", "weight": 1.0}, {"source": "tests_physics_interactions_water_extinguishes_fire_indirectly", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L87", "weight": 1.0}, {"source": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L97", "weight": 1.0}, {"source": "tests_physics_interactions_sand_falls_through_water", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L109", "weight": 1.0}, {"source": "tests_physics_interactions_fire_does_not_ignite_stone", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L120", "weight": 1.0}, {"source": "tests_physics_interactions_fire_does_not_ignite_water", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L129", "weight": 1.0}, {"source": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "target": "tests_physics_interactions_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_interactions.rs", "source_location": "L141", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_interactions_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_interactions_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_interactions_lava_flows_down_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_interactions_lava_flows_down_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_interactions_lava_flows_down_on_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_interactions_lava_flows_down_on_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L17"}, {"caller_nid": "tests_physics_interactions_lava_flows_down_on_stone", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L18"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L25"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L26"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L27"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L28"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L29"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L30"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L31"}, {"caller_nid": "tests_physics_interactions_lava_cools_to_stone_eventually", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L32"}, {"caller_nid": "tests_physics_interactions_fire_spreads_through_wood_line", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L39"}, {"caller_nid": "tests_physics_interactions_fire_spreads_through_wood_line", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L41"}, {"caller_nid": "tests_physics_interactions_fire_spreads_through_wood_line", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L43"}, {"caller_nid": "tests_physics_interactions_fire_spreads_through_wood_line", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L44"}, {"caller_nid": "tests_physics_interactions_fire_spreads_through_wood_line", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L45"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L52"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L53"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L54"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L55"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L56"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L57"}, {"caller_nid": "tests_physics_interactions_acid_does_not_dissolve_empty", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L58"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L66"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L67"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L68"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L69"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_grass", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L70"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_dirt", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L77"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_dirt", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L78"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_dirt", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L79"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_dirt", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L80"}, {"caller_nid": "tests_physics_interactions_acid_dissolves_dirt", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L81"}, {"caller_nid": "tests_physics_interactions_water_extinguishes_fire_indirectly", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L88"}, {"caller_nid": "tests_physics_interactions_water_extinguishes_fire_indirectly", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L89"}, {"caller_nid": "tests_physics_interactions_water_extinguishes_fire_indirectly", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L90"}, {"caller_nid": "tests_physics_interactions_water_extinguishes_fire_indirectly", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L91"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L98"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L99"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L100"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L101"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L102"}, {"caller_nid": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L103"}, {"caller_nid": "tests_physics_interactions_sand_falls_through_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L110"}, {"caller_nid": "tests_physics_interactions_sand_falls_through_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L111"}, {"caller_nid": "tests_physics_interactions_sand_falls_through_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L112"}, {"caller_nid": "tests_physics_interactions_sand_falls_through_water", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L113"}, {"caller_nid": "tests_physics_interactions_sand_falls_through_water", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L114"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L121"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L122"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L123"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L130"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L131"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L132"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_water", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L133"}, {"caller_nid": "tests_physics_interactions_fire_does_not_ignite_water", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L134"}, {"caller_nid": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L142"}, {"caller_nid": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L143"}, {"caller_nid": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L144"}, {"caller_nid": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L145"}, {"caller_nid": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs", "source_location": "L146"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/5aa277f50d8b55c0a61281f765565496743221d8610897933ab9e6ba74ce1b6a.json b/graphify-out/cache/ast/v0.8.44/5aa277f50d8b55c0a61281f765565496743221d8610897933ab9e6ba74ce1b6a.json new file mode 100644 index 0000000..913e24c --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/5aa277f50d8b55c0a61281f765565496743221d8610897933ab9e6ba74ce1b6a.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_physics_collision_rs", "label": "collision.rs", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L1"}, {"id": "physics_collision_collisionresult", "label": "CollisionResult", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L5"}, {"id": "physics_collision_collisionresult_none", "label": ".none()", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L15"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L15"}, {"id": "physics_collision_resolve_grid_collision", "label": "resolve_grid_collision()", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L27"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L27"}, {"id": "subbody", "label": "SubBody", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L27"}, {"id": "physics_collision_apply_liquid_drag", "label": "apply_liquid_drag()", "file_type": "code", "source_file": "src/physics/collision.rs", "source_location": "L142"}], "edges": [{"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "subbody", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "physics_collision_collisionresult", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L5", "weight": 1.0}, {"source": "physics_collision_collisionresult", "target": "physics_collision_collisionresult_none", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L15", "weight": 1.0}, {"source": "physics_collision_collisionresult_none", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L15", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "physics_collision_resolve_grid_collision", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L27", "weight": 1.0}, {"source": "physics_collision_resolve_grid_collision", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L27", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_collision_resolve_grid_collision", "target": "subbody", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L27", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_collision_resolve_grid_collision", "target": "physics_collision_collisionresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L27", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_physics_collision_rs", "target": "physics_collision_apply_liquid_drag", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L142", "weight": 1.0}, {"source": "physics_collision_apply_liquid_drag", "target": "subbody", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L142", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_collision_resolve_grid_collision", "target": "physics_collision_collisionresult_none", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L28", "weight": 1.0}, {"source": "physics_collision_resolve_grid_collision", "target": "physics_collision_apply_liquid_drag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/physics/collision.rs", "source_location": "L58", "weight": 1.0}], "raw_calls": [{"caller_nid": "physics_collision_resolve_grid_collision", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L31"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L32"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L33"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L34"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L41"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L49"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L51"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "density", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L58"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L67"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vy", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L95"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "set_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L97"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L97"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L99"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "set_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L101"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vy", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L101"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "sqrt", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L113"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vy", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L122"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "set_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L123"}, {"caller_nid": "physics_collision_resolve_grid_collision", "callee": "vx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L123"}, {"caller_nid": "physics_collision_apply_liquid_drag", "callee": "vx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L145"}, {"caller_nid": "physics_collision_apply_liquid_drag", "callee": "vy", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L146"}, {"caller_nid": "physics_collision_apply_liquid_drag", "callee": "set_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/collision.rs", "source_location": "L147"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/5b6237c87418b65102d3ccf7b48b95bbf17023ebccc95a1dd49949874637b1ef.json b/graphify-out/cache/ast/v0.8.44/5b6237c87418b65102d3ccf7b48b95bbf17023ebccc95a1dd49949874637b1ef.json new file mode 100644 index 0000000..62fdc84 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/5b6237c87418b65102d3ccf7b48b95bbf17023ebccc95a1dd49949874637b1ef.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_entity_damage_rs", "label": "entity_damage.rs", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L1"}, {"id": "tests_entity_damage_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L4"}, {"id": "tests_entity_damage_entity_takes_lava_damage", "label": "entity_takes_lava_damage()", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L12"}, {"id": "tests_entity_damage_entity_dies_becomes_corpse", "label": "entity_dies_becomes_corpse()", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L26"}, {"id": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "label": "entity_on_fire_takes_damage_over_time()", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L42"}, {"id": "tests_entity_damage_entity_blocked_by_stone", "label": "entity_blocked_by_stone()", "file_type": "code", "source_file": "tests/entity_damage.rs", "source_location": "L63"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "tests_entity_damage_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_entity_damage_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "tests_entity_damage_entity_takes_lava_damage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "tests_entity_damage_entity_dies_becomes_corpse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L26", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L42", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_entity_damage_rs", "target": "tests_entity_damage_entity_blocked_by_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L63", "weight": 1.0}, {"source": "tests_entity_damage_entity_takes_lava_damage", "target": "tests_entity_damage_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_entity_damage_entity_dies_becomes_corpse", "target": "tests_entity_damage_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L27", "weight": 1.0}, {"source": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "target": "tests_entity_damage_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L43", "weight": 1.0}, {"source": "tests_entity_damage_entity_blocked_by_stone", "target": "tests_entity_damage_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/entity_damage.rs", "source_location": "L64", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_entity_damage_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L6"}, {"caller_nid": "tests_entity_damage_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L7"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L14"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L15"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L16"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L17"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L18"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L19"}, {"caller_nid": "tests_entity_damage_entity_takes_lava_damage", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L19"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L28"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L29"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L30"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L31"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L32"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L33"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L34"}, {"caller_nid": "tests_entity_damage_entity_dies_becomes_corpse", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L34"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L44"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L45"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L46"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L47"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L48"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L49"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L49"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L53"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L54"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L55"}, {"caller_nid": "tests_entity_damage_entity_on_fire_takes_damage_over_time", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L55"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L65"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L66"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L67"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L68"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L69"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L70"}, {"caller_nid": "tests_entity_damage_entity_blocked_by_stone", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/entity_damage.rs", "source_location": "L70"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/5edac12b81a4be7fbe495d1fd694358f0f2c0fad5a09276a9cb99a014e6f4d84.json b/graphify-out/cache/ast/v0.8.44/5edac12b81a4be7fbe495d1fd694358f0f2c0fad5a09276a9cb99a014e6f4d84.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/5edac12b81a4be7fbe495d1fd694358f0f2c0fad5a09276a9cb99a014e6f4d84.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/6ea5cbecf29a17fc28e84d2d55250632972b47963eddb90e43cb7a488e64e07b.json b/graphify-out/cache/ast/v0.8.44/6ea5cbecf29a17fc28e84d2d55250632972b47963eddb90e43cb7a488e64e07b.json new file mode 100644 index 0000000..0a1500a --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/6ea5cbecf29a17fc28e84d2d55250632972b47963eddb90e43cb7a488e64e07b.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_input_rs", "label": "input.rs", "file_type": "code", "source_file": "src/input.rs", "source_location": "L1"}, {"id": "src_input_action", "label": "Action", "file_type": "code", "source_file": "src/input.rs", "source_location": "L7"}, {"id": "src_input_materialbrush", "label": "MaterialBrush", "file_type": "code", "source_file": "src/input.rs", "source_location": "L20"}, {"id": "src_input_heldkey", "label": "HeldKey", "file_type": "code", "source_file": "src/input.rs", "source_location": "L35"}, {"id": "src_input_heldstate", "label": "HeldState", "file_type": "code", "source_file": "src/input.rs", "source_location": "L44"}, {"id": "instant", "label": "Instant", "file_type": "code", "source_file": "src/input.rs", "source_location": "L45"}, {"id": "src_input_inputhandler", "label": "InputHandler", "file_type": "code", "source_file": "src/input.rs", "source_location": "L51"}, {"id": "hashmap", "label": "HashMap", "file_type": "code", "source_file": "src/input.rs", "source_location": "L53"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/input.rs", "source_location": "L55"}, {"id": "receiver", "label": "Receiver", "file_type": "code", "source_file": "src/input.rs", "source_location": "L55"}, {"id": "event", "label": "Event", "file_type": "code", "source_file": "src/input.rs", "source_location": "L55"}, {"id": "joinhandle", "label": "JoinHandle", "file_type": "code", "source_file": "src/input.rs", "source_location": "L56"}, {"id": "src_input_inputhandler_new", "label": ".new()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L60"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/input.rs", "source_location": "L60"}, {"id": "src_input_inputhandler_start", "label": ".start()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L70"}, {"id": "src_input_inputhandler_stop", "label": ".stop()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L87"}, {"id": "src_input_inputhandler_key_to_held", "label": ".key_to_held()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L93"}, {"id": "keycode", "label": "KeyCode", "file_type": "code", "source_file": "src/input.rs", "source_location": "L93"}, {"id": "src_input_inputhandler_release", "label": ".release()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L105"}, {"id": "src_input_inputhandler_is_held", "label": ".is_held()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L109"}, {"id": "src_input_inputhandler_update", "label": ".update()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L113"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/input.rs", "source_location": "L113"}, {"id": "src_input_inputhandler_held_actions", "label": ".held_actions()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L187"}, {"id": "src_input_inputhandler_jump_requested", "label": ".jump_requested()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L220"}, {"id": "src_input_materialbrush_to_material", "label": ".to_material()", "file_type": "code", "source_file": "src/input.rs", "source_location": "L226"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/input.rs", "source_location": "L226"}], "edges": [{"source": "home_emil_desktop_verbatim_src_input_rs", "target": "event", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "mpsc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "thread", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "src_input_action", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L7", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "src_input_materialbrush", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L20", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "src_input_heldkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L35", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "src_input_heldstate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L44", "weight": 1.0}, {"source": "src_input_heldstate", "target": "instant", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L45", "weight": 1.0, "context": "field"}, {"source": "home_emil_desktop_verbatim_src_input_rs", "target": "src_input_inputhandler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L51", "weight": 1.0}, {"source": "src_input_inputhandler", "target": "src_input_materialbrush", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L52", "weight": 1.0, "context": "field"}, {"source": "src_input_inputhandler", "target": "hashmap", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L53", "weight": 1.0, "context": "field"}, {"source": "src_input_inputhandler", "target": "src_input_heldkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L53", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "src_input_heldstate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L53", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L55", "weight": 1.0, "context": "field"}, {"source": "src_input_inputhandler", "target": "receiver", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L55", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "event", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L55", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L56", "weight": 1.0, "context": "field"}, {"source": "src_input_inputhandler", "target": "joinhandle", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L56", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L60", "weight": 1.0}, {"source": "src_input_inputhandler_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L60", "weight": 1.0, "context": "return_type"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_start", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L70", "weight": 1.0}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_stop", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L87", "weight": 1.0}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_key_to_held", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L93", "weight": 1.0}, {"source": "src_input_inputhandler_key_to_held", "target": "keycode", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L93", "weight": 1.0, "context": "parameter_type"}, {"source": "src_input_inputhandler_key_to_held", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L93", "weight": 1.0, "context": "return_type"}, {"source": "src_input_inputhandler_key_to_held", "target": "src_input_heldkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_release", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L105", "weight": 1.0}, {"source": "src_input_inputhandler_release", "target": "src_input_heldkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L105", "weight": 1.0, "context": "parameter_type"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_is_held", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L109", "weight": 1.0}, {"source": "src_input_inputhandler_is_held", "target": "src_input_heldkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L109", "weight": 1.0, "context": "parameter_type"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_update", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L113", "weight": 1.0}, {"source": "src_input_inputhandler_update", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L113", "weight": 1.0, "context": "return_type"}, {"source": "src_input_inputhandler_update", "target": "src_input_action", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L113", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_held_actions", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L187", "weight": 1.0}, {"source": "src_input_inputhandler_held_actions", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L187", "weight": 1.0, "context": "return_type"}, {"source": "src_input_inputhandler_held_actions", "target": "src_input_action", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L187", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler", "target": "src_input_inputhandler_jump_requested", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L220", "weight": 1.0}, {"source": "src_input_materialbrush", "target": "src_input_materialbrush_to_material", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L226", "weight": 1.0}, {"source": "src_input_materialbrush_to_material", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L226", "weight": 1.0, "context": "return_type"}, {"source": "src_input_materialbrush_to_material", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L226", "weight": 1.0, "context": "generic_arg"}, {"source": "src_input_inputhandler_update", "target": "src_input_inputhandler_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L114", "weight": 1.0}, {"source": "src_input_inputhandler_update", "target": "src_input_inputhandler_key_to_held", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L159", "weight": 1.0}, {"source": "src_input_inputhandler_update", "target": "src_input_inputhandler_release", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L167", "weight": 1.0}, {"source": "src_input_inputhandler_held_actions", "target": "src_input_inputhandler_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L188", "weight": 1.0}, {"source": "src_input_inputhandler_held_actions", "target": "src_input_inputhandler_is_held", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/input.rs", "source_location": "L190", "weight": 1.0}], "raw_calls": [{"caller_nid": "src_input_inputhandler_start", "callee": "is_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L77"}, {"caller_nid": "src_input_inputhandler_stop", "callee": "clear", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L90"}, {"caller_nid": "src_input_inputhandler_is_held", "callee": "contains_key", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L110"}, {"caller_nid": "src_input_inputhandler_update", "callee": "try_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L119"}, {"caller_nid": "src_input_inputhandler_update", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L161"}, {"caller_nid": "src_input_inputhandler_update", "callee": "values_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L168"}, {"caller_nid": "src_input_inputhandler_update", "callee": "retain", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L176"}, {"caller_nid": "src_input_inputhandler_update", "callee": "duration_since", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/input.rs", "source_location": "L180"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/725a669732f71f9cde36a8a52f1011ab6f870e44f1edce16d17899776dd6f737.json b/graphify-out/cache/ast/v0.8.44/725a669732f71f9cde36a8a52f1011ab6f870e44f1edce16d17899776dd6f737.json new file mode 100644 index 0000000..27c6f14 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/725a669732f71f9cde36a8a52f1011ab6f870e44f1edce16d17899776dd6f737.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_materials_rs", "label": "physics_materials.rs", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L1"}, {"id": "tests_physics_materials_setup", "label": "setup()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L4"}, {"id": "tests_physics_materials_fire_dies_over_time", "label": "fire_dies_over_time()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L12"}, {"id": "tests_physics_materials_fire_ignites_wood", "label": "fire_ignites_wood()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L21"}, {"id": "tests_physics_materials_fire_ignites_grass", "label": "fire_ignites_grass()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L31"}, {"id": "tests_physics_materials_fire_ignites_flesh", "label": "fire_ignites_flesh()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L42"}, {"id": "tests_physics_materials_smoke_rises", "label": "smoke_rises()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L52"}, {"id": "tests_physics_materials_smoke_dissipates_over_time", "label": "smoke_dissipates_over_time()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L67"}, {"id": "tests_physics_materials_steam_condenses_to_water", "label": "steam_condenses_to_water()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L76"}, {"id": "tests_physics_materials_steam_rises", "label": "steam_rises()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L93"}, {"id": "tests_physics_materials_grass_is_solid", "label": "grass_is_solid()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L104"}, {"id": "tests_physics_materials_dirt_is_solid", "label": "dirt_is_solid()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L112"}, {"id": "tests_physics_materials_stone_is_static", "label": "stone_is_static()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L120"}, {"id": "tests_physics_materials_wood_is_static", "label": "wood_is_static()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L128"}, {"id": "tests_physics_materials_bone_is_static", "label": "bone_is_static()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L136"}, {"id": "tests_physics_materials_lava_initial_temp_is_high", "label": "lava_initial_temp_is_high()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L144"}, {"id": "tests_physics_materials_water_initial_temp_is_room", "label": "water_initial_temp_is_room()", "file_type": "code", "source_file": "tests/physics_materials.rs", "source_location": "L152"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_materials_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_fire_dies_over_time", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_fire_ignites_wood", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L21", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_fire_ignites_grass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L31", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_fire_ignites_flesh", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L42", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_smoke_rises", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L52", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_smoke_dissipates_over_time", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L67", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_steam_condenses_to_water", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L76", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_steam_rises", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L93", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_grass_is_solid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L104", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_dirt_is_solid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L112", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_stone_is_static", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L120", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_wood_is_static", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L128", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_bone_is_static", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L136", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_lava_initial_temp_is_high", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L144", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_materials_rs", "target": "tests_physics_materials_water_initial_temp_is_room", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L152", "weight": 1.0}, {"source": "tests_physics_materials_fire_dies_over_time", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_materials_fire_ignites_wood", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L22", "weight": 1.0}, {"source": "tests_physics_materials_fire_ignites_grass", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L32", "weight": 1.0}, {"source": "tests_physics_materials_fire_ignites_flesh", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L43", "weight": 1.0}, {"source": "tests_physics_materials_smoke_rises", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L53", "weight": 1.0}, {"source": "tests_physics_materials_smoke_dissipates_over_time", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L68", "weight": 1.0}, {"source": "tests_physics_materials_steam_condenses_to_water", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L77", "weight": 1.0}, {"source": "tests_physics_materials_steam_rises", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L94", "weight": 1.0}, {"source": "tests_physics_materials_grass_is_solid", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L105", "weight": 1.0}, {"source": "tests_physics_materials_dirt_is_solid", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L113", "weight": 1.0}, {"source": "tests_physics_materials_stone_is_static", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L121", "weight": 1.0}, {"source": "tests_physics_materials_wood_is_static", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L129", "weight": 1.0}, {"source": "tests_physics_materials_bone_is_static", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L137", "weight": 1.0}, {"source": "tests_physics_materials_lava_initial_temp_is_high", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L145", "weight": 1.0}, {"source": "tests_physics_materials_water_initial_temp_is_room", "target": "tests_physics_materials_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_materials.rs", "source_location": "L153", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_materials_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_materials_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_materials_fire_dies_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_materials_fire_dies_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_materials_fire_dies_over_time", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_materials_fire_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L23"}, {"caller_nid": "tests_physics_materials_fire_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L24"}, {"caller_nid": "tests_physics_materials_fire_ignites_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L25"}, {"caller_nid": "tests_physics_materials_fire_ignites_wood", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L26"}, {"caller_nid": "tests_physics_materials_fire_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L33"}, {"caller_nid": "tests_physics_materials_fire_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L34"}, {"caller_nid": "tests_physics_materials_fire_ignites_grass", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L35"}, {"caller_nid": "tests_physics_materials_fire_ignites_grass", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L36"}, {"caller_nid": "tests_physics_materials_fire_ignites_grass", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L37"}, {"caller_nid": "tests_physics_materials_fire_ignites_flesh", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L44"}, {"caller_nid": "tests_physics_materials_fire_ignites_flesh", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L45"}, {"caller_nid": "tests_physics_materials_fire_ignites_flesh", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L46"}, {"caller_nid": "tests_physics_materials_fire_ignites_flesh", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L47"}, {"caller_nid": "tests_physics_materials_smoke_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L54"}, {"caller_nid": "tests_physics_materials_smoke_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L55"}, {"caller_nid": "tests_physics_materials_smoke_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L58"}, {"caller_nid": "tests_physics_materials_smoke_rises", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L61"}, {"caller_nid": "tests_physics_materials_smoke_rises", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L62"}, {"caller_nid": "tests_physics_materials_smoke_dissipates_over_time", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L69"}, {"caller_nid": "tests_physics_materials_smoke_dissipates_over_time", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L70"}, {"caller_nid": "tests_physics_materials_smoke_dissipates_over_time", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L71"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L78"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L81"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L84"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L85"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L86"}, {"caller_nid": "tests_physics_materials_steam_condenses_to_water", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L88"}, {"caller_nid": "tests_physics_materials_steam_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L95"}, {"caller_nid": "tests_physics_materials_steam_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L96"}, {"caller_nid": "tests_physics_materials_steam_rises", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L97"}, {"caller_nid": "tests_physics_materials_steam_rises", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L98"}, {"caller_nid": "tests_physics_materials_steam_rises", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L99"}, {"caller_nid": "tests_physics_materials_grass_is_solid", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L106"}, {"caller_nid": "tests_physics_materials_grass_is_solid", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L107"}, {"caller_nid": "tests_physics_materials_dirt_is_solid", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L114"}, {"caller_nid": "tests_physics_materials_dirt_is_solid", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L115"}, {"caller_nid": "tests_physics_materials_stone_is_static", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L122"}, {"caller_nid": "tests_physics_materials_stone_is_static", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L123"}, {"caller_nid": "tests_physics_materials_wood_is_static", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L130"}, {"caller_nid": "tests_physics_materials_wood_is_static", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L131"}, {"caller_nid": "tests_physics_materials_bone_is_static", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L138"}, {"caller_nid": "tests_physics_materials_bone_is_static", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L139"}, {"caller_nid": "tests_physics_materials_lava_initial_temp_is_high", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L146"}, {"caller_nid": "tests_physics_materials_lava_initial_temp_is_high", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L147"}, {"caller_nid": "tests_physics_materials_water_initial_temp_is_room", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L154"}, {"caller_nid": "tests_physics_materials_water_initial_temp_is_room", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_materials.rs", "source_location": "L155"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/755f912dd9db0bb7ffabc2a3c29b044359b99720f964a1b5c4123ca2fff35361.json b/graphify-out/cache/ast/v0.8.44/755f912dd9db0bb7ffabc2a3c29b044359b99720f964a1b5c4123ca2fff35361.json new file mode 100644 index 0000000..423eec7 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/755f912dd9db0bb7ffabc2a3c29b044359b99720f964a1b5c4123ca2fff35361.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_physics_verlet_rs", "label": "verlet.rs", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L1"}, {"id": "physics_verlet_subbody", "label": "SubBody", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L4"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L12"}, {"id": "physics_verlet_subbody_new", "label": ".new()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L20"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L20"}, {"id": "physics_verlet_subbody_vx", "label": ".vx()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L38"}, {"id": "physics_verlet_subbody_vy", "label": ".vy()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L43"}, {"id": "physics_verlet_subbody_set_vel", "label": ".set_vel()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L48"}, {"id": "physics_verlet_constraint", "label": "Constraint", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L55"}, {"id": "physics_verlet_constraint_new", "label": ".new()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L63"}, {"id": "physics_verlet_verletsolver", "label": "VerletSolver", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L74"}, {"id": "physics_verlet_verletsolver_new", "label": ".new()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L83"}, {"id": "physics_verlet_verletsolver_integrate", "label": ".integrate()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L93"}, {"id": "physics_verlet_verletsolver_solve_constraints", "label": ".solve_constraints()", "file_type": "code", "source_file": "src/physics/verlet.rs", "source_location": "L116"}], "edges": [{"source": "home_emil_desktop_verbatim_src_physics_verlet_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_physics_verlet_rs", "target": "physics_verlet_subbody", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L4", "weight": 1.0}, {"source": "physics_verlet_subbody", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L12", "weight": 1.0, "context": "field"}, {"source": "physics_verlet_subbody", "target": "physics_verlet_subbody_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L20", "weight": 1.0}, {"source": "physics_verlet_subbody_new", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L20", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_verlet_subbody_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L20", "weight": 1.0, "context": "return_type"}, {"source": "physics_verlet_subbody", "target": "physics_verlet_subbody_vx", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L38", "weight": 1.0}, {"source": "physics_verlet_subbody", "target": "physics_verlet_subbody_vy", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L43", "weight": 1.0}, {"source": "physics_verlet_subbody", "target": "physics_verlet_subbody_set_vel", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L48", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_physics_verlet_rs", "target": "physics_verlet_constraint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L55", "weight": 1.0}, {"source": "physics_verlet_constraint", "target": "physics_verlet_constraint_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L63", "weight": 1.0}, {"source": "physics_verlet_constraint_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L63", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_physics_verlet_rs", "target": "physics_verlet_verletsolver", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L74", "weight": 1.0}, {"source": "physics_verlet_verletsolver", "target": "physics_verlet_verletsolver_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L83", "weight": 1.0}, {"source": "physics_verlet_verletsolver_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L83", "weight": 1.0, "context": "return_type"}, {"source": "physics_verlet_verletsolver", "target": "physics_verlet_verletsolver_integrate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L93", "weight": 1.0}, {"source": "physics_verlet_verletsolver_integrate", "target": "physics_verlet_subbody", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L93", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_verlet_verletsolver", "target": "physics_verlet_verletsolver_solve_constraints", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L116", "weight": 1.0}, {"source": "physics_verlet_verletsolver_solve_constraints", "target": "physics_verlet_subbody", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L116", "weight": 1.0, "context": "parameter_type"}, {"source": "physics_verlet_verletsolver_solve_constraints", "target": "physics_verlet_constraint", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/physics/verlet.rs", "source_location": "L116", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "physics_verlet_verletsolver_integrate", "callee": "iter_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/verlet.rs", "source_location": "L94"}, {"caller_nid": "physics_verlet_verletsolver_integrate", "callee": "sqrt", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/verlet.rs", "source_location": "L101"}, {"caller_nid": "physics_verlet_verletsolver_solve_constraints", "callee": "sqrt", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/verlet.rs", "source_location": "L130"}, {"caller_nid": "physics_verlet_verletsolver_solve_constraints", "callee": "sqrt", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/physics/verlet.rs", "source_location": "L137"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/78f62b1306b79536f56e94738682314d676d2eff69e15665f516a98bfbdcefcd.json b/graphify-out/cache/ast/v0.8.44/78f62b1306b79536f56e94738682314d676d2eff69e15665f516a98bfbdcefcd.json new file mode 100644 index 0000000..23d1aa3 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/78f62b1306b79536f56e94738682314d676d2eff69e15665f516a98bfbdcefcd.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_game_rs", "label": "game.rs", "file_type": "code", "source_file": "src/game.rs", "source_location": "L1"}, {"id": "src_game_game", "label": "Game", "file_type": "code", "source_file": "src/game.rs", "source_location": "L13"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/game.rs", "source_location": "L14"}, {"id": "cellularautomaton", "label": "CellularAutomaton", "file_type": "code", "source_file": "src/game.rs", "source_location": "L15"}, {"id": "verletsolver", "label": "VerletSolver", "file_type": "code", "source_file": "src/game.rs", "source_location": "L16"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/game.rs", "source_location": "L17"}, {"id": "player", "label": "Player", "file_type": "code", "source_file": "src/game.rs", "source_location": "L18"}, {"id": "inputhandler", "label": "InputHandler", "file_type": "code", "source_file": "src/game.rs", "source_location": "L19"}, {"id": "duration", "label": "Duration", "file_type": "code", "source_file": "src/game.rs", "source_location": "L24"}, {"id": "instant", "label": "Instant", "file_type": "code", "source_file": "src/game.rs", "source_location": "L26"}, {"id": "src_game_game_new", "label": ".new()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L30"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/game.rs", "source_location": "L30"}, {"id": "src_game_game_init_world", "label": ".init_world()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L50"}, {"id": "src_game_game_center_camera_on", "label": ".center_camera_on()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L160"}, {"id": "src_game_game_run", "label": ".run()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L165"}, {"id": "r", "label": "R", "file_type": "code", "source_file": "src/game.rs", "source_location": "L165"}, {"id": "src_game_game_handle_input", "label": ".handle_input()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L207"}, {"id": "src_game_game_check_on_ground", "label": ".check_on_ground()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L271"}, {"id": "src_game_game_fixed_update", "label": ".fixed_update()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L290"}, {"id": "src_game_game_update_entities", "label": ".update_entities()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L304"}, {"id": "src_game_game_update_rigid_entity", "label": ".update_rigid_entity()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L347"}, {"id": "src_game_game_aabb_overlaps_solid", "label": ".aabb_overlaps_solid()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L447"}, {"id": "src_game_game_resolve_aabb_x", "label": ".resolve_aabb_x()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L476"}, {"id": "src_game_game_resolve_aabb_y", "label": ".resolve_aabb_y()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L535"}, {"id": "src_game_game_update_ragdoll_entity", "label": ".update_ragdoll_entity()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L596"}, {"id": "src_game_game_apply_world_damage", "label": ".apply_world_damage()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L652"}, {"id": "src_game_game_try_spawn_goblin", "label": ".try_spawn_goblin()", "file_type": "code", "source_file": "src/game.rs", "source_location": "L675"}], "edges": [{"source": "home_emil_desktop_verbatim_src_game_rs", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "input", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "verletsolver", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "resolve_grid_collision", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "renderer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "cellularautomaton", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "player", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_game_rs", "target": "src_game_game", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L13", "weight": 1.0}, {"source": "src_game_game", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L14", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "cellularautomaton", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L15", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "verletsolver", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L16", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L17", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "player", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L18", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "inputhandler", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L19", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L24", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "duration", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L25", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "instant", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L26", "weight": 1.0, "context": "field"}, {"source": "src_game_game", "target": "src_game_game_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L30", "weight": 1.0}, {"source": "src_game_game_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L30", "weight": 1.0, "context": "return_type"}, {"source": "src_game_game", "target": "src_game_game_init_world", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L50", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_center_camera_on", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L160", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L165", "weight": 1.0}, {"source": "src_game_game_run", "target": "r", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L165", "weight": 1.0, "context": "parameter_type"}, {"source": "src_game_game", "target": "src_game_game_handle_input", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L207", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_check_on_ground", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L271", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_fixed_update", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L290", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_update_entities", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L304", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_update_rigid_entity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L347", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_aabb_overlaps_solid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L447", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_resolve_aabb_x", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L476", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_resolve_aabb_y", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L535", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_update_ragdoll_entity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L596", "weight": 1.0}, {"source": "src_game_game_update_ragdoll_entity", "target": "verletsolver", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L596", "weight": 1.0, "context": "parameter_type"}, {"source": "src_game_game", "target": "src_game_game_apply_world_damage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L652", "weight": 1.0}, {"source": "src_game_game", "target": "src_game_game_try_spawn_goblin", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L675", "weight": 1.0}, {"source": "src_game_game_init_world", "target": "src_game_game_center_camera_on", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L157", "weight": 1.0}, {"source": "src_game_game_run", "target": "src_game_game_init_world", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L170", "weight": 1.0}, {"source": "src_game_game_run", "target": "src_game_game_fixed_update", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L182", "weight": 1.0}, {"source": "src_game_game_run", "target": "src_game_game_handle_input", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L197", "weight": 1.0}, {"source": "src_game_game_handle_input", "target": "src_game_game_check_on_ground", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L243", "weight": 1.0}, {"source": "src_game_game_fixed_update", "target": "src_game_game_update_entities", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L295", "weight": 1.0}, {"source": "src_game_game_fixed_update", "target": "src_game_game_apply_world_damage", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L297", "weight": 1.0}, {"source": "src_game_game_fixed_update", "target": "src_game_game_try_spawn_goblin", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L300", "weight": 1.0}, {"source": "src_game_game_update_entities", "target": "src_game_game_update_rigid_entity", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L317", "weight": 1.0}, {"source": "src_game_game_update_entities", "target": "src_game_game_update_ragdoll_entity", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L319", "weight": 1.0}, {"source": "src_game_game_update_rigid_entity", "target": "src_game_game_aabb_overlaps_solid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L367", "weight": 1.0}, {"source": "src_game_game_update_rigid_entity", "target": "src_game_game_resolve_aabb_x", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L375", "weight": 1.0}, {"source": "src_game_game_update_rigid_entity", "target": "src_game_game_resolve_aabb_y", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L383", "weight": 1.0}, {"source": "src_game_game_apply_world_damage", "target": "src_game_game_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/game.rs", "source_location": "L653", "weight": 1.0}], "raw_calls": [{"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L55"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L56"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L60"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L64"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L66"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L74"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L78"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L86"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L90"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L97"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L100"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L101"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L104"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L109"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L116"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L124"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L128"}, {"caller_nid": "src_game_game_init_world", "callee": "sin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L135"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L138"}, {"caller_nid": "src_game_game_init_world", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L139"}, {"caller_nid": "src_game_game_init_world", "callee": "fill_border", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L142"}, {"caller_nid": "src_game_game_init_world", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L148"}, {"caller_nid": "src_game_game_init_world", "callee": "spawn_at", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L154"}, {"caller_nid": "src_game_game_init_world", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L156"}, {"caller_nid": "src_game_game_run", "callee": "duration_since", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L177"}, {"caller_nid": "src_game_game_run", "callee": "viewport_w", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L186"}, {"caller_nid": "src_game_game_run", "callee": "viewport_h", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L187"}, {"caller_nid": "src_game_game_run", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L188"}, {"caller_nid": "src_game_game_run", "callee": "render", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L192"}, {"caller_nid": "src_game_game_run", "callee": "stop", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L200"}, {"caller_nid": "src_game_game_run", "callee": "shutdown", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L202"}, {"caller_nid": "src_game_game_handle_input", "callee": "update", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L208"}, {"caller_nid": "src_game_game_handle_input", "callee": "to_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L217"}, {"caller_nid": "src_game_game_handle_input", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L225"}, {"caller_nid": "src_game_game_handle_input", "callee": "jump_requested", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L242"}, {"caller_nid": "src_game_game_handle_input", "callee": "jump", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L244"}, {"caller_nid": "src_game_game_handle_input", "callee": "held_actions", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L248"}, {"caller_nid": "src_game_game_handle_input", "callee": "move_left", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L253"}, {"caller_nid": "src_game_game_handle_input", "callee": "move_right", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L255"}, {"caller_nid": "src_game_game_handle_input", "callee": "stop_horizontal", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L257"}, {"caller_nid": "src_game_game_check_on_ground", "callee": "entity", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L272"}, {"caller_nid": "src_game_game_check_on_ground", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L274"}, {"caller_nid": "src_game_game_check_on_ground", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L282"}, {"caller_nid": "src_game_game_check_on_ground", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L282"}, {"caller_nid": "src_game_game_fixed_update", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L293"}, {"caller_nid": "src_game_game_update_entities", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L322"}, {"caller_nid": "src_game_game_update_entities", "callee": "all_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L322"}, {"caller_nid": "src_game_game_update_entities", "callee": "kill", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L334"}, {"caller_nid": "src_game_game_update_entities", "callee": "apply_fire_damage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L341"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "sqrt", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L359"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L395"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L396"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L397"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L398"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L401"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "is_liquid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L406"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L412"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "all_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L412"}, {"caller_nid": "src_game_game_update_rigid_entity", "callee": "sync_bodies_to_center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L421"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L454"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L455"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L456"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L457"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L461"}, {"caller_nid": "src_game_game_aabb_overlaps_solid", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L463"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L483"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L484"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L485"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L486"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L493"}, {"caller_nid": "src_game_game_resolve_aabb_x", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L495"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L542"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L543"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "floor", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L544"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "ceil", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L545"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L553"}, {"caller_nid": "src_game_game_resolve_aabb_y", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L555"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "integrate", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L616"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "resolve_grid_collision", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L622"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "solve_constraints", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L637"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "resolve_grid_collision", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L642"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L647"}, {"caller_nid": "src_game_game_update_ragdoll_entity", "callee": "all_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L647"}, {"caller_nid": "src_game_game_apply_world_damage", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L669"}, {"caller_nid": "src_game_game_apply_world_damage", "callee": "all_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L669"}, {"caller_nid": "src_game_game_apply_world_damage", "callee": "kill", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L670"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L676"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L681"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L683"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "is_solid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L690"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L697"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "spawn", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L701"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L702"}, {"caller_nid": "src_game_game_try_spawn_goblin", "callee": "build_humanoid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/game.rs", "source_location": "L703"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/7ec222b87142c70e7a1d44a25a2e154ef67533d9a14cba768e126888e42cfbad.json b/graphify-out/cache/ast/v0.8.44/7ec222b87142c70e7a1d44a25a2e154ef67533d9a14cba768e126888e42cfbad.json new file mode 100644 index 0000000..139a311 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/7ec222b87142c70e7a1d44a25a2e154ef67533d9a14cba768e126888e42cfbad.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_integration_rs", "label": "integration.rs", "file_type": "code", "source_file": "tests/integration.rs", "source_location": "L1"}, {"id": "tests_integration_replay_deterministic", "label": "replay_deterministic()", "file_type": "code", "source_file": "tests/integration.rs", "source_location": "L6"}, {"id": "tests_integration_replay_play_until_tick", "label": "replay_play_until_tick()", "file_type": "code", "source_file": "tests/integration.rs", "source_location": "L31"}, {"id": "tests_integration_same_seed_same_state", "label": "same_seed_same_state()", "file_type": "code", "source_file": "tests/integration.rs", "source_location": "L52"}, {"id": "tests_integration_pipe_protocol_init_and_step", "label": "pipe_protocol_init_and_step()", "file_type": "code", "source_file": "tests/integration.rs", "source_location": "L71"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "replayplayer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "tests_integration_replay_deterministic", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L6", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "tests_integration_replay_play_until_tick", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L31", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "tests_integration_same_seed_same_state", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L52", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_integration_rs", "target": "tests_integration_pipe_protocol_init_and_step", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/integration.rs", "source_location": "L71", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_integration_replay_deterministic", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L9"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L10"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L11"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L12"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L13"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L14"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L16"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "play", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L19"}, {"caller_nid": "tests_integration_replay_deterministic", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L20"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L34"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L35"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L36"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L37"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L38"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L39"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L40"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L41"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "play_until_tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L44"}, {"caller_nid": "tests_integration_replay_play_until_tick", "callee": "play", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L47"}, {"caller_nid": "tests_integration_same_seed_same_state", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L55"}, {"caller_nid": "tests_integration_same_seed_same_state", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L56"}, {"caller_nid": "tests_integration_same_seed_same_state", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L60"}, {"caller_nid": "tests_integration_same_seed_same_state", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L61"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "spawn", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "stderr", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "stdout", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "stdin", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "arg", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "arg", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L75"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L83"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L85"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L88"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "push_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L92"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "trim", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L94"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L98"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "trim", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L101"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L106"}, {"caller_nid": "tests_integration_pipe_protocol_init_and_step", "callee": "wait", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/integration.rs", "source_location": "L107"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/83ff90991fbc3e9044aef06d4ce98f1783aee5086a8cf5782e09986a72f7e12d.json b/graphify-out/cache/ast/v0.8.44/83ff90991fbc3e9044aef06d4ce98f1783aee5086a8cf5782e09986a72f7e12d.json new file mode 100644 index 0000000..df42675 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/83ff90991fbc3e9044aef06d4ce98f1783aee5086a8cf5782e09986a72f7e12d.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_world_material_rs", "label": "material.rs", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L1"}, {"id": "world_material_material", "label": "Material", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L4"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L5"}, {"id": "world_material_materialregistry", "label": "MaterialRegistry", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L24"}, {"id": "world_material_materialregistry_new", "label": ".new()", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L29"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L29"}, {"id": "world_material_materialregistry_get", "label": ".get()", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L260"}, {"id": "world_material_materialregistry_instance", "label": ".instance()", "file_type": "code", "source_file": "src/world/material.rs", "source_location": "L264"}], "edges": [{"source": "home_emil_desktop_verbatim_src_world_material_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_world_material_rs", "target": "world_material_material", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L4", "weight": 1.0}, {"source": "world_material_material", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L5", "weight": 1.0, "context": "field"}, {"source": "home_emil_desktop_verbatim_src_world_material_rs", "target": "world_material_materialregistry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L24", "weight": 1.0}, {"source": "world_material_materialregistry", "target": "world_material_material", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L25", "weight": 1.0, "context": "field"}, {"source": "world_material_materialregistry", "target": "world_material_materialregistry_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L29", "weight": 1.0}, {"source": "world_material_materialregistry_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L29", "weight": 1.0, "context": "return_type"}, {"source": "world_material_materialregistry", "target": "world_material_materialregistry_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L260", "weight": 1.0}, {"source": "world_material_materialregistry_get", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L260", "weight": 1.0, "context": "parameter_type"}, {"source": "world_material_materialregistry_get", "target": "world_material_material", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L260", "weight": 1.0, "context": "return_type"}, {"source": "world_material_materialregistry", "target": "world_material_materialregistry_instance", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L264", "weight": 1.0}, {"source": "world_material_materialregistry_instance", "target": "world_material_materialregistry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L264", "weight": 1.0, "context": "return_type"}, {"source": "world_material_materialregistry_instance", "target": "world_material_materialregistry_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/world/material.rs", "source_location": "L265", "weight": 1.0}], "raw_calls": [{"caller_nid": "world_material_materialregistry_instance", "callee": "get_or_init", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/world/material.rs", "source_location": "L266"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/840bf75ab1b85c2a9352db0ab9466930a1720b02d7af484dddba41b725ea27e7.json b/graphify-out/cache/ast/v0.8.44/840bf75ab1b85c2a9352db0ab9466930a1720b02d7af484dddba41b725ea27e7.json new file mode 100644 index 0000000..110ea0f --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/840bf75ab1b85c2a9352db0ab9466930a1720b02d7af484dddba41b725ea27e7.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_state_rs", "label": "state.rs", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L1"}, {"id": "ai_state_gamestate", "label": "GameState", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L9"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L13"}, {"id": "entityinfo", "label": "EntityInfo", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L13"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L14"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L15"}, {"id": "ai_state_entityinfo", "label": "EntityInfo", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L19"}, {"id": "subbodyinfo", "label": "SubBodyInfo", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L28"}, {"id": "ai_state_subbodyinfo", "label": "SubBodyInfo", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L32"}, {"id": "ai_state_cellinfo", "label": "CellInfo", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L43"}, {"id": "ai_state_cellinfo_from_grid", "label": ".from_grid()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L54"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L54"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L54"}, {"id": "ai_state_entity_info", "label": "entity_info()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L79"}, {"id": "entity", "label": "Entity", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L79"}, {"id": "ai_state_build_game_state", "label": "build_game_state()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L107"}, {"id": "game", "label": "Game", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L107"}, {"id": "ai_state_render_view", "label": "render_view()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L132"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L132"}, {"id": "ai_state_material_from_name", "label": "material_from_name()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L169"}, {"id": "materialid", "label": "MaterialId", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L169"}, {"id": "ai_state_entity_kind_name", "label": "entity_kind_name()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L189"}, {"id": "entitykind", "label": "EntityKind", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L189"}, {"id": "ai_state_parse_entity_kind", "label": "parse_entity_kind()", "file_type": "code", "source_file": "src/ai/state.rs", "source_location": "L197"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "materialregistry", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "game", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_gamestate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L9", "weight": 1.0}, {"source": "ai_state_gamestate", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L13", "weight": 1.0, "context": "field"}, {"source": "ai_state_gamestate", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L13", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_state_gamestate", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L14", "weight": 1.0, "context": "field"}, {"source": "ai_state_gamestate", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L14", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_state_gamestate", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L15", "weight": 1.0, "context": "field"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_entityinfo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L19", "weight": 1.0}, {"source": "ai_state_entityinfo", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L21", "weight": 1.0, "context": "field"}, {"source": "ai_state_entityinfo", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L28", "weight": 1.0, "context": "field"}, {"source": "ai_state_entityinfo", "target": "subbodyinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L28", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_subbodyinfo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L32", "weight": 1.0}, {"source": "ai_state_subbodyinfo", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L39", "weight": 1.0, "context": "field"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_cellinfo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L43", "weight": 1.0}, {"source": "ai_state_cellinfo", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L46", "weight": 1.0, "context": "field"}, {"source": "ai_state_cellinfo", "target": "ai_state_cellinfo_from_grid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L54", "weight": 1.0}, {"source": "ai_state_cellinfo_from_grid", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L54", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_state_cellinfo_from_grid", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L54", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_entity_info", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L79", "weight": 1.0}, {"source": "ai_state_entity_info", "target": "entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L79", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_state_entity_info", "target": "ai_state_entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L79", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_build_game_state", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L107", "weight": 1.0}, {"source": "ai_state_build_game_state", "target": "game", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L107", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_state_build_game_state", "target": "ai_state_gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L107", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_render_view", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L132", "weight": 1.0}, {"source": "ai_state_render_view", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L132", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_state_render_view", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L132", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_state_render_view", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L132", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_material_from_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L169", "weight": 1.0}, {"source": "ai_state_material_from_name", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L169", "weight": 1.0, "context": "return_type"}, {"source": "ai_state_material_from_name", "target": "materialid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L169", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_entity_kind_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L189", "weight": 1.0}, {"source": "ai_state_entity_kind_name", "target": "entitykind", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L189", "weight": 1.0, "context": "parameter_type"}, {"source": "home_emil_desktop_verbatim_src_ai_state_rs", "target": "ai_state_parse_entity_kind", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L197", "weight": 1.0}, {"source": "ai_state_parse_entity_kind", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L197", "weight": 1.0, "context": "return_type"}, {"source": "ai_state_parse_entity_kind", "target": "entitykind", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L197", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_state_entity_info", "target": "ai_state_entity_kind_name", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L96", "weight": 1.0}, {"source": "ai_state_build_game_state", "target": "ai_state_render_view", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/state.rs", "source_location": "L120", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_state_cellinfo_from_grid", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L55"}, {"caller_nid": "ai_state_entity_info", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L80"}, {"caller_nid": "ai_state_entity_info", "callee": "vx", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L86"}, {"caller_nid": "ai_state_entity_info", "callee": "vy", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L86"}, {"caller_nid": "ai_state_entity_info", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L102"}, {"caller_nid": "ai_state_build_game_state", "callee": "entity", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L108"}, {"caller_nid": "ai_state_build_game_state", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L116"}, {"caller_nid": "ai_state_render_view", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L157"}, {"caller_nid": "ai_state_render_view", "callee": "display_char", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L161"}, {"caller_nid": "ai_state_material_from_name", "callee": "as_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L170"}, {"caller_nid": "ai_state_material_from_name", "callee": "to_lowercase", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L170"}, {"caller_nid": "ai_state_parse_entity_kind", "callee": "as_str", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L198"}, {"caller_nid": "ai_state_parse_entity_kind", "callee": "to_lowercase", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/state.rs", "source_location": "L198"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/85ba814ce36483d2fc8843f18634b1f59e6b85a8e1862fa0bbfa4db969dc64c9.json b/graphify-out/cache/ast/v0.8.44/85ba814ce36483d2fc8843f18634b1f59e6b85a8e1862fa0bbfa4db969dc64c9.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/85ba814ce36483d2fc8843f18634b1f59e6b85a8e1862fa0bbfa4db969dc64c9.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/8a4cd674b1e1a549c6b0a4c0e2dfeb00320b5b1d0dcbc08f0c32de6d913c3b5f.json b/graphify-out/cache/ast/v0.8.44/8a4cd674b1e1a549c6b0a4c0e2dfeb00320b5b1d0dcbc08f0c32de6d913c3b5f.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/8a4cd674b1e1a549c6b0a4c0e2dfeb00320b5b1d0dcbc08f0c32de6d913c3b5f.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/8a8549a6a5bb485faf650d6adc5fff11e7d102cb9f930ea213531f1e42383c8f.json b/graphify-out/cache/ast/v0.8.44/8a8549a6a5bb485faf650d6adc5fff11e7d102cb9f930ea213531f1e42383c8f.json new file mode 100644 index 0000000..bbfa128 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/8a8549a6a5bb485faf650d6adc5fff11e7d102cb9f930ea213531f1e42383c8f.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_session_rs", "label": "session.rs", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L1"}, {"id": "ai_session_gamesession", "label": "GameSession", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L8"}, {"id": "game", "label": "Game", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L9"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L11"}, {"id": "replayrecorder", "label": "ReplayRecorder", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L11"}, {"id": "ai_session_gamesession_new", "label": ".new()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L17"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L17"}, {"id": "ai_session_gamesession_new_seeded", "label": ".new_seeded()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L27"}, {"id": "ai_session_gamesession_init", "label": ".init()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L33"}, {"id": "ai_session_gamesession_init_empty", "label": ".init_empty()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L40"}, {"id": "ai_session_gamesession_step", "label": ".step()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L49"}, {"id": "ai_session_gamesession_perform_action", "label": ".perform_action()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L58"}, {"id": "aiaction", "label": "AiAction", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L58"}, {"id": "ai_session_gamesession_get_state", "label": ".get_state()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L65"}, {"id": "gamestate", "label": "GameState", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L65"}, {"id": "ai_session_gamesession_get_view", "label": ".get_view()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L69"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L69"}, {"id": "ai_session_gamesession_get_view_at", "label": ".get_view_at()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L76"}, {"id": "ai_session_gamesession_get_cell", "label": ".get_cell()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L80"}, {"id": "cellinfo", "label": "CellInfo", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L80"}, {"id": "ai_session_gamesession_get_region", "label": ".get_region()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L84"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L84"}, {"id": "ai_session_gamesession_get_entities", "label": ".get_entities()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L94"}, {"id": "entityinfo", "label": "EntityInfo", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L94"}, {"id": "ai_session_gamesession_get_player", "label": ".get_player()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L100"}, {"id": "ai_session_gamesession_count_material_in_region", "label": ".count_material_in_region()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L104"}, {"id": "ai_session_gamesession_find_material", "label": ".find_material()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L122"}, {"id": "ai_session_gamesession_set_recording", "label": ".set_recording()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L134"}, {"id": "ai_session_gamesession_save_replay", "label": ".save_replay()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L144"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L144"}, {"id": "ai_session_gamesession_clear_area", "label": ".clear_area()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L151"}, {"id": "ai_session_gamesession_grid", "label": ".grid()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L159"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L159"}, {"id": "ai_session_gamesession_tick", "label": ".tick()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L163"}, {"id": "default", "label": "Default", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L168"}, {"id": "ai_session_gamesession_default", "label": ".default()", "file_type": "code", "source_file": "src/ai/session.rs", "source_location": "L169"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "replayrecorder", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "state", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "game", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_session_rs", "target": "ai_session_gamesession", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L8", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "game", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L9", "weight": 1.0, "context": "field"}, {"source": "ai_session_gamesession", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L11", "weight": 1.0, "context": "field"}, {"source": "ai_session_gamesession", "target": "replayrecorder", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L11", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L17", "weight": 1.0}, {"source": "ai_session_gamesession_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L17", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_new_seeded", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L27", "weight": 1.0}, {"source": "ai_session_gamesession_new_seeded", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L27", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L33", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_init_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L40", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_step", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L49", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_perform_action", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L58", "weight": 1.0}, {"source": "ai_session_gamesession_perform_action", "target": "aiaction", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L58", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_state", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L65", "weight": 1.0}, {"source": "ai_session_gamesession_get_state", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L65", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_view", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L69", "weight": 1.0}, {"source": "ai_session_gamesession_get_view", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L69", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_view_at", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L76", "weight": 1.0}, {"source": "ai_session_gamesession_get_view_at", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L76", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_cell", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L80", "weight": 1.0}, {"source": "ai_session_gamesession_get_cell", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L80", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_region", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L84", "weight": 1.0}, {"source": "ai_session_gamesession_get_region", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L84", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession_get_region", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L84", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_entities", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L94", "weight": 1.0}, {"source": "ai_session_gamesession_get_entities", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L94", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession_get_entities", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L94", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_get_player", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L100", "weight": 1.0}, {"source": "ai_session_gamesession_get_player", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L100", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession_get_player", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L100", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_count_material_in_region", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L104", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_find_material", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L122", "weight": 1.0}, {"source": "ai_session_gamesession_find_material", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L122", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_set_recording", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L134", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_save_replay", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L144", "weight": 1.0}, {"source": "ai_session_gamesession_save_replay", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L144", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_clear_area", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L151", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_grid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L159", "weight": 1.0}, {"source": "ai_session_gamesession_grid", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L159", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_tick", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L163", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "default", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L168", "weight": 1.0}, {"source": "ai_session_gamesession", "target": "ai_session_gamesession_default", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L169", "weight": 1.0}, {"source": "ai_session_gamesession_default", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L169", "weight": 1.0, "context": "return_type"}, {"source": "ai_session_gamesession_new_seeded", "target": "ai_session_gamesession_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L28", "weight": 1.0}, {"source": "ai_session_gamesession_set_recording", "target": "ai_session_gamesession_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L137", "weight": 1.0}, {"source": "ai_session_gamesession_default", "target": "ai_session_gamesession_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/session.rs", "source_location": "L170", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_session_gamesession_init", "callee": "init_world", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L34"}, {"caller_nid": "ai_session_gamesession_init", "callee": "set_seed", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L36"}, {"caller_nid": "ai_session_gamesession_init_empty", "callee": "fill_border", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L41"}, {"caller_nid": "ai_session_gamesession_init_empty", "callee": "spawn_at", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L44"}, {"caller_nid": "ai_session_gamesession_init_empty", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L45"}, {"caller_nid": "ai_session_gamesession_init_empty", "callee": "center_camera_on", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L46"}, {"caller_nid": "ai_session_gamesession_step", "callee": "fixed_update", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L51"}, {"caller_nid": "ai_session_gamesession_step", "callee": "record_step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L54"}, {"caller_nid": "ai_session_gamesession_perform_action", "callee": "execute", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L59"}, {"caller_nid": "ai_session_gamesession_perform_action", "callee": "record_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L61"}, {"caller_nid": "ai_session_gamesession_get_state", "callee": "build_game_state", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L66"}, {"caller_nid": "ai_session_gamesession_get_view", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L70"}, {"caller_nid": "ai_session_gamesession_get_view", "callee": "render_view", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L73"}, {"caller_nid": "ai_session_gamesession_get_view_at", "callee": "render_view", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L77"}, {"caller_nid": "ai_session_gamesession_get_player", "callee": "entity", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L101"}, {"caller_nid": "ai_session_gamesession_count_material_in_region", "callee": "is_none", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L106"}, {"caller_nid": "ai_session_gamesession_set_recording", "callee": "is_none", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L136"}, {"caller_nid": "ai_session_gamesession_save_replay", "callee": "save", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/session.rs", "source_location": "L146"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/8d2d0703840a1a61356a1d3ddc9d6bb0fab9ab3cca56f9b83646e8a093f4107d.json b/graphify-out/cache/ast/v0.8.44/8d2d0703840a1a61356a1d3ddc9d6bb0fab9ab3cca56f9b83646e8a093f4107d.json new file mode 100644 index 0000000..54c677c --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/8d2d0703840a1a61356a1d3ddc9d6bb0fab9ab3cca56f9b83646e8a093f4107d.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_protocol_rs", "label": "protocol.rs", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L1"}, {"id": "ai_protocol_command", "label": "Command", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L10"}, {"id": "ai_protocol_response", "label": "Response", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L80"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L83"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L83"}, {"id": "gamestate", "label": "GameState", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L85"}, {"id": "cellinfo", "label": "CellInfo", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L89"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L91"}, {"id": "entityinfo", "label": "EntityInfo", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L93"}, {"id": "scenarioresult", "label": "ScenarioResult", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L101"}, {"id": "ai_protocol_response_ok", "label": ".ok()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L109"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L109"}, {"id": "ai_protocol_response_err", "label": ".err()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L118"}, {"id": "ai_protocol_response_with_state", "label": ".with_state()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L128"}, {"id": "ai_protocol_run_pipe_protocol", "label": "run_pipe_protocol()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L134"}, {"id": "ai_protocol_handle_command", "label": "handle_command()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L173"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L173"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "scenario", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "gamestate", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_command", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L10", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L80", "weight": 1.0}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L83", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L83", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L85", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L85", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L87", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L87", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L89", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L89", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L95", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L95", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L97", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L99", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L101", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "scenarioresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L101", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L103", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L103", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L105", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_ok", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L109", "weight": 1.0}, {"source": "ai_protocol_response_ok", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L109", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_err", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L118", "weight": 1.0}, {"source": "ai_protocol_response_err", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L118", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_with_state", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0}, {"source": "ai_protocol_response_with_state", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_response_with_state", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_run_pipe_protocol", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L134", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_handle_command", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_command", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_handle_command", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_handle_command", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_response_err", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L155", "weight": 1.0}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_response_ok", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L156", "weight": 1.0}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_handle_command", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L162", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_with_state", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L186", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_ok", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L186", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_err", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L192", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "lines", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L141"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "trim", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L147"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L157"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "unwrap_or_default", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L163"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L165"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "is_none", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L167"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L180"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_deref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L180"}, {"caller_nid": "ai_protocol_handle_command", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L181"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L184"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L190"}, {"caller_nid": "ai_protocol_handle_command", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L194"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L195"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L200"}, {"caller_nid": "ai_protocol_handle_command", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L204"}, {"caller_nid": "ai_protocol_handle_command", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L206"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L208"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L213"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L221"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L226"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L230"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L231"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L232"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L237"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_view_at", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L241"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L246"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L250"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L255"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L259"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L264"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L268"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L273"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L277"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L282"}, {"caller_nid": "ai_protocol_handle_command", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L286"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L291"}, {"caller_nid": "ai_protocol_handle_command", "callee": "find_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L295"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L300"}, {"caller_nid": "ai_protocol_handle_command", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L304"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L309"}, {"caller_nid": "ai_protocol_handle_command", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L313"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L318"}, {"caller_nid": "ai_protocol_handle_command", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L322"}, {"caller_nid": "ai_protocol_handle_command", "callee": "load_scenario", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L329"}, {"caller_nid": "ai_protocol_handle_command", "callee": "run_scenario", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L331"}, {"caller_nid": "ai_protocol_handle_command", "callee": "run_all_scenarios", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L339"}, {"caller_nid": "ai_protocol_handle_command", "callee": "format_results", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L340"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/8e99bda8e2164a9f13944f1df8fed3a42e5005adf6a165d8cf665a6ee052e70d.json b/graphify-out/cache/ast/v0.8.44/8e99bda8e2164a9f13944f1df8fed3a42e5005adf6a165d8cf665a6ee052e70d.json new file mode 100644 index 0000000..2886391 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/8e99bda8e2164a9f13944f1df8fed3a42e5005adf6a165d8cf665a6ee052e70d.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "label": "ragdoll_death.rs", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L1"}, {"id": "tests_ragdoll_death_setup", "label": "setup()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L4"}, {"id": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "label": "death_transitions_rigid_to_ragdoll()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L13"}, {"id": "tests_ragdoll_death_ragdoll_falls_after_death", "label": "ragdoll_falls_after_death()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L30"}, {"id": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "label": "ragdoll_bodies_stay_near_each_other()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L48"}, {"id": "tests_ragdoll_death_player_death_becomes_corpse", "label": "player_death_becomes_corpse()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L63"}, {"id": "tests_ragdoll_death_damage_reduces_health_progressively", "label": "damage_reduces_health_progressively()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L74"}, {"id": "tests_ragdoll_death_small_damage_does_not_kill", "label": "small_damage_does_not_kill()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L91"}, {"id": "tests_ragdoll_death_corpse_exists_in_world", "label": "corpse_exists_in_world()", "file_type": "code", "source_file": "tests/ragdoll_death.rs", "source_location": "L110"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_ragdoll_death_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L13", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_ragdoll_falls_after_death", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L30", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L48", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_player_death_becomes_corpse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L63", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_damage_reduces_health_progressively", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L74", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_small_damage_does_not_kill", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L91", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_ragdoll_death_rs", "target": "tests_ragdoll_death_corpse_exists_in_world", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L110", "weight": 1.0}, {"source": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L14", "weight": 1.0}, {"source": "tests_ragdoll_death_ragdoll_falls_after_death", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L31", "weight": 1.0}, {"source": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L49", "weight": 1.0}, {"source": "tests_ragdoll_death_player_death_becomes_corpse", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L64", "weight": 1.0}, {"source": "tests_ragdoll_death_damage_reduces_health_progressively", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L75", "weight": 1.0}, {"source": "tests_ragdoll_death_small_damage_does_not_kill", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L92", "weight": 1.0}, {"source": "tests_ragdoll_death_corpse_exists_in_world", "target": "tests_ragdoll_death_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/ragdoll_death.rs", "source_location": "L111", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_ragdoll_death_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L6"}, {"caller_nid": "tests_ragdoll_death_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L7"}, {"caller_nid": "tests_ragdoll_death_setup", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L8"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L15"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L16"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L17"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L18"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L18"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L21"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L22"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L23"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L24"}, {"caller_nid": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L24"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L32"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L33"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L34"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L35"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L35"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L38"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L39"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L41"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L41"}, {"caller_nid": "tests_ragdoll_death_ragdoll_falls_after_death", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L41"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L50"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L51"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L52"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L53"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L53"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L54"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L55"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L56"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L57"}, {"caller_nid": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L57"}, {"caller_nid": "tests_ragdoll_death_player_death_becomes_corpse", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L65"}, {"caller_nid": "tests_ragdoll_death_player_death_becomes_corpse", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L66"}, {"caller_nid": "tests_ragdoll_death_player_death_becomes_corpse", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L67"}, {"caller_nid": "tests_ragdoll_death_player_death_becomes_corpse", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L68"}, {"caller_nid": "tests_ragdoll_death_player_death_becomes_corpse", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L69"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L76"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L77"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L78"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L79"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L79"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L82"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L83"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L84"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L85"}, {"caller_nid": "tests_ragdoll_death_damage_reduces_health_progressively", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L85"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L93"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L94"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L95"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L96"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L96"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L97"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L98"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L99"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L100"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L100"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L102"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L103"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L104"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L105"}, {"caller_nid": "tests_ragdoll_death_small_damage_does_not_kill", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L105"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L112"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L113"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L114"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L114"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L114"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L115"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L116"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L117"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L118"}, {"caller_nid": "tests_ragdoll_death_corpse_exists_in_world", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs", "source_location": "L118"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/92b06e1e743fa3df4fd5bbfba47aae08c8cd59250fd629a89b9df21b3b75bda0.json b/graphify-out/cache/ast/v0.8.44/92b06e1e743fa3df4fd5bbfba47aae08c8cd59250fd629a89b9df21b3b75bda0.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/92b06e1e743fa3df4fd5bbfba47aae08c8cd59250fd629a89b9df21b3b75bda0.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/a18f80fe6d27240a60cfd56d1063355b4a1e59115c5788af430d8f81992e0c8b.json b/graphify-out/cache/ast/v0.8.44/a18f80fe6d27240a60cfd56d1063355b4a1e59115c5788af430d8f81992e0c8b.json new file mode 100644 index 0000000..56b84e0 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/a18f80fe6d27240a60cfd56d1063355b4a1e59115c5788af430d8f81992e0c8b.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_entity_entity_rs", "label": "entity.rs", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L1"}, {"id": "entity_entity_entitykind", "label": "EntityKind", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L7"}, {"id": "entity_entity_entity", "label": "Entity", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L13"}, {"id": "entityid", "label": "EntityId", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L14"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L16"}, {"id": "subbody", "label": "SubBody", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L16"}, {"id": "constraint", "label": "Constraint", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L17"}, {"id": "entity_entity_entity_new", "label": ".new()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L34"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L34"}, {"id": "entity_entity_entity_center", "label": ".center()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L56"}, {"id": "entity_entity_entity_kill", "label": ".kill()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L80"}, {"id": "entity_entity_entity_take_damage", "label": ".take_damage()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L98"}, {"id": "entity_entity_entity_build_humanoid", "label": ".build_humanoid()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L105"}, {"id": "entity_entity_entity_sync_bodies_to_center", "label": ".sync_bodies_to_center()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L164"}, {"id": "entity_entity_entity_set_horizontal_vel", "label": ".set_horizontal_vel()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L177"}, {"id": "entity_entity_entity_set_vertical_vel", "label": ".set_vertical_vel()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L183"}, {"id": "entity_entity_entity_apply_fire_damage", "label": ".apply_fire_damage()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L189"}, {"id": "entity_entity_entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L207"}, {"id": "entity_entity_entitymanager_new", "label": ".new()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L213"}, {"id": "entity_entity_entitymanager_spawn", "label": ".spawn()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L220"}, {"id": "entity_entity_entitymanager_get", "label": ".get()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L242"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L242"}, {"id": "entity_entity_entitymanager_get_mut", "label": ".get_mut()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L246"}, {"id": "entity_entity_entitymanager_all", "label": ".all()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L250"}, {"id": "entity_entity_entitymanager_all_mut", "label": ".all_mut()", "file_type": "code", "source_file": "src/entity/entity.rs", "source_location": "L254"}], "edges": [{"source": "home_emil_desktop_verbatim_src_entity_entity_rs", "target": "verlet", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_entity_entity_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_entity_entity_rs", "target": "entity_entity_entitykind", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L7", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_entity_entity_rs", "target": "entity_entity_entity", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L13", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L14", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entity", "target": "entity_entity_entitykind", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L15", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entity", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L16", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entity", "target": "subbody", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L16", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_entity_entity", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L17", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entity", "target": "constraint", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L17", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_entity_entity", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L18", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entity", "target": "entity_entity_entity_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L34", "weight": 1.0}, {"source": "entity_entity_entity_new", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L34", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_entity_entity_new", "target": "entity_entity_entitykind", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L34", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_entity_entity_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L34", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entity", "target": "entity_entity_entity_center", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L56", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_kill", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L80", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_take_damage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L98", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_build_humanoid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L105", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_sync_bodies_to_center", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L164", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_set_horizontal_vel", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L177", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_set_vertical_vel", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L183", "weight": 1.0}, {"source": "entity_entity_entity", "target": "entity_entity_entity_apply_fire_damage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L189", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_entity_entity_rs", "target": "entity_entity_entitymanager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L207", "weight": 1.0}, {"source": "entity_entity_entitymanager", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L208", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L208", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_entity_entitymanager", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L209", "weight": 1.0, "context": "field"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L213", "weight": 1.0}, {"source": "entity_entity_entitymanager_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L213", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_spawn", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L220", "weight": 1.0}, {"source": "entity_entity_entitymanager_spawn", "target": "entity_entity_entitykind", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L220", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_entity_entitymanager_spawn", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L220", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L242", "weight": 1.0}, {"source": "entity_entity_entitymanager_get", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L242", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_entity_entitymanager_get", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L242", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entitymanager_get", "target": "entity_entity_entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L242", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_get_mut", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L246", "weight": 1.0}, {"source": "entity_entity_entitymanager_get_mut", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L246", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_entity_entitymanager_get_mut", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L246", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entitymanager_get_mut", "target": "entity_entity_entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L246", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_all", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L250", "weight": 1.0}, {"source": "entity_entity_entitymanager_all", "target": "entity_entity_entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L250", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entitymanager", "target": "entity_entity_entitymanager_all_mut", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L254", "weight": 1.0}, {"source": "entity_entity_entitymanager_all_mut", "target": "entity_entity_entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L254", "weight": 1.0, "context": "return_type"}, {"source": "entity_entity_entity_new", "target": "entity_entity_entitymanager_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L38", "weight": 1.0}, {"source": "entity_entity_entity_take_damage", "target": "entity_entity_entity_kill", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L101", "weight": 1.0}, {"source": "entity_entity_entity_build_humanoid", "target": "entity_entity_entitymanager_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L141", "weight": 1.0}, {"source": "entity_entity_entity_apply_fire_damage", "target": "entity_entity_entity_take_damage", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L194", "weight": 1.0}, {"source": "entity_entity_entitymanager_spawn", "target": "entity_entity_entitymanager_new", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/entity/entity.rs", "source_location": "L223", "weight": 1.0}], "raw_calls": [{"caller_nid": "entity_entity_entity_kill", "callee": "set_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L90"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "clear", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L106"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "clear", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L107"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "clear", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L108"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "mk", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L150"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "mk", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L156"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "mk", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L160"}, {"caller_nid": "entity_entity_entity_build_humanoid", "callee": "mk", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L161"}, {"caller_nid": "entity_entity_entity_sync_bodies_to_center", "callee": "iter_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L165"}, {"caller_nid": "entity_entity_entitymanager_get", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L243"}, {"caller_nid": "entity_entity_entitymanager_get_mut", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L247"}, {"caller_nid": "entity_entity_entitymanager_get_mut", "callee": "iter_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/entity.rs", "source_location": "L247"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/a6ab3244b2e4f733dd66a34b6f091a977eb4a94e24d86fb540a34f1030845e62.json b/graphify-out/cache/ast/v0.8.44/a6ab3244b2e4f733dd66a34b6f091a977eb4a94e24d86fb540a34f1030845e62.json new file mode 100644 index 0000000..328e786 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/a6ab3244b2e4f733dd66a34b6f091a977eb4a94e24d86fb540a34f1030845e62.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_collision_robust_rs", "label": "collision_robust.rs", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L1"}, {"id": "tests_collision_robust_setup", "label": "setup()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L4"}, {"id": "tests_collision_robust_player_blocked_by_left_wall", "label": "player_blocked_by_left_wall()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L13"}, {"id": "tests_collision_robust_player_blocked_by_right_wall", "label": "player_blocked_by_right_wall()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L26"}, {"id": "tests_collision_robust_player_slides_along_wall", "label": "player_slides_along_wall()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L39"}, {"id": "tests_collision_robust_player_blocked_by_ceiling", "label": "player_blocked_by_ceiling()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L55"}, {"id": "tests_collision_robust_player_navigates_corridor", "label": "player_navigates_corridor()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L68"}, {"id": "tests_collision_robust_player_does_not_stick_to_wall", "label": "player_does_not_stick_to_wall()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L82"}, {"id": "tests_collision_robust_player_squeezes_through_gap", "label": "player_squeezes_through_gap()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L103"}, {"id": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "label": "player_blocked_by_two_walls_both_sides()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L117"}, {"id": "tests_collision_robust_player_walks_up_slope", "label": "player_walks_up_slope()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L136"}, {"id": "tests_collision_robust_entity_collision_with_dirt_wall", "label": "entity_collision_with_dirt_wall()", "file_type": "code", "source_file": "tests/collision_robust.rs", "source_location": "L153"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_collision_robust_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_blocked_by_left_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L13", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_blocked_by_right_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L26", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_slides_along_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L39", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_blocked_by_ceiling", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L55", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_navigates_corridor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L68", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_does_not_stick_to_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L82", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_squeezes_through_gap", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L103", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L117", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_player_walks_up_slope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L136", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_collision_robust_rs", "target": "tests_collision_robust_entity_collision_with_dirt_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L153", "weight": 1.0}, {"source": "tests_collision_robust_player_blocked_by_left_wall", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L14", "weight": 1.0}, {"source": "tests_collision_robust_player_blocked_by_right_wall", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L27", "weight": 1.0}, {"source": "tests_collision_robust_player_slides_along_wall", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L40", "weight": 1.0}, {"source": "tests_collision_robust_player_blocked_by_ceiling", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L56", "weight": 1.0}, {"source": "tests_collision_robust_player_does_not_stick_to_wall", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L83", "weight": 1.0}, {"source": "tests_collision_robust_player_squeezes_through_gap", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L104", "weight": 1.0}, {"source": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L118", "weight": 1.0}, {"source": "tests_collision_robust_entity_collision_with_dirt_wall", "target": "tests_collision_robust_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/collision_robust.rs", "source_location": "L154", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_collision_robust_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L6"}, {"caller_nid": "tests_collision_robust_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L7"}, {"caller_nid": "tests_collision_robust_setup", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L8"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L15"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L16"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L18"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L19"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L20"}, {"caller_nid": "tests_collision_robust_player_blocked_by_left_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L21"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L28"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L29"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L31"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L32"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L33"}, {"caller_nid": "tests_collision_robust_player_blocked_by_right_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L34"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L41"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L42"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L44"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L45"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L46"}, {"caller_nid": "tests_collision_robust_player_slides_along_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L47"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L57"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L58"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L60"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L61"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L62"}, {"caller_nid": "tests_collision_robust_player_blocked_by_ceiling", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L63"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L70"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L71"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L72"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L73"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L74"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L75"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L76"}, {"caller_nid": "tests_collision_robust_player_navigates_corridor", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L77"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L84"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L85"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L87"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L89"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L90"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L92"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L95"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L96"}, {"caller_nid": "tests_collision_robust_player_does_not_stick_to_wall", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L98"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L105"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L106"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L108"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L109"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L110"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L111"}, {"caller_nid": "tests_collision_robust_player_squeezes_through_gap", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L112"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L119"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L120"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L122"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L123"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L124"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L125"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L126"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L127"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L128"}, {"caller_nid": "tests_collision_robust_player_blocked_by_two_walls_both_sides", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L129"}, {"caller_nid": "tests_collision_robust_player_walks_up_slope", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L138"}, {"caller_nid": "tests_collision_robust_player_walks_up_slope", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L139"}, {"caller_nid": "tests_collision_robust_player_walks_up_slope", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L143"}, {"caller_nid": "tests_collision_robust_player_walks_up_slope", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L146"}, {"caller_nid": "tests_collision_robust_player_walks_up_slope", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L147"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L155"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L156"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L157"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L158"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L159"}, {"caller_nid": "tests_collision_robust_entity_collision_with_dirt_wall", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/collision_robust.rs", "source_location": "L159"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/b243d2d7b4b78794c20e7a790acaaa73ca949868894f25f719dfcad6749a6e33.json b/graphify-out/cache/ast/v0.8.44/b243d2d7b4b78794c20e7a790acaaa73ca949868894f25f719dfcad6749a6e33.json new file mode 100644 index 0000000..58a4eac --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/b243d2d7b4b78794c20e7a790acaaa73ca949868894f25f719dfcad6749a6e33.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_edge_cases_rs", "label": "edge_cases.rs", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L1"}, {"id": "tests_edge_cases_setup", "label": "setup()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L4"}, {"id": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "label": "entity_at_world_boundary_stays_in_bounds()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L13"}, {"id": "tests_edge_cases_entity_at_right_boundary", "label": "entity_at_right_boundary()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L25"}, {"id": "tests_edge_cases_many_entities_simulate_without_crash", "label": "many_entities_simulate_without_crash()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L36"}, {"id": "tests_edge_cases_spawn_many_goblins_stress", "label": "spawn_many_goblins_stress()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L48"}, {"id": "tests_edge_cases_player_at_spawn_is_alive", "label": "player_at_spawn_is_alive()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L64"}, {"id": "tests_edge_cases_player_bodies_count_matches_layout", "label": "player_bodies_count_matches_layout()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L73"}, {"id": "tests_edge_cases_goblin_has_correct_max_health", "label": "goblin_has_correct_max_health()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L81"}, {"id": "tests_edge_cases_player_has_correct_max_health", "label": "player_has_correct_max_health()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L90"}, {"id": "tests_edge_cases_fill_rect_creates_correct_material_count", "label": "fill_rect_creates_correct_material_count()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L98"}, {"id": "tests_edge_cases_clear_region_removes_all_materials", "label": "clear_region_removes_all_materials()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L106"}, {"id": "tests_edge_cases_set_cell_overwrites_existing", "label": "set_cell_overwrites_existing()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L115"}, {"id": "tests_edge_cases_out_of_bounds_cell_returns_error", "label": "out_of_bounds_cell_returns_error()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L124"}, {"id": "tests_edge_cases_paint_creates_material_in_radius", "label": "paint_creates_material_in_radius()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L133"}, {"id": "tests_edge_cases_set_gravity_affects_player", "label": "set_gravity_affects_player()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L142"}, {"id": "tests_edge_cases_set_camera_works", "label": "set_camera_works()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L156"}, {"id": "tests_edge_cases_center_camera_on_player", "label": "center_camera_on_player()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L164"}, {"id": "tests_edge_cases_kill_entity_removes_alive_status", "label": "kill_entity_removes_alive_status()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L174"}, {"id": "tests_edge_cases_find_material_locates_existing", "label": "find_material_locates_existing()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L186"}, {"id": "tests_edge_cases_find_material_returns_none_for_absent", "label": "find_material_returns_none_for_absent()", "file_type": "code", "source_file": "tests/edge_cases.rs", "source_location": "L197"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_edge_cases_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L13", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_entity_at_right_boundary", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L25", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_many_entities_simulate_without_crash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L36", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_spawn_many_goblins_stress", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L48", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_player_at_spawn_is_alive", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L64", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_player_bodies_count_matches_layout", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L73", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_goblin_has_correct_max_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L81", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_player_has_correct_max_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L90", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_fill_rect_creates_correct_material_count", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L98", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_clear_region_removes_all_materials", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L106", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_set_cell_overwrites_existing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L115", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_out_of_bounds_cell_returns_error", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L124", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_paint_creates_material_in_radius", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L133", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_set_gravity_affects_player", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L142", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_set_camera_works", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L156", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_center_camera_on_player", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L164", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_kill_entity_removes_alive_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L174", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_find_material_locates_existing", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L186", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_edge_cases_rs", "target": "tests_edge_cases_find_material_returns_none_for_absent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L197", "weight": 1.0}, {"source": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L14", "weight": 1.0}, {"source": "tests_edge_cases_entity_at_right_boundary", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L26", "weight": 1.0}, {"source": "tests_edge_cases_many_entities_simulate_without_crash", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L37", "weight": 1.0}, {"source": "tests_edge_cases_goblin_has_correct_max_health", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L82", "weight": 1.0}, {"source": "tests_edge_cases_fill_rect_creates_correct_material_count", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L99", "weight": 1.0}, {"source": "tests_edge_cases_clear_region_removes_all_materials", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L107", "weight": 1.0}, {"source": "tests_edge_cases_set_cell_overwrites_existing", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L116", "weight": 1.0}, {"source": "tests_edge_cases_out_of_bounds_cell_returns_error", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L125", "weight": 1.0}, {"source": "tests_edge_cases_paint_creates_material_in_radius", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L134", "weight": 1.0}, {"source": "tests_edge_cases_set_gravity_affects_player", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L143", "weight": 1.0}, {"source": "tests_edge_cases_set_camera_works", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L157", "weight": 1.0}, {"source": "tests_edge_cases_center_camera_on_player", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L165", "weight": 1.0}, {"source": "tests_edge_cases_kill_entity_removes_alive_status", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L175", "weight": 1.0}, {"source": "tests_edge_cases_find_material_locates_existing", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L187", "weight": 1.0}, {"source": "tests_edge_cases_find_material_returns_none_for_absent", "target": "tests_edge_cases_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/edge_cases.rs", "source_location": "L198", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_edge_cases_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L6"}, {"caller_nid": "tests_edge_cases_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L7"}, {"caller_nid": "tests_edge_cases_setup", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L8"}, {"caller_nid": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L15"}, {"caller_nid": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L16"}, {"caller_nid": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L17"}, {"caller_nid": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L18"}, {"caller_nid": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L18"}, {"caller_nid": "tests_edge_cases_entity_at_right_boundary", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L27"}, {"caller_nid": "tests_edge_cases_entity_at_right_boundary", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L28"}, {"caller_nid": "tests_edge_cases_entity_at_right_boundary", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L29"}, {"caller_nid": "tests_edge_cases_entity_at_right_boundary", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L30"}, {"caller_nid": "tests_edge_cases_entity_at_right_boundary", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L30"}, {"caller_nid": "tests_edge_cases_many_entities_simulate_without_crash", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L40"}, {"caller_nid": "tests_edge_cases_many_entities_simulate_without_crash", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L42"}, {"caller_nid": "tests_edge_cases_many_entities_simulate_without_crash", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L43"}, {"caller_nid": "tests_edge_cases_many_entities_simulate_without_crash", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L43"}, {"caller_nid": "tests_edge_cases_many_entities_simulate_without_crash", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L43"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L50"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L51"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L52"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L55"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L57"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L58"}, {"caller_nid": "tests_edge_cases_spawn_many_goblins_stress", "callee": "count", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L59"}, {"caller_nid": "tests_edge_cases_player_at_spawn_is_alive", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L67"}, {"caller_nid": "tests_edge_cases_player_bodies_count_matches_layout", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L76"}, {"caller_nid": "tests_edge_cases_goblin_has_correct_max_health", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L83"}, {"caller_nid": "tests_edge_cases_goblin_has_correct_max_health", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L84"}, {"caller_nid": "tests_edge_cases_goblin_has_correct_max_health", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L85"}, {"caller_nid": "tests_edge_cases_goblin_has_correct_max_health", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L85"}, {"caller_nid": "tests_edge_cases_player_has_correct_max_health", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L93"}, {"caller_nid": "tests_edge_cases_fill_rect_creates_correct_material_count", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L100"}, {"caller_nid": "tests_edge_cases_fill_rect_creates_correct_material_count", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L101"}, {"caller_nid": "tests_edge_cases_clear_region_removes_all_materials", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L108"}, {"caller_nid": "tests_edge_cases_clear_region_removes_all_materials", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L109"}, {"caller_nid": "tests_edge_cases_clear_region_removes_all_materials", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L110"}, {"caller_nid": "tests_edge_cases_set_cell_overwrites_existing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L117"}, {"caller_nid": "tests_edge_cases_set_cell_overwrites_existing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L119"}, {"caller_nid": "tests_edge_cases_out_of_bounds_cell_returns_error", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L126"}, {"caller_nid": "tests_edge_cases_out_of_bounds_cell_returns_error", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L128"}, {"caller_nid": "tests_edge_cases_paint_creates_material_in_radius", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L135"}, {"caller_nid": "tests_edge_cases_paint_creates_material_in_radius", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L136"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L144"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L145"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L146"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L147"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L148"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L150"}, {"caller_nid": "tests_edge_cases_set_gravity_affects_player", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L151"}, {"caller_nid": "tests_edge_cases_set_camera_works", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L158"}, {"caller_nid": "tests_edge_cases_center_camera_on_player", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L166"}, {"caller_nid": "tests_edge_cases_center_camera_on_player", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L167"}, {"caller_nid": "tests_edge_cases_center_camera_on_player", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L168"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L176"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L177"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L178"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L179"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L180"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L181"}, {"caller_nid": "tests_edge_cases_kill_entity_removes_alive_status", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L181"}, {"caller_nid": "tests_edge_cases_find_material_locates_existing", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L188"}, {"caller_nid": "tests_edge_cases_find_material_locates_existing", "callee": "find_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L189"}, {"caller_nid": "tests_edge_cases_find_material_returns_none_for_absent", "callee": "find_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/edge_cases.rs", "source_location": "L199"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/b7a5381e3eb2270e501b281c97df2e7561e166e1e279e4f07472965696361b72.json b/graphify-out/cache/ast/v0.8.44/b7a5381e3eb2270e501b281c97df2e7561e166e1e279e4f07472965696361b72.json new file mode 100644 index 0000000..b6fc38b --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/b7a5381e3eb2270e501b281c97df2e7561e166e1e279e4f07472965696361b72.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_replay_rs", "label": "replay.rs", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L1"}, {"id": "ai_replay_replayrecording", "label": "ReplayRecording", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L6"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L8"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L9"}, {"id": "replayevent", "label": "ReplayEvent", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L9"}, {"id": "ai_replay_replayevent", "label": "ReplayEvent", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L14"}, {"id": "ai_replay_replayrecorder", "label": "ReplayRecorder", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L19"}, {"id": "ai_replay_replayrecorder_new", "label": ".new()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L24"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L24"}, {"id": "ai_replay_replayrecorder_set_seed", "label": ".set_seed()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L34"}, {"id": "ai_replay_replayrecorder_record_step", "label": ".record_step()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L38"}, {"id": "ai_replay_replayrecorder_record_action", "label": ".record_action()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L42"}, {"id": "aiaction", "label": "AiAction", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L42"}, {"id": "ai_replay_replayrecorder_save", "label": ".save()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L46"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L46"}, {"id": "ai_replay_replayrecorder_recording", "label": ".recording()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L52"}, {"id": "ai_replay_replayplayer", "label": "ReplayPlayer", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L57"}, {"id": "ai_replay_replayplayer_load", "label": ".load()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L62"}, {"id": "ai_replay_replayplayer_play", "label": ".play()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L69"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L69"}, {"id": "ai_replay_replayplayer_play_until_tick", "label": ".play_until_tick()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L88"}, {"id": "ai_replay_replayplayer_recording", "label": ".recording()", "file_type": "code", "source_file": "src/ai/replay.rs", "source_location": "L118"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "ai_replay_replayrecording", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L6", "weight": 1.0}, {"source": "ai_replay_replayrecording", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L8", "weight": 1.0, "context": "field"}, {"source": "ai_replay_replayrecording", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L9", "weight": 1.0, "context": "field"}, {"source": "ai_replay_replayrecording", "target": "replayevent", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L9", "weight": 1.0, "context": "generic_arg"}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "ai_replay_replayevent", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L14", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "ai_replay_replayrecorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L19", "weight": 1.0}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecording", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L20", "weight": 1.0, "context": "field"}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L24", "weight": 1.0}, {"source": "ai_replay_replayrecorder_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L24", "weight": 1.0, "context": "return_type"}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_set_seed", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L34", "weight": 1.0}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_record_step", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L38", "weight": 1.0}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_record_action", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L42", "weight": 1.0}, {"source": "ai_replay_replayrecorder_record_action", "target": "aiaction", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L42", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_save", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L46", "weight": 1.0}, {"source": "ai_replay_replayrecorder_save", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L46", "weight": 1.0, "context": "return_type"}, {"source": "ai_replay_replayrecorder", "target": "ai_replay_replayrecorder_recording", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L52", "weight": 1.0}, {"source": "ai_replay_replayrecorder_recording", "target": "ai_replay_replayrecording", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L52", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_replay_rs", "target": "ai_replay_replayplayer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L57", "weight": 1.0}, {"source": "ai_replay_replayplayer", "target": "ai_replay_replayrecording", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L58", "weight": 1.0, "context": "field"}, {"source": "ai_replay_replayplayer", "target": "ai_replay_replayplayer_load", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L62", "weight": 1.0}, {"source": "ai_replay_replayplayer_load", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L62", "weight": 1.0, "context": "return_type"}, {"source": "ai_replay_replayplayer_load", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L62", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_replay_replayplayer", "target": "ai_replay_replayplayer_play", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L69", "weight": 1.0}, {"source": "ai_replay_replayplayer_play", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L69", "weight": 1.0, "context": "return_type"}, {"source": "ai_replay_replayplayer", "target": "ai_replay_replayplayer_play_until_tick", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L88", "weight": 1.0}, {"source": "ai_replay_replayplayer_play_until_tick", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L88", "weight": 1.0, "context": "return_type"}, {"source": "ai_replay_replayplayer", "target": "ai_replay_replayplayer_recording", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L118", "weight": 1.0}, {"source": "ai_replay_replayplayer_recording", "target": "ai_replay_replayrecording", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/replay.rs", "source_location": "L118", "weight": 1.0, "context": "return_type"}], "raw_calls": [{"caller_nid": "ai_replay_replayrecorder_save", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L47"}, {"caller_nid": "ai_replay_replayplayer_load", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L64"}, {"caller_nid": "ai_replay_replayplayer_play", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L72"}, {"caller_nid": "ai_replay_replayplayer_play", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L77"}, {"caller_nid": "ai_replay_replayplayer_play", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L80"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L91"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L94"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "saturating_sub", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L99"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L99"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L102"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L106"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L111"}, {"caller_nid": "ai_replay_replayplayer_play_until_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/replay.rs", "source_location": "L112"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/b89001186fb568d71ad057ff976c3c83e8294e7c621921b7aa9ac098d96240eb.json b/graphify-out/cache/ast/v0.8.44/b89001186fb568d71ad057ff976c3c83e8294e7c621921b7aa9ac098d96240eb.json new file mode 100644 index 0000000..a677216 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/b89001186fb568d71ad057ff976c3c83e8294e7c621921b7aa9ac098d96240eb.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_world_mod_rs", "label": "mod.rs", "file_type": "code", "source_file": "src/world/mod.rs", "source_location": "L1"}], "edges": [], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/b8aa33177db42b285835535f2d401d1de12f1620c5531112d4cc013896cbd7f3.json b/graphify-out/cache/ast/v0.8.44/b8aa33177db42b285835535f2d401d1de12f1620c5531112d4cc013896cbd7f3.json new file mode 100644 index 0000000..ee0b073 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/b8aa33177db42b285835535f2d401d1de12f1620c5531112d4cc013896cbd7f3.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_entity_player_rs", "label": "player.rs", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L1"}, {"id": "entity_player_player", "label": "Player", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L3"}, {"id": "entityid", "label": "EntityId", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L4"}, {"id": "entity_player_player_new", "label": ".new()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L10"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L10"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L10"}, {"id": "entity_player_player_spawn_at", "label": ".spawn_at()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L19"}, {"id": "entity_player_player_move_left", "label": ".move_left()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L25"}, {"id": "entity_player_player_move_right", "label": ".move_right()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L31"}, {"id": "entity_player_player_stop_horizontal", "label": ".stop_horizontal()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L37"}, {"id": "entity_player_player_jump", "label": ".jump()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L43"}, {"id": "entity_player_player_entity", "label": ".entity()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L51"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L51"}, {"id": "entity", "label": "Entity", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L51"}, {"id": "entity_player_player_center", "label": ".center()", "file_type": "code", "source_file": "src/entity/player.rs", "source_location": "L55"}], "edges": [{"source": "home_emil_desktop_verbatim_src_entity_player_rs", "target": "entity", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_entity_player_rs", "target": "entity_player_player", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L3", "weight": 1.0}, {"source": "entity_player_player", "target": "entityid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L4", "weight": 1.0, "context": "field"}, {"source": "entity_player_player", "target": "entity_player_player_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L10", "weight": 1.0}, {"source": "entity_player_player_new", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L10", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L10", "weight": 1.0, "context": "return_type"}, {"source": "entity_player_player", "target": "entity_player_player_spawn_at", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L19", "weight": 1.0}, {"source": "entity_player_player_spawn_at", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L19", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player", "target": "entity_player_player_move_left", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L25", "weight": 1.0}, {"source": "entity_player_player_move_left", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L25", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player", "target": "entity_player_player_move_right", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L31", "weight": 1.0}, {"source": "entity_player_player_move_right", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L31", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player", "target": "entity_player_player_stop_horizontal", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L37", "weight": 1.0}, {"source": "entity_player_player_stop_horizontal", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L37", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player", "target": "entity_player_player_jump", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L43", "weight": 1.0}, {"source": "entity_player_player_jump", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L43", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player", "target": "entity_player_player_entity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L51", "weight": 1.0}, {"source": "entity_player_player_entity", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L51", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_player_player_entity", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L51", "weight": 1.0, "context": "return_type"}, {"source": "entity_player_player_entity", "target": "entity", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L51", "weight": 1.0, "context": "generic_arg"}, {"source": "entity_player_player", "target": "entity_player_player_center", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L55", "weight": 1.0}, {"source": "entity_player_player_center", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/entity/player.rs", "source_location": "L55", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "entity_player_player_new", "callee": "spawn", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L11"}, {"caller_nid": "entity_player_player_spawn_at", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L20"}, {"caller_nid": "entity_player_player_spawn_at", "callee": "build_humanoid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L21"}, {"caller_nid": "entity_player_player_move_left", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L26"}, {"caller_nid": "entity_player_player_move_left", "callee": "set_horizontal_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L27"}, {"caller_nid": "entity_player_player_move_right", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L32"}, {"caller_nid": "entity_player_player_move_right", "callee": "set_horizontal_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L33"}, {"caller_nid": "entity_player_player_stop_horizontal", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L38"}, {"caller_nid": "entity_player_player_stop_horizontal", "callee": "set_horizontal_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L39"}, {"caller_nid": "entity_player_player_jump", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L45"}, {"caller_nid": "entity_player_player_jump", "callee": "set_vertical_vel", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L46"}, {"caller_nid": "entity_player_player_center", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L56"}, {"caller_nid": "entity_player_player_center", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/entity/player.rs", "source_location": "L56"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/bbd2d8dbbbbbd080d6e2555d1e2ae948e73a3ca8c26d41b5575de3c5dcc0a8ee.json b/graphify-out/cache/ast/v0.8.44/bbd2d8dbbbbbd080d6e2555d1e2ae948e73a3ca8c26d41b5575de3c5dcc0a8ee.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/bbd2d8dbbbbbd080d6e2555d1e2ae948e73a3ca8c26d41b5575de3c5dcc0a8ee.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/be65af46393cd999c96ae634106a87270c742987b3f4503eaa8bbc3d1aa65528.json b/graphify-out/cache/ast/v0.8.44/be65af46393cd999c96ae634106a87270c742987b3f4503eaa8bbc3d1aa65528.json new file mode 100644 index 0000000..fc586fb --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/be65af46393cd999c96ae634106a87270c742987b3f4503eaa8bbc3d1aa65528.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_render_window_input_rs", "label": "window_input.rs", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L1"}, {"id": "render_window_input_windowinput", "label": "WindowInput", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L4"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L13"}, {"id": "hashset", "label": "HashSet", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L15"}, {"id": "keycode", "label": "KeyCode", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L15"}, {"id": "render_window_input_windowinput_new", "label": ".new()", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L19"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L19"}, {"id": "render_window_input_windowinput_on_key_event", "label": ".on_key_event()", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L29"}, {"id": "physicalkey", "label": "PhysicalKey", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L29"}, {"id": "elementstate", "label": "ElementState", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L29"}, {"id": "render_window_input_windowinput_update", "label": ".update()", "file_type": "code", "source_file": "src/render/window_input.rs", "source_location": "L45"}], "edges": [{"source": "home_emil_desktop_verbatim_src_render_window_input_rs", "target": "hashset", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_window_input_rs", "target": "keyboard", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_window_input_rs", "target": "render_window_input_windowinput", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L4", "weight": 1.0}, {"source": "render_window_input_windowinput", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L13", "weight": 1.0, "context": "field"}, {"source": "render_window_input_windowinput", "target": "hashset", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L15", "weight": 1.0, "context": "field"}, {"source": "render_window_input_windowinput", "target": "keycode", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L15", "weight": 1.0, "context": "generic_arg"}, {"source": "render_window_input_windowinput", "target": "render_window_input_windowinput_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L19", "weight": 1.0}, {"source": "render_window_input_windowinput_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L19", "weight": 1.0, "context": "return_type"}, {"source": "render_window_input_windowinput", "target": "render_window_input_windowinput_on_key_event", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L29", "weight": 1.0}, {"source": "render_window_input_windowinput_on_key_event", "target": "physicalkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L29", "weight": 1.0, "context": "parameter_type"}, {"source": "render_window_input_windowinput_on_key_event", "target": "elementstate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L29", "weight": 1.0, "context": "parameter_type"}, {"source": "render_window_input_windowinput", "target": "render_window_input_windowinput_update", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/window_input.rs", "source_location": "L45", "weight": 1.0}], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/c3273d42f58f9db0a34d2000c572d2c4f18ce38d3f1a2e355e2f71d035f0380c.json b/graphify-out/cache/ast/v0.8.44/c3273d42f58f9db0a34d2000c572d2c4f18ce38d3f1a2e355e2f71d035f0380c.json new file mode 100644 index 0000000..19d418e --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/c3273d42f58f9db0a34d2000c572d2c4f18ce38d3f1a2e355e2f71d035f0380c.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_determinism_rs", "label": "determinism.rs", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L1"}, {"id": "tests_determinism_setup", "label": "setup()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L5"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L5"}, {"id": "tests_determinism_same_seed_same_player_position", "label": "same_seed_same_player_position()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L14"}, {"id": "tests_determinism_same_seed_same_entity_count", "label": "same_seed_same_entity_count()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L28"}, {"id": "tests_determinism_same_seed_same_grid_state", "label": "same_seed_same_grid_state()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L39"}, {"id": "tests_determinism_replay_exact_match", "label": "replay_exact_match()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L61"}, {"id": "tests_determinism_replay_stop_at_tick", "label": "replay_stop_at_tick()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L87"}, {"id": "tests_determinism_recording_captures_all_actions", "label": "recording_captures_all_actions()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L105"}, {"id": "tests_determinism_determinism_with_spawn_and_damage", "label": "determinism_with_spawn_and_damage()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L121"}, {"id": "tests_determinism_hundred_tick_determinism", "label": "hundred_tick_determinism()", "file_type": "code", "source_file": "tests/determinism.rs", "source_location": "L140"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "replayplayer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_setup", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L5", "weight": 1.0}, {"source": "tests_determinism_setup", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L5", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_same_seed_same_player_position", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L14", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_same_seed_same_entity_count", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L28", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_same_seed_same_grid_state", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L39", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_replay_exact_match", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L61", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_replay_stop_at_tick", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L87", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_recording_captures_all_actions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L105", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_determinism_with_spawn_and_damage", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L121", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_determinism_rs", "target": "tests_determinism_hundred_tick_determinism", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L140", "weight": 1.0}, {"source": "tests_determinism_determinism_with_spawn_and_damage", "target": "tests_determinism_setup", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/determinism.rs", "source_location": "L122", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_determinism_setup", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L7"}, {"caller_nid": "tests_determinism_setup", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L8"}, {"caller_nid": "tests_determinism_setup", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L9"}, {"caller_nid": "tests_determinism_same_seed_same_player_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L17"}, {"caller_nid": "tests_determinism_same_seed_same_player_position", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L20"}, {"caller_nid": "tests_determinism_same_seed_same_player_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L21"}, {"caller_nid": "tests_determinism_same_seed_same_player_position", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L22"}, {"caller_nid": "tests_determinism_same_seed_same_entity_count", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L31"}, {"caller_nid": "tests_determinism_same_seed_same_entity_count", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L34"}, {"caller_nid": "tests_determinism_same_seed_same_grid_state", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L42"}, {"caller_nid": "tests_determinism_same_seed_same_grid_state", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L45"}, {"caller_nid": "tests_determinism_same_seed_same_grid_state", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L48"}, {"caller_nid": "tests_determinism_same_seed_same_grid_state", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L49"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L64"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L65"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L66"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L67"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L68"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L69"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L70"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L71"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L72"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "play", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L75"}, {"caller_nid": "tests_determinism_replay_exact_match", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L76"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L90"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L91"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L92"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L93"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L94"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "play_until_tick", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L97"}, {"caller_nid": "tests_determinism_replay_stop_at_tick", "callee": "play", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L100"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L108"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L109"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L110"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L111"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L112"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L113"}, {"caller_nid": "tests_determinism_recording_captures_all_actions", "callee": "recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L116"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L123"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L124"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L125"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L128"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L129"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L130"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L132"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L132"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L132"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "find", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L133"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "into_iter", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L133"}, {"caller_nid": "tests_determinism_determinism_with_spawn_and_damage", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L133"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L143"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L144"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L148"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L149"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L151"}, {"caller_nid": "tests_determinism_hundred_tick_determinism", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/determinism.rs", "source_location": "L152"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/cbbffb0643983e1e760be640e637268ea20d13a04a2240021afc946957e32776.json b/graphify-out/cache/ast/v0.8.44/cbbffb0643983e1e760be640e637268ea20d13a04a2240021afc946957e32776.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/cbbffb0643983e1e760be640e637268ea20d13a04a2240021afc946957e32776.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/d17d3eb2784633ddd404ec8460f64aeb0d7504c6cbd7020de5b496473f0465c1.json b/graphify-out/cache/ast/v0.8.44/d17d3eb2784633ddd404ec8460f64aeb0d7504c6cbd7020de5b496473f0465c1.json new file mode 100644 index 0000000..17f2225 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/d17d3eb2784633ddd404ec8460f64aeb0d7504c6cbd7020de5b496473f0465c1.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_water_rs", "label": "physics_water.rs", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L1"}, {"id": "tests_physics_water_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L4"}, {"id": "tests_physics_water_water_flows_down", "label": "water_flows_down()", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L12"}, {"id": "tests_physics_water_water_spreads_sideways", "label": "water_spreads_sideways()", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L24"}, {"id": "tests_physics_water_water_does_not_pass_through_stone_wall", "label": "water_does_not_pass_through_stone_wall()", "file_type": "code", "source_file": "tests/physics_water.rs", "source_location": "L35"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "tests_physics_water_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_water_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "tests_physics_water_water_flows_down", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "tests_physics_water_water_spreads_sideways", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L24", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_water_rs", "target": "tests_physics_water_water_does_not_pass_through_stone_wall", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L35", "weight": 1.0}, {"source": "tests_physics_water_water_flows_down", "target": "tests_physics_water_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_water_water_spreads_sideways", "target": "tests_physics_water_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L25", "weight": 1.0}, {"source": "tests_physics_water_water_does_not_pass_through_stone_wall", "target": "tests_physics_water_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_water.rs", "source_location": "L36", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_water_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_water_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L17"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L18"}, {"caller_nid": "tests_physics_water_water_flows_down", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L19"}, {"caller_nid": "tests_physics_water_water_spreads_sideways", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L26"}, {"caller_nid": "tests_physics_water_water_spreads_sideways", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L27"}, {"caller_nid": "tests_physics_water_water_spreads_sideways", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L28"}, {"caller_nid": "tests_physics_water_water_spreads_sideways", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L29"}, {"caller_nid": "tests_physics_water_water_spreads_sideways", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L30"}, {"caller_nid": "tests_physics_water_water_does_not_pass_through_stone_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L37"}, {"caller_nid": "tests_physics_water_water_does_not_pass_through_stone_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L38"}, {"caller_nid": "tests_physics_water_water_does_not_pass_through_stone_wall", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L39"}, {"caller_nid": "tests_physics_water_water_does_not_pass_through_stone_wall", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L40"}, {"caller_nid": "tests_physics_water_water_does_not_pass_through_stone_wall", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_water.rs", "source_location": "L41"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/d21f06eaa154cf8920dac06ac565a4c17ac9e78fcc9580bde92e17eb45e8af92.json b/graphify-out/cache/ast/v0.8.44/d21f06eaa154cf8920dac06ac565a4c17ac9e78fcc9580bde92e17eb45e8af92.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/d21f06eaa154cf8920dac06ac565a4c17ac9e78fcc9580bde92e17eb45e8af92.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/db93c1950666d4b33b9fc8e8c52aca39d35493ae61c5e3ac1854d0d5bc3b704b.json b/graphify-out/cache/ast/v0.8.44/db93c1950666d4b33b9fc8e8c52aca39d35493ae61c5e3ac1854d0d5bc3b704b.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/db93c1950666d4b33b9fc8e8c52aca39d35493ae61c5e3ac1854d0d5bc3b704b.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/e695c318e894a8c99e79400b65bb513336bb3e979eb9a819d9870d9dae4ece0d.json b/graphify-out/cache/ast/v0.8.44/e695c318e894a8c99e79400b65bb513336bb3e979eb9a819d9870d9dae4ece0d.json new file mode 100644 index 0000000..35e318b --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/e695c318e894a8c99e79400b65bb513336bb3e979eb9a819d9870d9dae4ece0d.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_action_rs", "label": "action.rs", "file_type": "code", "source_file": "src/ai/action.rs", "source_location": "L1"}, {"id": "ai_action_aiaction", "label": "AiAction", "file_type": "code", "source_file": "src/ai/action.rs", "source_location": "L9"}, {"id": "ai_action_aiaction_name", "label": ".name()", "file_type": "code", "source_file": "src/ai/action.rs", "source_location": "L61"}, {"id": "ai_action_aiaction_execute", "label": ".execute()", "file_type": "code", "source_file": "src/ai/action.rs", "source_location": "L80"}, {"id": "game", "label": "Game", "file_type": "code", "source_file": "src/ai/action.rs", "source_location": "L80"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "material_from_name", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "parse_entity_kind", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "game", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "cell", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_action_rs", "target": "ai_action_aiaction", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L9", "weight": 1.0}, {"source": "ai_action_aiaction", "target": "ai_action_aiaction_name", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L61", "weight": 1.0}, {"source": "ai_action_aiaction", "target": "ai_action_aiaction_execute", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L80", "weight": 1.0}, {"source": "ai_action_aiaction_execute", "target": "game", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/action.rs", "source_location": "L80", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "ai_action_aiaction_execute", "callee": "move_left", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L83"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "move_right", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L86"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "check_on_ground", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L89"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "jump", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L90"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "material_from_name", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L94"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L98"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "material_from_name", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L105"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L106"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "material_from_name", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L110"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "set_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L113"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "parse_entity_kind", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L126"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "spawn", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L127"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L128"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "build_humanoid", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L129"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L134"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "kill", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L135"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "get_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L139"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "take_damage", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L140"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "center", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L151"}, {"caller_nid": "ai_action_aiaction_execute", "callee": "center_camera_on", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/action.rs", "source_location": "L152"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/e78cb479a3dba268e610d0f6e4c12e9a9626893ac0c7888a0d6cd64f7bd76a73.json b/graphify-out/cache/ast/v0.8.44/e78cb479a3dba268e610d0f6e4c12e9a9626893ac0c7888a0d6cd64f7bd76a73.json new file mode 100644 index 0000000..3377d1e --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/e78cb479a3dba268e610d0f6e4c12e9a9626893ac0c7888a0d6cd64f7bd76a73.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_tests_physics_acid_rs", "label": "physics_acid.rs", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L1"}, {"id": "tests_physics_acid_setup_empty", "label": "setup_empty()", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L4"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L4"}, {"id": "tests_physics_acid_acid_dissolves_wood", "label": "acid_dissolves_wood()", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L12"}, {"id": "tests_physics_acid_acid_does_not_dissolve_stone", "label": "acid_does_not_dissolve_stone()", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L23"}, {"id": "tests_physics_acid_acid_flows_down", "label": "acid_flows_down()", "file_type": "code", "source_file": "tests/physics_acid.rs", "source_location": "L32"}], "edges": [{"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "tests_physics_acid_setup_empty", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L4", "weight": 1.0}, {"source": "tests_physics_acid_setup_empty", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L4", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "tests_physics_acid_acid_dissolves_wood", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L12", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "tests_physics_acid_acid_does_not_dissolve_stone", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L23", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_tests_physics_acid_rs", "target": "tests_physics_acid_acid_flows_down", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L32", "weight": 1.0}, {"source": "tests_physics_acid_acid_dissolves_wood", "target": "tests_physics_acid_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L13", "weight": 1.0}, {"source": "tests_physics_acid_acid_does_not_dissolve_stone", "target": "tests_physics_acid_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L24", "weight": 1.0}, {"source": "tests_physics_acid_acid_flows_down", "target": "tests_physics_acid_setup_empty", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/physics_acid.rs", "source_location": "L33", "weight": 1.0}], "raw_calls": [{"caller_nid": "tests_physics_acid_setup_empty", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L6"}, {"caller_nid": "tests_physics_acid_setup_empty", "callee": "clear_area", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L7"}, {"caller_nid": "tests_physics_acid_acid_dissolves_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L14"}, {"caller_nid": "tests_physics_acid_acid_dissolves_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L15"}, {"caller_nid": "tests_physics_acid_acid_dissolves_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L16"}, {"caller_nid": "tests_physics_acid_acid_dissolves_wood", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L17"}, {"caller_nid": "tests_physics_acid_acid_dissolves_wood", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L18"}, {"caller_nid": "tests_physics_acid_acid_does_not_dissolve_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L25"}, {"caller_nid": "tests_physics_acid_acid_does_not_dissolve_stone", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L26"}, {"caller_nid": "tests_physics_acid_acid_does_not_dissolve_stone", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L27"}, {"caller_nid": "tests_physics_acid_acid_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L34"}, {"caller_nid": "tests_physics_acid_acid_flows_down", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L35"}, {"caller_nid": "tests_physics_acid_acid_flows_down", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/tests/physics_acid.rs", "source_location": "L36"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/ecc068c28276959a40628e1a4240204185086de14630739e2536f47b9b2d212f.json b/graphify-out/cache/ast/v0.8.44/ecc068c28276959a40628e1a4240204185086de14630739e2536f47b9b2d212f.json new file mode 100644 index 0000000..121f4db --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/ecc068c28276959a40628e1a4240204185086de14630739e2536f47b9b2d212f.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_render_mod_rs", "label": "mod.rs", "file_type": "code", "source_file": "src/render/mod.rs", "source_location": "L1"}, {"id": "render_mod_renderer", "label": "Renderer", "file_type": "code", "source_file": "src/render/mod.rs", "source_location": "L9"}], "edges": [{"source": "home_emil_desktop_verbatim_src_render_mod_rs", "target": "entitymanager", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/mod.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_mod_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/mod.rs", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_mod_rs", "target": "render_mod_renderer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/mod.rs", "source_location": "L9", "weight": 1.0}], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/f22ba9e1d92577eee87d4e8454f243ca22e8b718a666344f437ac59b6d03d7c2.json b/graphify-out/cache/ast/v0.8.44/f22ba9e1d92577eee87d4e8454f243ca22e8b718a666344f437ac59b6d03d7c2.json new file mode 100644 index 0000000..638021a --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/f22ba9e1d92577eee87d4e8454f243ca22e8b718a666344f437ac59b6d03d7c2.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_render_terminal_rs", "label": "terminal.rs", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L1"}, {"id": "render_terminal_terminalrenderer", "label": "TerminalRenderer", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L15"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L18"}, {"id": "render_terminal_terminalrenderer_new", "label": ".new()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L23"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L23"}, {"id": "render_terminal_terminalrenderer_detect_size", "label": ".detect_size()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L32"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L32"}, {"id": "render_terminal_terminalrenderer_empty_cell", "label": ".empty_cell()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L39"}, {"id": "renderer", "label": "Renderer", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L44"}, {"id": "render_terminal_terminalrenderer_init", "label": ".init()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L45"}, {"id": "render_terminal_terminalrenderer_render", "label": ".render()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L67"}, {"id": "grid", "label": "Grid", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L67"}, {"id": "entitymanager", "label": "EntityManager", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L67"}, {"id": "render_terminal_terminalrenderer_shutdown", "label": ".shutdown()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L157"}, {"id": "render_terminal_terminalrenderer_viewport_w", "label": ".viewport_w()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L174"}, {"id": "render_terminal_terminalrenderer_viewport_h", "label": ".viewport_h()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L178"}, {"id": "drop", "label": "Drop", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L183"}, {"id": "render_terminal_terminalrenderer_drop", "label": ".drop()", "file_type": "code", "source_file": "src/render/terminal.rs", "source_location": "L184"}], "edges": [{"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "crossterm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "entitymanager", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "renderer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "materialid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "grid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_render_terminal_rs", "target": "render_terminal_terminalrenderer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L15", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L18", "weight": 1.0, "context": "field"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L23", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_new", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L23", "weight": 1.0, "context": "return_type"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_detect_size", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L32", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_detect_size", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L32", "weight": 1.0, "context": "return_type"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_empty_cell", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L39", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "renderer", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L44", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L45", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_init", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L45", "weight": 1.0, "context": "return_type"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_render", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L67", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_render", "target": "grid", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L67", "weight": 1.0, "context": "parameter_type"}, {"source": "render_terminal_terminalrenderer_render", "target": "entitymanager", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L67", "weight": 1.0, "context": "parameter_type"}, {"source": "render_terminal_terminalrenderer_render", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L67", "weight": 1.0, "context": "return_type"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_shutdown", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L157", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_shutdown", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L157", "weight": 1.0, "context": "return_type"}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_viewport_w", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L174", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_viewport_h", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L178", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "drop", "relation": "implements", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L183", "weight": 1.0}, {"source": "render_terminal_terminalrenderer", "target": "render_terminal_terminalrenderer_drop", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L184", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_init", "target": "render_terminal_terminalrenderer_detect_size", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L46", "weight": 1.0}, {"source": "render_terminal_terminalrenderer_drop", "target": "render_terminal_terminalrenderer_shutdown", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/render/terminal.rs", "source_location": "L185", "weight": 1.0}], "raw_calls": [{"caller_nid": "render_terminal_terminalrenderer_detect_size", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L33"}, {"caller_nid": "render_terminal_terminalrenderer_detect_size", "callee": "term_size", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L33"}, {"caller_nid": "render_terminal_terminalrenderer_init", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L50"}, {"caller_nid": "render_terminal_terminalrenderer_render", "callee": "stdout", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L72"}, {"caller_nid": "render_terminal_terminalrenderer_render", "callee": "in_bounds", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L82"}, {"caller_nid": "render_terminal_terminalrenderer_render", "callee": "display_char", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L90"}, {"caller_nid": "render_terminal_terminalrenderer_render", "callee": "saturating_add", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L92"}, {"caller_nid": "render_terminal_terminalrenderer_render", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L152"}, {"caller_nid": "render_terminal_terminalrenderer_shutdown", "callee": "map_err", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/render/terminal.rs", "source_location": "L169"}]} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/f3b1806cd23c230ecffce623b96718eba63a57ab7ca50d833d2a767776914a91.json b/graphify-out/cache/ast/v0.8.44/f3b1806cd23c230ecffce623b96718eba63a57ab7ca50d833d2a767776914a91.json new file mode 100644 index 0000000..216ffe9 --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/f3b1806cd23c230ecffce623b96718eba63a57ab7ca50d833d2a767776914a91.json @@ -0,0 +1 @@ +{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_mod_rs", "label": "mod.rs", "file_type": "code", "source_file": "src/ai/mod.rs", "source_location": "L1"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "state", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "replay", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "scenario", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_mod_rs", "target": "run_pipe_protocol", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/mod.rs", "source_location": "L13", "weight": 1.0, "context": "import"}], "raw_calls": []} \ No newline at end of file diff --git a/graphify-out/cache/ast/v0.8.44/f7ea3b715c5e63353dadd9a81af8a9ba0648d68c701ccadc4abbaab9ca9548d6.json b/graphify-out/cache/ast/v0.8.44/f7ea3b715c5e63353dadd9a81af8a9ba0648d68c701ccadc4abbaab9ca9548d6.json new file mode 100644 index 0000000..ca479ef --- /dev/null +++ b/graphify-out/cache/ast/v0.8.44/f7ea3b715c5e63353dadd9a81af8a9ba0648d68c701ccadc4abbaab9ca9548d6.json @@ -0,0 +1 @@ +{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"} \ No newline at end of file diff --git a/graphify-out/cache/semantic/69c78dcb576cc57ce585afbe4e5892e69e38732b9ee74e165a330bd71722991c.json b/graphify-out/cache/semantic/69c78dcb576cc57ce585afbe4e5892e69e38732b9ee74e165a330bd71722991c.json new file mode 100644 index 0000000..aa2178d --- /dev/null +++ b/graphify-out/cache/semantic/69c78dcb576cc57ce585afbe4e5892e69e38732b9ee74e165a330bd71722991c.json @@ -0,0 +1 @@ +{"nodes": [{"id": "headless_dump_headless_dump", "label": "headless_dump.txt", "file_type": "document", "source_file": "headless_dump.txt", "source_location": null, "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "headless_dump_player", "label": "Player entity (headless dump)", "file_type": "concept", "source_file": "headless_dump.txt", "source_location": "line 33", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "headless_dump_goblin", "label": "Goblin entity (headless dump)", "file_type": "concept", "source_file": "headless_dump.txt", "source_location": "line 184", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "headless_dump_grid_render", "label": "Grid ASCII rendering (headless dump)", "file_type": "concept", "source_file": "headless_dump.txt", "source_location": "line 7", "source_url": null, "captured_at": null, "author": null, "contributor": null}], "edges": [{"source": "headless_dump_headless_dump", "target": "headless_dump_player", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "headless_dump.txt", "source_location": "line 33", "weight": 1.0}, {"source": "headless_dump_headless_dump", "target": "headless_dump_goblin", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "headless_dump.txt", "source_location": "line 184", "weight": 1.0}, {"source": "headless_dump_headless_dump", "target": "headless_dump_grid_render", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "headless_dump.txt", "source_location": "line 7", "weight": 1.0}, {"source": "headless_dump_player", "target": "headless_dump_goblin", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "headless_dump.txt", "source_location": "line 184", "weight": 1.0}, {"source": "headless_dump_grid_render", "target": "agents_render_terminal", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "headless_dump.txt", "source_location": "line 7", "weight": 1.0}, {"source": "headless_dump_goblin", "target": "plan_phase1_combat", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.75, "source_file": "headless_dump.txt", "source_location": "line 184", "weight": 1.0}], "hyperedges": []} \ No newline at end of file diff --git a/graphify-out/cache/semantic/8731bbd5bde1dcb4d767eb0795fef450dfa116a1d4da5c07efa761807d16726e.json b/graphify-out/cache/semantic/8731bbd5bde1dcb4d767eb0795fef450dfa116a1d4da5c07efa761807d16726e.json new file mode 100644 index 0000000..d44cef8 --- /dev/null +++ b/graphify-out/cache/semantic/8731bbd5bde1dcb4d767eb0795fef450dfa116a1d4da5c07efa761807d16726e.json @@ -0,0 +1 @@ +{"nodes": [{"id": "agents_agents", "label": "AGENTS.md", "file_type": "document", "source_file": "AGENTS.md", "source_location": null, "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_grid", "label": "Grid (250x250) source of truth", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 42", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "AI-observable, dual renderer, single state. No double buffer \u2014 Grid::next was removed."}, {"id": "agents_cell", "label": "Cell struct", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 42", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_materialregistry", "label": "MaterialRegistry", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 55", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_cellularautomaton", "label": "CellularAutomaton", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 69", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_entitymanager", "label": "EntityManager", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 71", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_gpurenderer", "label": "GpuRenderer trait", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Unifies VulkanRenderer and GraphicsRenderer behind generic run_gpu_mode(). Both have identical event loops; only shader/instance format differs."}, {"id": "agents_vulkanrenderer", "label": "VulkanRenderer", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_graphicsrenderer", "label": "GraphicsRenderer", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_run_gpu_mode", "label": "run_gpu_mode()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 48", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_game_fixed_update", "label": "Game::fixed_update()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_game_run", "label": "Game::run()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_inputhandler", "label": "InputHandler", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_windowinput", "label": "WindowInput", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 50", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_gamesession", "label": "GameSession", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 73", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_aiaction", "label": "AiAction", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 73", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_player", "label": "Player", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 71", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_verletsolver", "label": "VerletSolver", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_subbody", "label": "SubBody", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_constraint", "label": "Constraint", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 70", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_rigid_entity", "label": "rigid entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_ragdoll_entity", "label": "ragdoll entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_cellular_entity", "label": "cellular entity type", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 44", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_terminal", "label": "terminal render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_ascii", "label": "ascii render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_graphics", "label": "graphics render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 46", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_render_pipe", "label": "pipe render mode", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 10", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_check_resize", "label": "check_resize()", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 58", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_update_rigid_entity", "label": "update_rigid_entity", "file_type": "concept", "source_file": "AGENTS.md", "source_location": "line 57", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "agents_slope_stepping", "label": "slope stepping convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 57", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "update_rigid_entity tries stepping up 1 cell before resolving X collision, enabling walking up slopes without jumping."}, {"id": "agents_vector_movement", "label": "vector movement convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 56", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Player::move_left/right sets velocity directly via set_horizontal_vel, no accumulation. stop_horizontal zeroes it. Jump is edge-triggered (press only, not held)."}, {"id": "agents_inline_color", "label": "inline cell colors convention", "file_type": "rationale", "source_file": "AGENTS.md", "source_location": "line 55", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Renderers read cell.fg/cell.bg directly, never lookup MaterialRegistry in render path. Registry is for physics properties only (density, solid, flammable, etc.). Cell::new() copies colors from MaterialRegistry at creation time."}], "edges": [{"source": "agents_agents", "target": "plan_plan", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 76", "weight": 1.0}, {"source": "agents_grid", "target": "agents_cell", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 42", "weight": 1.0}, {"source": "agents_cell", "target": "agents_materialregistry", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 59", "weight": 1.0}, {"source": "agents_gpurenderer", "target": "agents_vulkanrenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_gpurenderer", "target": "agents_graphicsrenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_run_gpu_mode", "target": "agents_gpurenderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 48", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_cellularautomaton", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_rigid_entity", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "agents_ragdoll_entity", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_game_run", "target": "agents_inputhandler", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_run_gpu_mode", "target": "agents_windowinput", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_render_terminal", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "agents_grid", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_terminal", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "agents_entitymanager", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_gamesession", "target": "agents_aiaction", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_player", "target": "agents_vector_movement", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 56", "weight": 1.0}, {"source": "agents_update_rigid_entity", "target": "agents_slope_stepping", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 57", "weight": 1.0}, {"source": "agents_vulkanrenderer", "target": "agents_check_resize", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_graphicsrenderer", "target": "agents_check_resize", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_ragdoll_entity", "target": "agents_verletsolver", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_verletsolver", "target": "agents_constraint", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_verletsolver", "target": "agents_subbody", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_inline_color", "target": "agents_cell", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_inline_color", "target": "agents_materialregistry", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_grid", "target": "plan_verbatim_project", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 42", "weight": 1.0}, {"source": "agents_render_terminal", "target": "plan_terminal_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_ascii", "target": "plan_ascii_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_render_graphics", "target": "plan_graphics_renderer", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 46", "weight": 1.0}, {"source": "agents_rigid_entity", "target": "plan_rigid_entities", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_ragdoll_entity", "target": "plan_ragdoll_corpses", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_player", "target": "headless_dump_player", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 71", "weight": 1.0}, {"source": "agents_check_resize", "target": "plan_adaptive_viewport", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 58", "weight": 1.0}, {"source": "agents_inline_color", "target": "plan_per_cell_color", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 55", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_ai_pipe_protocol", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_replay_system", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 73", "weight": 1.0}, {"source": "agents_game_fixed_update", "target": "plan_fixed_timestep", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 50", "weight": 1.0}, {"source": "agents_render_pipe", "target": "plan_ai_pipe_protocol", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "AGENTS.md", "source_location": "line 10", "weight": 1.0}, {"source": "agents_verletsolver", "target": "plan_ragdoll_corpses", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 70", "weight": 1.0}, {"source": "agents_cellular_entity", "target": "plan_materials", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 44", "weight": 1.0}, {"source": "agents_cellularautomaton", "target": "plan_materials", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 69", "weight": 1.0}, {"source": "agents_gamesession", "target": "plan_test_framework", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "AGENTS.md", "source_location": "line 25", "weight": 1.0}], "hyperedges": [{"id": "he_game_loop_pipeline", "label": "Game loop fixed_update pipeline: CA step \u2192 rigid update \u2192 ragdoll update \u2192 damage", "node_ids": ["agents_game_fixed_update", "agents_cellularautomaton", "agents_rigid_entity", "agents_ragdoll_entity"], "source_file": "AGENTS.md", "source_location": "line 50"}, {"id": "he_triple_render_shared_state", "label": "Three render modes read the same Grid + EntityManager (single source of truth)", "node_ids": ["agents_render_terminal", "agents_render_ascii", "agents_render_graphics", "agents_grid", "agents_entitymanager"], "source_file": "AGENTS.md", "source_location": "line 46"}, {"id": "he_gpu_renderer_unification", "label": "GpuRenderer trait unifies VulkanRenderer + GraphicsRenderer behind run_gpu_mode() with identical event loops", "node_ids": ["agents_gpurenderer", "agents_vulkanrenderer", "agents_graphicsrenderer", "agents_run_gpu_mode"], "source_file": "AGENTS.md", "source_location": "line 48"}]} \ No newline at end of file diff --git a/graphify-out/cache/semantic/eb2d77197a18972c900988906ef5d72b790c27392863e8f450910dde25149cbb.json b/graphify-out/cache/semantic/eb2d77197a18972c900988906ef5d72b790c27392863e8f450910dde25149cbb.json new file mode 100644 index 0000000..99ac4a3 --- /dev/null +++ b/graphify-out/cache/semantic/eb2d77197a18972c900988906ef5d72b790c27392863e8f450910dde25149cbb.json @@ -0,0 +1 @@ +{"nodes": [{"id": "plan_plan", "label": "PLAN.md", "file_type": "document", "source_file": "PLAN.md", "source_location": null, "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_verbatim_project", "label": "Verbatim \u2014 ASCII physics RPG", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 1", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase1_combat", "label": "Phase 1: Combat & Interaction", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 58", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase15_ui", "label": "Phase 1.5: UI Layer", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 77", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase2_world", "label": "Phase 2: World & Exploration", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 140", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase3_rpg", "label": "Phase 3: RPG Layer", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 159", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase4_render", "label": "Phase 4: Render Modes", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 184", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase4b_graphics", "label": "Phase 4b: Graphics layers (lighting/particles/textures)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 223", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase5_content", "label": "Phase 5: Content & Polish", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 250", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase6_physics", "label": "Phase 6: Advanced Physics", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 264", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase7_ai", "label": "Phase 7: AI Agent Integration", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 291", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_phase8_web", "label": "Phase 8: Web Arena & Training Pipeline", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 315", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_uilayer", "label": "UiLayer \u2014 non-destructive overlay", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 81", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "UI layer NEVER writes to grid, entities, or any game state. It reads state and renders visuals on top. This keeps the source of truth clean and AI-observable (pipe protocol exports world state, not UI state)."}, {"id": "plan_chunk_system", "label": "Chunk system (64x64)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 144", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_multilayer_world", "label": "Multi-layer world architecture", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 280", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "World { layers: Vec } \u2014 each layer is a separate grid updated by its own rules, with cross-layer interactions. Layers interact: fire heats temp layer \u2192 temp melts material \u2192 material releases gas."}, {"id": "plan_materials", "label": "14 CA Materials", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 12", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_rigid_entities", "label": "Rigid entities (AABB + slope stepping)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 13", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_ragdoll_corpses", "label": "Ragdoll corpses (Verlet)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 14", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_terminal_renderer", "label": "Terminal renderer (ANSI)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 15", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_ascii_renderer", "label": "ASCII renderer (Vulkan glyph atlas)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 16", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_graphics_renderer", "label": "Graphics renderer (Vulkan colored cells)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 17", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_ai_pipe_protocol", "label": "AI pipe protocol (JSON stdin/stdout)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 18", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Any AI agent can connect, no vision needed. Exports world state, not UI state."}, {"id": "plan_test_framework", "label": "Test framework (109 tests + 14 scenarios)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 19", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_replay_system", "label": "Replay system (seeded determinism)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 20", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_world_generation", "label": "World generation", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 21", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_adaptive_viewport", "label": "Adaptive viewport", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 23", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_per_cell_color", "label": "Per-cell color (reality layer)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 24", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Each Cell stores fg/bg inline, no registry lookup in render path."}, {"id": "plan_cross_platform", "label": "Cross-platform support (Win/Linux/macOS)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 22", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_determinism", "label": "Seeded RNG determinism", "file_type": "rationale", "source_file": "PLAN.md", "source_location": "line 357", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Replay system, reproducible tests."}, {"id": "plan_fixed_timestep", "label": "Fixed 60Hz timestep", "file_type": "rationale", "source_file": "PLAN.md", "source_location": "line 36", "source_url": null, "captured_at": null, "author": null, "contributor": null, "rationale": "Deterministic replay, consistent physics."}, {"id": "plan_rpg_mutations", "label": "Mutations system (Caves of Qud style)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 167", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_llm_agent", "label": "LLM agent (Ollama/Llama/Qwen)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 295", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_rl_agent", "label": "RL agent (PyTorch policy network)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 299", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_web_arena", "label": "Web arena (browser multiplayer)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 317", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_wasm_render", "label": "WASM render port (Canvas/WebGL)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 320", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "plan_websocket_server", "label": "WebSocket server (Rust + tokio)", "file_type": "concept", "source_file": "PLAN.md", "source_location": "line 319", "source_url": null, "captured_at": null, "author": null, "contributor": null}], "edges": [{"source": "plan_plan", "target": "plan_verbatim_project", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 1", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase1_combat", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 58", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase15_ui", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 77", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase2_world", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 140", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase3_rpg", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 159", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase4_render", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 184", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase5_content", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 250", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase6_physics", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 264", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase7_ai", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 291", "weight": 1.0}, {"source": "plan_plan", "target": "plan_phase8_web", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 315", "weight": 1.0}, {"source": "plan_plan", "target": "plan_materials", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 12", "weight": 1.0}, {"source": "plan_plan", "target": "plan_rigid_entities", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 13", "weight": 1.0}, {"source": "plan_plan", "target": "plan_ragdoll_corpses", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 14", "weight": 1.0}, {"source": "plan_plan", "target": "plan_terminal_renderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 15", "weight": 1.0}, {"source": "plan_plan", "target": "plan_ascii_renderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 16", "weight": 1.0}, {"source": "plan_plan", "target": "plan_graphics_renderer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 17", "weight": 1.0}, {"source": "plan_plan", "target": "plan_ai_pipe_protocol", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 18", "weight": 1.0}, {"source": "plan_plan", "target": "plan_test_framework", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 19", "weight": 1.0}, {"source": "plan_plan", "target": "plan_replay_system", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 20", "weight": 1.0}, {"source": "plan_plan", "target": "plan_world_generation", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 21", "weight": 1.0}, {"source": "plan_plan", "target": "plan_adaptive_viewport", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 23", "weight": 1.0}, {"source": "plan_plan", "target": "plan_per_cell_color", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 24", "weight": 1.0}, {"source": "plan_plan", "target": "plan_cross_platform", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 22", "weight": 1.0}, {"source": "plan_plan", "target": "plan_determinism", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 357", "weight": 1.0}, {"source": "plan_plan", "target": "plan_fixed_timestep", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 36", "weight": 1.0}, {"source": "plan_phase15_ui", "target": "plan_uilayer", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 81", "weight": 1.0}, {"source": "plan_phase2_world", "target": "plan_chunk_system", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 144", "weight": 1.0}, {"source": "plan_phase3_rpg", "target": "plan_rpg_mutations", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 167", "weight": 1.0}, {"source": "plan_phase6_physics", "target": "plan_multilayer_world", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 280", "weight": 1.0}, {"source": "plan_phase4_render", "target": "plan_phase4b_graphics", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 223", "weight": 1.0}, {"source": "plan_phase7_ai", "target": "plan_llm_agent", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 295", "weight": 1.0}, {"source": "plan_phase7_ai", "target": "plan_rl_agent", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 299", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_web_arena", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 317", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_wasm_render", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 320", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_websocket_server", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 319", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_ai_pipe_protocol", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 334", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_phase7_ai", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 325", "weight": 1.0}, {"source": "plan_uilayer", "target": "plan_ai_pipe_protocol", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 123", "weight": 1.0}, {"source": "plan_phase7_ai", "target": "plan_ai_pipe_protocol", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 296", "weight": 1.0}, {"source": "plan_fixed_timestep", "target": "plan_replay_system", "relation": "rationale_for", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 355", "weight": 1.0}, {"source": "plan_determinism", "target": "plan_replay_system", "relation": "rationale_for", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 357", "weight": 1.0}, {"source": "plan_ai_pipe_protocol", "target": "plan_phase7_ai", "relation": "rationale_for", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 358", "weight": 1.0}, {"source": "plan_uilayer", "target": "agents_grid", "relation": "rationale_for", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "PLAN.md", "source_location": "line 360", "weight": 1.0}, {"source": "plan_web_arena", "target": "plan_replay_system", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.75, "source_file": "PLAN.md", "source_location": "line 324", "weight": 1.0}, {"source": "plan_phase8_web", "target": "plan_test_framework", "relation": "conceptually_related_to", "confidence": "INFERRED", "confidence_score": 0.75, "source_file": "PLAN.md", "source_location": "line 337", "weight": 1.0}], "hyperedges": []} \ No newline at end of file diff --git a/graphify-out/cache/stat-index.json b/graphify-out/cache/stat-index.json new file mode 100644 index 0000000..d4ca9b0 --- /dev/null +++ b/graphify-out/cache/stat-index.json @@ -0,0 +1 @@ +{"/home/emil/Desktop/Verbatim/scenarios/acid_dissolves_wood.json":{"size":716,"mtime_ns":1781970764644281931,"hash":"bbd2d8dbbbbbd080d6e2555d1e2ae948e73a3ca8c26d41b5575de3c5dcc0a8ee"},"/home/emil/Desktop/Verbatim/scenarios/acid_eats_through_wall.json":{"size":578,"mtime_ns":1781984503846014760,"hash":"5edac12b81a4be7fbe495d1fd694358f0f2c0fad5a09276a9cb99a014e6f4d84"},"/home/emil/Desktop/Verbatim/scenarios/entity_burns_in_lava.json":{"size":501,"mtime_ns":1781970726552877494,"hash":"d21f06eaa154cf8920dac06ac565a4c17ac9e78fcc9580bde92e17eb45e8af92"},"/home/emil/Desktop/Verbatim/scenarios/entity_survives_fall.json":{"size":407,"mtime_ns":1781983490867179139,"hash":"8a4cd674b1e1a549c6b0a4c0e2dfeb00320b5b1d0dcbc08f0c32de6d913c3b5f"},"/home/emil/Desktop/Verbatim/scenarios/fire_chain_wood.json":{"size":529,"mtime_ns":1781983468905944240,"hash":"f7ea3b715c5e63353dadd9a81af8a9ba0648d68c701ccadc4abbaab9ca9548d6"},"/home/emil/Desktop/Verbatim/scenarios/fire_spreads_through_grass.json":{"size":531,"mtime_ns":1781970725561866971,"hash":"0a393136c1e69636880e294cb529ffd5d2c446bf946ef8903f5606f48ca821d7"},"/home/emil/Desktop/Verbatim/scenarios/lava_ignites_wood.json":{"size":587,"mtime_ns":1781970722357832952,"hash":"33f6f97b825a0495f24606999865a1aee5076417870699500ea54ee3ce40ac1e"},"/home/emil/Desktop/Verbatim/scenarios/lava_plus_water_makes_steam.json":{"size":669,"mtime_ns":1781984425885180803,"hash":"db93c1950666d4b33b9fc8e8c52aca39d35493ae61c5e3ac1854d0d5bc3b704b"},"/home/emil/Desktop/Verbatim/scenarios/lava_pool_interaction.json":{"size":570,"mtime_ns":1781984476637723709,"hash":"3bb250cfbe2035e04cef321f430809b6a65211d0558e3a422b553cc779fd05cd"},"/home/emil/Desktop/Verbatim/scenarios/player_falls_and_lands.json":{"size":427,"mtime_ns":1781970725561866971,"hash":"cbbffb0643983e1e760be640e637268ea20d13a04a2240021afc946957e32776"},"/home/emil/Desktop/Verbatim/scenarios/sand_buries_wood.json":{"size":552,"mtime_ns":1781983484682112983,"hash":"21ab58c3d4cb7ff279b6de6c4e6547e1cf4759d554e54daa099abdd887512a30"},"/home/emil/Desktop/Verbatim/scenarios/sand_falls_down.json":{"size":483,"mtime_ns":1781970712259725735,"hash":"85ba814ce36483d2fc8843f18634b1f59e6b85a8e1862fa0bbfa4db969dc64c9"},"/home/emil/Desktop/Verbatim/scenarios/steam_condenses.json":{"size":928,"mtime_ns":1781983498870264740,"hash":"1004493b75aba57ba52f6b4b9a7008cf895520b66cc97ffb107c46eacf290b20"},"/home/emil/Desktop/Verbatim/scenarios/water_flows_sideways.json":{"size":539,"mtime_ns":1781970716227767866,"hash":"92b06e1e743fa3df4fd5bbfba47aae08c8cd59250fd629a89b9df21b3b75bda0"},"/home/emil/Desktop/Verbatim/src/ai/action.rs":{"size":4748,"mtime_ns":1781982011021341320,"hash":"e695c318e894a8c99e79400b65bb513336bb3e979eb9a819d9870d9dae4ece0d"},"/home/emil/Desktop/Verbatim/src/ai/mod.rs":{"size":475,"mtime_ns":1781970069337899481,"hash":"f3b1806cd23c230ecffce623b96718eba63a57ab7ca50d833d2a767776914a91"},"/home/emil/Desktop/Verbatim/src/ai/protocol.rs":{"size":10650,"mtime_ns":1781982011021341320,"hash":"8d2d0703840a1a61356a1d3ddc9d6bb0fab9ab3cca56f9b83646e8a093f4107d"},"/home/emil/Desktop/Verbatim/src/ai/replay.rs":{"size":3307,"mtime_ns":1781994698517592901,"hash":"b7a5381e3eb2270e501b281c97df2e7561e166e1e279e4f07472965696361b72"},"/home/emil/Desktop/Verbatim/src/ai/scenario.rs":{"size":10320,"mtime_ns":1781982011021341320,"hash":"1e4a9dcbc6242e19c4e3fad6956d1f78459422a65d747eb6d61dbc9d27d8a0ee"},"/home/emil/Desktop/Verbatim/src/ai/session.rs":{"size":4943,"mtime_ns":1781994682195420279,"hash":"8a8549a6a5bb485faf650d6adc5fff11e7d102cb9f930ea213531f1e42383c8f"},"/home/emil/Desktop/Verbatim/src/ai/state.rs":{"size":5986,"mtime_ns":1781994883409548295,"hash":"840bf75ab1b85c2a9352db0ab9466930a1720b02d7af484dddba41b725ea27e7"},"/home/emil/Desktop/Verbatim/src/entity/entity.rs":{"size":6937,"mtime_ns":1781994535157865228,"hash":"a18f80fe6d27240a60cfd56d1063355b4a1e59115c5788af430d8f81992e0c8b"},"/home/emil/Desktop/Verbatim/src/entity/mod.rs":{"size":102,"mtime_ns":1781994733538963282,"hash":"2c1b9a0f2b19b554c0d6c91cca6e29346922726c248642443a786c888a0eb84a"},"/home/emil/Desktop/Verbatim/src/entity/player.rs":{"size":1688,"mtime_ns":1781994571426248798,"hash":"b8aa33177db42b285835535f2d401d1de12f1620c5531112d4cc013896cbd7f3"},"/home/emil/Desktop/Verbatim/src/game.rs":{"size":23394,"mtime_ns":1781994816604841777,"hash":"78f62b1306b79536f56e94738682314d676d2eff69e15665f516a98bfbdcefcd"},"/home/emil/Desktop/Verbatim/src/input.rs":{"size":8712,"mtime_ns":1781994775853410794,"hash":"6ea5cbecf29a17fc28e84d2d55250632972b47963eddb90e43cb7a488e64e07b"},"/home/emil/Desktop/Verbatim/src/lib.rs":{"size":105,"mtime_ns":1781970270862039174,"hash":"32a7af8ee35b97f6802369b6486fd8e754ce770654c62b777d7a2249d212fae1"},"/home/emil/Desktop/Verbatim/src/main.rs":{"size":13767,"mtime_ns":1781994426141712287,"hash":"4860cc9adda85a11b339216077e9ab43e270eea741057ee35e9a98ddd4662c2e"},"/home/emil/Desktop/Verbatim/src/physics/collision.rs":{"size":5170,"mtime_ns":1781969161869264388,"hash":"5aa277f50d8b55c0a61281f765565496743221d8610897933ab9e6ba74ce1b6a"},"/home/emil/Desktop/Verbatim/src/physics/mod.rs":{"size":35,"mtime_ns":1781994728427909228,"hash":"33c894de63e7ad6cfec4f4a1d0fc12bc186e222a4d11de24340102459c02f744"},"/home/emil/Desktop/Verbatim/src/physics/verlet.rs":{"size":3770,"mtime_ns":1781994612343681536,"hash":"755f912dd9db0bb7ffabc2a3c29b044359b99720f964a1b5c4123ca2fff35361"},"/home/emil/Desktop/Verbatim/src/render/graphics.rs":{"size":31339,"mtime_ns":1781994837848066443,"hash":"0d9560f4a5114e6db7b2b410045dece5d402cfd2ca22788278b16924ca7f94dc"},"/home/emil/Desktop/Verbatim/src/render/mod.rs":{"size":443,"mtime_ns":1781992655996036185,"hash":"ecc068c28276959a40628e1a4240204185086de14630739e2536f47b9b2d212f"},"/home/emil/Desktop/Verbatim/src/render/terminal.rs":{"size":6118,"mtime_ns":1781994877423484987,"hash":"f22ba9e1d92577eee87d4e8454f243ca22e8b718a666344f437ac59b6d03d7c2"},"/home/emil/Desktop/Verbatim/src/render/vulkan.rs":{"size":46545,"mtime_ns":1781994804000708477,"hash":"2f2aaec4165990d2bc541fb7299281b706f99e3cbbad27d0ccfaaec7492c5b1d"},"/home/emil/Desktop/Verbatim/src/render/window_input.rs":{"size":2859,"mtime_ns":1781994633717907587,"hash":"be65af46393cd999c96ae634106a87270c742987b3f4503eaa8bbc3d1aa65528"},"/home/emil/Desktop/Verbatim/src/world/cell.rs":{"size":3025,"mtime_ns":1781994439032848622,"hash":"3e9a58069b81f3c8343b26641d6f8de2c3c15b3a005d072e07251d62e35f0a8e"},"/home/emil/Desktop/Verbatim/src/world/cellular.rs":{"size":15734,"mtime_ns":1781994620518767995,"hash":"1383016c27aed86139990e1c5b1e82145f27689850971634070664b951773b22"},"/home/emil/Desktop/Verbatim/src/world/grid.rs":{"size":1863,"mtime_ns":1781994901009734432,"hash":"36112d79800455d9de55dcf66bf6b44f512673c1ece8031e0f9bc51ba522bc98"},"/home/emil/Desktop/Verbatim/src/world/material.rs":{"size":9301,"mtime_ns":1781994717946798381,"hash":"83ff90991fbc3e9044aef06d4ce98f1783aee5086a8cf5782e09986a72f7e12d"},"/home/emil/Desktop/Verbatim/src/world/mod.rs":{"size":64,"mtime_ns":1781994722763849326,"hash":"b89001186fb568d71ad057ff976c3c83e8294e7c621921b7aa9ac098d96240eb"},"/home/emil/Desktop/Verbatim/tests/collision_robust.rs":{"size":6154,"mtime_ns":1781984005850687643,"hash":"a6ab3244b2e4f733dd66a34b6f091a977eb4a94e24d86fb540a34f1030845e62"},"/home/emil/Desktop/Verbatim/tests/determinism.rs":{"size":5296,"mtime_ns":1781983582462158843,"hash":"c3273d42f58f9db0a34d2000c572d2c4f18ce38d3f1a2e355e2f71d035f0380c"},"/home/emil/Desktop/Verbatim/tests/edge_cases.rs":{"size":7122,"mtime_ns":1781994760823251837,"hash":"b243d2d7b4b78794c20e7a790acaaa73ca949868894f25f719dfcad6749a6e33"},"/home/emil/Desktop/Verbatim/tests/entity_damage.rs":{"size":2995,"mtime_ns":1781980721743504262,"hash":"5b6237c87418b65102d3ccf7b48b95bbf17023ebccc95a1dd49949874637b1ef"},"/home/emil/Desktop/Verbatim/tests/entity_movement.rs":{"size":2266,"mtime_ns":1781981346368212071,"hash":"3524d0a008a9cff9804a055d9c3d3f9c34eab27dabcff76701af9fdeaa8ec43a"},"/home/emil/Desktop/Verbatim/tests/integration.rs":{"size":3902,"mtime_ns":1781983295271087033,"hash":"7ec222b87142c70e7a1d44a25a2e154ef67533d9a14cba768e126888e42cfbad"},"/home/emil/Desktop/Verbatim/tests/physics_acid.rs":{"size":1462,"mtime_ns":1781970221685517040,"hash":"e78cb479a3dba268e610d0f6e4c12e9a9626893ac0c7888a0d6cd64f7bd76a73"},"/home/emil/Desktop/Verbatim/tests/physics_interactions.rs":{"size":6904,"mtime_ns":1781983882030363120,"hash":"544aa8832e4ccd323e2d9e6dc945bf3c6d2d2f27336cd0f887d5a4209a9eaba2"},"/home/emil/Desktop/Verbatim/tests/physics_lava.rs":{"size":2857,"mtime_ns":1781980754432855311,"hash":"0c037c2066a7b634e22f62a3283d517d6e347bbe29e65a0547b252f76acd6349"},"/home/emil/Desktop/Verbatim/tests/physics_materials.rs":{"size":5848,"mtime_ns":1781983693211343421,"hash":"725a669732f71f9cde36a8a52f1011ab6f870e44f1edce16d17899776dd6f737"},"/home/emil/Desktop/Verbatim/tests/physics_sand.rs":{"size":2147,"mtime_ns":1781983289756028044,"hash":"045dbbc45414b6bfea5270ecf0f88a68c4897e915a118c9e6a66cde0ddd604a5"},"/home/emil/Desktop/Verbatim/tests/physics_water.rs":{"size":1992,"mtime_ns":1781970629040842155,"hash":"d17d3eb2784633ddd404ec8460f64aeb0d7504c6cbd7020de5b496473f0465c1"},"/home/emil/Desktop/Verbatim/tests/player_controls.rs":{"size":4894,"mtime_ns":1781984330918164928,"hash":"5070d8053c5bdb1e52d1c877a900f00aef501d6ca02f287b02db551c28a17937"},"/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs":{"size":4645,"mtime_ns":1781994739159022719,"hash":"8e99bda8e2164a9f13944f1df8fed3a42e5005adf6a165d8cf665a6ee052e70d"},"/home/emil/Desktop/Verbatim/AGENTS.md":{"size":4374,"mtime_ns":1781995334905323258,"hash":"8731bbd5bde1dcb4d767eb0795fef450dfa116a1d4da5c07efa761807d16726e"},"/home/emil/Desktop/Verbatim/PLAN.md":{"size":25979,"mtime_ns":1781995156292434270,"hash":"eb2d77197a18972c900988906ef5d72b790c27392863e8f450910dde25149cbb"},"/home/emil/Desktop/Verbatim/headless_dump.txt":{"size":24868,"mtime_ns":1781989911988081349,"hash":"69c78dcb576cc57ce585afbe4e5892e69e38732b9ee74e165a330bd71722991c"}} \ No newline at end of file diff --git a/graphify-out/cost.json b/graphify-out/cost.json new file mode 100644 index 0000000..61344e2 --- /dev/null +++ b/graphify-out/cost.json @@ -0,0 +1,12 @@ +{ + "runs": [ + { + "date": "2026-06-21T06:52:56.684475+00:00", + "input_tokens": 0, + "output_tokens": 0, + "files": 58 + } + ], + "total_input_tokens": 0, + "total_output_tokens": 0 +} \ No newline at end of file diff --git a/graphify-out/graph.html b/graphify-out/graph.html new file mode 100644 index 0000000..9cdad1c --- /dev/null +++ b/graphify-out/graph.html @@ -0,0 +1,307 @@ + + + + +graphify - graphify-out/graph.html + + + + +
+ + + + + \ No newline at end of file diff --git a/graphify-out/graph.json b/graphify-out/graph.json new file mode 100644 index 0000000..b3d7723 --- /dev/null +++ b/graphify-out/graph.json @@ -0,0 +1,20137 @@ +{ + "directed": false, + "multigraph": false, + "graph": { + "hyperedges": [ + { + "id": "he_game_loop_pipeline", + "label": "Game loop fixed_update pipeline: CA step \u2192 rigid update \u2192 ragdoll update \u2192 damage", + "node_ids": [ + "agents_game_fixed_update", + "agents_cellularautomaton", + "agents_rigid_entity", + "agents_ragdoll_entity" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 50" + }, + { + "id": "he_triple_render_shared_state", + "label": "Three render modes read the same Grid + EntityManager (single source of truth)", + "node_ids": [ + "agents_render_terminal", + "agents_render_ascii", + "agents_render_graphics", + "agents_grid", + "agents_entitymanager" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 46" + }, + { + "id": "he_gpu_renderer_unification", + "label": "GpuRenderer trait unifies VulkanRenderer + GraphicsRenderer behind run_gpu_mode() with identical event loops", + "node_ids": [ + "agents_gpurenderer", + "agents_vulkanrenderer", + "agents_graphicsrenderer", + "agents_run_gpu_mode" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 48" + } + ] + }, + "nodes": [ + { + "label": "action.rs", + "file_type": "code", + "source_file": "src/ai/action.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_action", + "community": 12, + "norm_label": "action.rs" + }, + { + "label": "AiAction", + "file_type": "code", + "source_file": "src/ai/action.rs", + "source_location": "L9", + "_origin": "ast", + "id": "ai_action_aiaction", + "community": 12, + "norm_label": "aiaction" + }, + { + "label": ".name()", + "file_type": "code", + "source_file": "src/ai/action.rs", + "source_location": "L61", + "_origin": "ast", + "id": "ai_action_aiaction_name", + "community": 12, + "norm_label": ".name()" + }, + { + "label": ".execute()", + "file_type": "code", + "source_file": "src/ai/action.rs", + "source_location": "L80", + "_origin": "ast", + "id": "ai_action_aiaction_execute", + "community": 12, + "norm_label": ".execute()" + }, + { + "label": "Game", + "file_type": "code", + "source_file": "src/ai/action.rs", + "source_location": "L80", + "_origin": "ast", + "id": "src_ai_action_rs_game", + "community": 12, + "norm_label": "game" + }, + { + "label": "mod.rs", + "file_type": "code", + "source_file": "src/ai/mod.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_mod", + "community": 43, + "norm_label": "mod.rs" + }, + { + "label": "protocol.rs", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_protocol", + "community": 3, + "norm_label": "protocol.rs" + }, + { + "label": "Command", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L10", + "_origin": "ast", + "id": "ai_protocol_command", + "community": 3, + "norm_label": "command" + }, + { + "label": "Response", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L80", + "_origin": "ast", + "id": "ai_protocol_response", + "community": 3, + "norm_label": "response" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L83", + "_origin": "ast", + "id": "src_ai_protocol_rs_option", + "community": 3, + "norm_label": "option" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L83", + "_origin": "ast", + "id": "src_ai_protocol_rs_string", + "community": 3, + "norm_label": "string" + }, + { + "label": "GameState", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L85", + "_origin": "ast", + "id": "src_ai_protocol_rs_gamestate", + "community": 3, + "norm_label": "gamestate" + }, + { + "label": "CellInfo", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L89", + "_origin": "ast", + "id": "src_ai_protocol_rs_cellinfo", + "community": 3, + "norm_label": "cellinfo" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L91", + "_origin": "ast", + "id": "src_ai_protocol_rs_vec", + "community": 3, + "norm_label": "vec" + }, + { + "label": "EntityInfo", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L93", + "_origin": "ast", + "id": "src_ai_protocol_rs_entityinfo", + "community": 3, + "norm_label": "entityinfo" + }, + { + "label": "ScenarioResult", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L101", + "_origin": "ast", + "id": "scenarioresult", + "community": 3, + "norm_label": "scenarioresult" + }, + { + "label": ".ok()", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L109", + "_origin": "ast", + "id": "ai_protocol_response_ok", + "community": 3, + "norm_label": ".ok()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L109", + "_origin": "ast", + "id": "src_ai_protocol_rs_self", + "community": 3, + "norm_label": "self" + }, + { + "label": ".err()", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L118", + "_origin": "ast", + "id": "ai_protocol_response_err", + "community": 3, + "norm_label": ".err()" + }, + { + "label": ".with_state()", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L128", + "_origin": "ast", + "id": "ai_protocol_response_with_state", + "community": 3, + "norm_label": ".with_state()" + }, + { + "label": "run_pipe_protocol()", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L134", + "_origin": "ast", + "id": "ai_protocol_run_pipe_protocol", + "community": 3, + "norm_label": "run_pipe_protocol()" + }, + { + "label": "handle_command()", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "_origin": "ast", + "id": "ai_protocol_handle_command", + "community": 3, + "norm_label": "handle_command()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "_origin": "ast", + "id": "src_ai_protocol_rs_gamesession", + "community": 3, + "norm_label": "gamesession" + }, + { + "label": "replay.rs", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_replay", + "community": 10, + "norm_label": "replay.rs" + }, + { + "label": "ReplayRecording", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L6", + "_origin": "ast", + "id": "ai_replay_replayrecording", + "community": 10, + "norm_label": "replayrecording" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L8", + "_origin": "ast", + "id": "src_ai_replay_rs_string", + "community": 10, + "norm_label": "string" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L9", + "_origin": "ast", + "id": "src_ai_replay_rs_vec", + "community": 10, + "norm_label": "vec" + }, + { + "label": "ReplayEvent", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L9", + "_origin": "ast", + "id": "replayevent", + "community": 10, + "norm_label": "replayevent" + }, + { + "label": "ReplayEvent", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L14", + "_origin": "ast", + "id": "ai_replay_replayevent", + "community": 10, + "norm_label": "replayevent" + }, + { + "label": "ReplayRecorder", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L19", + "_origin": "ast", + "id": "ai_replay_replayrecorder", + "community": 10, + "norm_label": "replayrecorder" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L24", + "_origin": "ast", + "id": "ai_replay_replayrecorder_new", + "community": 10, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L24", + "_origin": "ast", + "id": "src_ai_replay_rs_self", + "community": 10, + "norm_label": "self" + }, + { + "label": ".set_seed()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L34", + "_origin": "ast", + "id": "ai_replay_replayrecorder_set_seed", + "community": 10, + "norm_label": ".set_seed()" + }, + { + "label": ".record_step()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L38", + "_origin": "ast", + "id": "ai_replay_replayrecorder_record_step", + "community": 10, + "norm_label": ".record_step()" + }, + { + "label": ".record_action()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L42", + "_origin": "ast", + "id": "ai_replay_replayrecorder_record_action", + "community": 10, + "norm_label": ".record_action()" + }, + { + "label": "AiAction", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L42", + "_origin": "ast", + "id": "src_ai_replay_rs_aiaction", + "community": 10, + "norm_label": "aiaction" + }, + { + "label": ".save()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L46", + "_origin": "ast", + "id": "ai_replay_replayrecorder_save", + "community": 10, + "norm_label": ".save()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L46", + "_origin": "ast", + "id": "src_ai_replay_rs_result", + "community": 10, + "norm_label": "result" + }, + { + "label": ".recording()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L52", + "_origin": "ast", + "id": "ai_replay_replayrecorder_recording", + "community": 10, + "norm_label": ".recording()" + }, + { + "label": "ReplayPlayer", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L57", + "_origin": "ast", + "id": "ai_replay_replayplayer", + "community": 10, + "norm_label": "replayplayer" + }, + { + "label": ".load()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L62", + "_origin": "ast", + "id": "ai_replay_replayplayer_load", + "community": 10, + "norm_label": ".load()" + }, + { + "label": ".play()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L69", + "_origin": "ast", + "id": "ai_replay_replayplayer_play", + "community": 10, + "norm_label": ".play()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L69", + "_origin": "ast", + "id": "src_ai_replay_rs_gamesession", + "community": 10, + "norm_label": "gamesession" + }, + { + "label": ".play_until_tick()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L88", + "_origin": "ast", + "id": "ai_replay_replayplayer_play_until_tick", + "community": 10, + "norm_label": ".play_until_tick()" + }, + { + "label": ".recording()", + "file_type": "code", + "source_file": "src/ai/replay.rs", + "source_location": "L118", + "_origin": "ast", + "id": "ai_replay_replayplayer_recording", + "community": 10, + "norm_label": ".recording()" + }, + { + "label": "scenario.rs", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_scenario", + "community": 3, + "norm_label": "scenario.rs" + }, + { + "label": "Scenario", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L7", + "_origin": "ast", + "id": "ai_scenario_scenario", + "community": 3, + "norm_label": "scenario" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L8", + "_origin": "ast", + "id": "src_ai_scenario_rs_string", + "community": 3, + "norm_label": "string" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L12", + "_origin": "ast", + "id": "src_ai_scenario_rs_vec", + "community": 3, + "norm_label": "vec" + }, + { + "label": "AiAction", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L12", + "_origin": "ast", + "id": "src_ai_scenario_rs_aiaction", + "community": 3, + "norm_label": "aiaction" + }, + { + "label": "Assertion", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L14", + "_origin": "ast", + "id": "assertion", + "community": 3, + "norm_label": "assertion" + }, + { + "label": "Assertion", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L19", + "_origin": "ast", + "id": "ai_scenario_assertion", + "community": 3, + "norm_label": "assertion" + }, + { + "label": "AssertionResult", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L82", + "_origin": "ast", + "id": "ai_scenario_assertionresult", + "community": 3, + "norm_label": "assertionresult" + }, + { + "label": "ScenarioResult", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L89", + "_origin": "ast", + "id": "ai_scenario_scenarioresult", + "community": 3, + "norm_label": "scenarioresult" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L93", + "_origin": "ast", + "id": "src_ai_scenario_rs_option", + "community": 3, + "norm_label": "option" + }, + { + "label": "GameState", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L93", + "_origin": "ast", + "id": "src_ai_scenario_rs_gamestate", + "community": 3, + "norm_label": "gamestate" + }, + { + "label": "run_scenario()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L97", + "_origin": "ast", + "id": "ai_scenario_run_scenario", + "community": 3, + "norm_label": "run_scenario()" + }, + { + "label": "check_assertion()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "_origin": "ast", + "id": "ai_scenario_check_assertion", + "community": 3, + "norm_label": "check_assertion()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "_origin": "ast", + "id": "src_ai_scenario_rs_gamesession", + "community": 3, + "norm_label": "gamesession" + }, + { + "label": "load_scenario()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "_origin": "ast", + "id": "ai_scenario_load_scenario", + "community": 3, + "norm_label": "load_scenario()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "_origin": "ast", + "id": "src_ai_scenario_rs_result", + "community": 3, + "norm_label": "result" + }, + { + "label": "load_scenarios_from_dir()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L277", + "_origin": "ast", + "id": "ai_scenario_load_scenarios_from_dir", + "community": 3, + "norm_label": "load_scenarios_from_dir()" + }, + { + "label": "run_all_scenarios()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L292", + "_origin": "ast", + "id": "ai_scenario_run_all_scenarios", + "community": 3, + "norm_label": "run_all_scenarios()" + }, + { + "label": "format_results()", + "file_type": "code", + "source_file": "src/ai/scenario.rs", + "source_location": "L297", + "_origin": "ast", + "id": "ai_scenario_format_results", + "community": 3, + "norm_label": "format_results()" + }, + { + "label": "session.rs", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_session", + "community": 4, + "norm_label": "session.rs" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L8", + "_origin": "ast", + "id": "ai_session_gamesession", + "community": 4, + "norm_label": "gamesession" + }, + { + "label": "Game", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L9", + "_origin": "ast", + "id": "src_ai_session_rs_game", + "community": 4, + "norm_label": "game" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L11", + "_origin": "ast", + "id": "src_ai_session_rs_option", + "community": 4, + "norm_label": "option" + }, + { + "label": "ReplayRecorder", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L11", + "_origin": "ast", + "id": "replayrecorder", + "community": 4, + "norm_label": "replayrecorder" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L17", + "_origin": "ast", + "id": "ai_session_gamesession_new", + "community": 4, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L17", + "_origin": "ast", + "id": "src_ai_session_rs_self", + "community": 4, + "norm_label": "self" + }, + { + "label": ".new_seeded()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L27", + "_origin": "ast", + "id": "ai_session_gamesession_new_seeded", + "community": 4, + "norm_label": ".new_seeded()" + }, + { + "label": ".init()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L33", + "_origin": "ast", + "id": "ai_session_gamesession_init", + "community": 4, + "norm_label": ".init()" + }, + { + "label": ".init_empty()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L40", + "_origin": "ast", + "id": "ai_session_gamesession_init_empty", + "community": 4, + "norm_label": ".init_empty()" + }, + { + "label": ".step()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L49", + "_origin": "ast", + "id": "ai_session_gamesession_step", + "community": 4, + "norm_label": ".step()" + }, + { + "label": ".perform_action()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L58", + "_origin": "ast", + "id": "ai_session_gamesession_perform_action", + "community": 4, + "norm_label": ".perform_action()" + }, + { + "label": "AiAction", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L58", + "_origin": "ast", + "id": "src_ai_session_rs_aiaction", + "community": 4, + "norm_label": "aiaction" + }, + { + "label": ".get_state()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L65", + "_origin": "ast", + "id": "ai_session_gamesession_get_state", + "community": 4, + "norm_label": ".get_state()" + }, + { + "label": "GameState", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L65", + "_origin": "ast", + "id": "src_ai_session_rs_gamestate", + "community": 4, + "norm_label": "gamestate" + }, + { + "label": ".get_view()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L69", + "_origin": "ast", + "id": "ai_session_gamesession_get_view", + "community": 6, + "norm_label": ".get_view()" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L69", + "_origin": "ast", + "id": "src_ai_session_rs_string", + "community": 6, + "norm_label": "string" + }, + { + "label": ".get_view_at()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L76", + "_origin": "ast", + "id": "ai_session_gamesession_get_view_at", + "community": 6, + "norm_label": ".get_view_at()" + }, + { + "label": ".get_cell()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L80", + "_origin": "ast", + "id": "ai_session_gamesession_get_cell", + "community": 4, + "norm_label": ".get_cell()" + }, + { + "label": "CellInfo", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L80", + "_origin": "ast", + "id": "src_ai_session_rs_cellinfo", + "community": 4, + "norm_label": "cellinfo" + }, + { + "label": ".get_region()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L84", + "_origin": "ast", + "id": "ai_session_gamesession_get_region", + "community": 4, + "norm_label": ".get_region()" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L84", + "_origin": "ast", + "id": "src_ai_session_rs_vec", + "community": 4, + "norm_label": "vec" + }, + { + "label": ".get_entities()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L94", + "_origin": "ast", + "id": "ai_session_gamesession_get_entities", + "community": 4, + "norm_label": ".get_entities()" + }, + { + "label": "EntityInfo", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L94", + "_origin": "ast", + "id": "src_ai_session_rs_entityinfo", + "community": 4, + "norm_label": "entityinfo" + }, + { + "label": ".get_player()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L100", + "_origin": "ast", + "id": "ai_session_gamesession_get_player", + "community": 4, + "norm_label": ".get_player()" + }, + { + "label": ".count_material_in_region()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L104", + "_origin": "ast", + "id": "ai_session_gamesession_count_material_in_region", + "community": 4, + "norm_label": ".count_material_in_region()" + }, + { + "label": ".find_material()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L122", + "_origin": "ast", + "id": "ai_session_gamesession_find_material", + "community": 4, + "norm_label": ".find_material()" + }, + { + "label": ".set_recording()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L134", + "_origin": "ast", + "id": "ai_session_gamesession_set_recording", + "community": 4, + "norm_label": ".set_recording()" + }, + { + "label": ".save_replay()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L144", + "_origin": "ast", + "id": "ai_session_gamesession_save_replay", + "community": 4, + "norm_label": ".save_replay()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L144", + "_origin": "ast", + "id": "src_ai_session_rs_result", + "community": 4, + "norm_label": "result" + }, + { + "label": ".clear_area()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L151", + "_origin": "ast", + "id": "ai_session_gamesession_clear_area", + "community": 4, + "norm_label": ".clear_area()" + }, + { + "label": ".grid()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L159", + "_origin": "ast", + "id": "ai_session_gamesession_grid", + "community": 4, + "norm_label": ".grid()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L159", + "_origin": "ast", + "id": "src_ai_session_rs_grid", + "community": 4, + "norm_label": "grid" + }, + { + "label": ".tick()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L163", + "_origin": "ast", + "id": "ai_session_gamesession_tick", + "community": 4, + "norm_label": ".tick()" + }, + { + "label": "Default", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L168", + "_origin": "ast", + "id": "default", + "community": 4, + "norm_label": "default" + }, + { + "label": ".default()", + "file_type": "code", + "source_file": "src/ai/session.rs", + "source_location": "L169", + "_origin": "ast", + "id": "ai_session_gamesession_default", + "community": 4, + "norm_label": ".default()" + }, + { + "label": "state.rs", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L1", + "_origin": "ast", + "id": "ai_state", + "community": 6, + "norm_label": "state.rs" + }, + { + "label": "GameState", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L9", + "_origin": "ast", + "id": "ai_state_gamestate", + "community": 6, + "norm_label": "gamestate" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L13", + "_origin": "ast", + "id": "src_ai_state_rs_option", + "community": 6, + "norm_label": "option" + }, + { + "label": "EntityInfo", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L13", + "_origin": "ast", + "id": "src_ai_state_rs_entityinfo", + "community": 6, + "norm_label": "entityinfo" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L14", + "_origin": "ast", + "id": "src_ai_state_rs_vec", + "community": 6, + "norm_label": "vec" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L15", + "_origin": "ast", + "id": "src_ai_state_rs_string", + "community": 6, + "norm_label": "string" + }, + { + "label": "EntityInfo", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L19", + "_origin": "ast", + "id": "ai_state_entityinfo", + "community": 6, + "norm_label": "entityinfo" + }, + { + "label": "SubBodyInfo", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L28", + "_origin": "ast", + "id": "subbodyinfo", + "community": 6, + "norm_label": "subbodyinfo" + }, + { + "label": "SubBodyInfo", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L32", + "_origin": "ast", + "id": "ai_state_subbodyinfo", + "community": 6, + "norm_label": "subbodyinfo" + }, + { + "label": "CellInfo", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L43", + "_origin": "ast", + "id": "ai_state_cellinfo", + "community": 6, + "norm_label": "cellinfo" + }, + { + "label": ".from_grid()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "_origin": "ast", + "id": "ai_state_cellinfo_from_grid", + "community": 6, + "norm_label": ".from_grid()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "_origin": "ast", + "id": "src_ai_state_rs_grid", + "community": 6, + "norm_label": "grid" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "_origin": "ast", + "id": "src_ai_state_rs_self", + "community": 6, + "norm_label": "self" + }, + { + "label": "entity_info()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L79", + "_origin": "ast", + "id": "ai_state_entity_info", + "community": 6, + "norm_label": "entity_info()" + }, + { + "label": "Entity", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L79", + "_origin": "ast", + "id": "src_ai_state_rs_entity", + "community": 6, + "norm_label": "entity" + }, + { + "label": "build_game_state()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L107", + "_origin": "ast", + "id": "ai_state_build_game_state", + "community": 6, + "norm_label": "build_game_state()" + }, + { + "label": "Game", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L107", + "_origin": "ast", + "id": "src_ai_state_rs_game", + "community": 6, + "norm_label": "game" + }, + { + "label": "render_view()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "_origin": "ast", + "id": "ai_state_render_view", + "community": 6, + "norm_label": "render_view()" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "_origin": "ast", + "id": "src_ai_state_rs_entitymanager", + "community": 6, + "norm_label": "entitymanager" + }, + { + "label": "material_from_name()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L169", + "_origin": "ast", + "id": "ai_state_material_from_name", + "community": 6, + "norm_label": "material_from_name()" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L169", + "_origin": "ast", + "id": "src_ai_state_rs_materialid", + "community": 6, + "norm_label": "materialid" + }, + { + "label": "entity_kind_name()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L189", + "_origin": "ast", + "id": "ai_state_entity_kind_name", + "community": 6, + "norm_label": "entity_kind_name()" + }, + { + "label": "EntityKind", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L189", + "_origin": "ast", + "id": "entitykind", + "community": 6, + "norm_label": "entitykind" + }, + { + "label": "parse_entity_kind()", + "file_type": "code", + "source_file": "src/ai/state.rs", + "source_location": "L197", + "_origin": "ast", + "id": "ai_state_parse_entity_kind", + "community": 6, + "norm_label": "parse_entity_kind()" + }, + { + "label": "entity.rs", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L1", + "_origin": "ast", + "id": "entity_entity", + "community": 8, + "norm_label": "entity.rs" + }, + { + "label": "EntityKind", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L7", + "_origin": "ast", + "id": "entity_entity_entitykind", + "community": 8, + "norm_label": "entitykind" + }, + { + "label": "Entity", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L13", + "_origin": "ast", + "id": "entity_entity_entity", + "community": 8, + "norm_label": "entity" + }, + { + "label": "EntityId", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L14", + "_origin": "ast", + "id": "src_entity_entity_rs_entityid", + "community": 8, + "norm_label": "entityid" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L16", + "_origin": "ast", + "id": "src_entity_entity_rs_vec", + "community": 8, + "norm_label": "vec" + }, + { + "label": "SubBody", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L16", + "_origin": "ast", + "id": "src_entity_entity_rs_subbody", + "community": 8, + "norm_label": "subbody" + }, + { + "label": "Constraint", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L17", + "_origin": "ast", + "id": "constraint", + "community": 8, + "norm_label": "constraint" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "_origin": "ast", + "id": "entity_entity_entity_new", + "community": 8, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "_origin": "ast", + "id": "src_entity_entity_rs_self", + "community": 8, + "norm_label": "self" + }, + { + "label": ".center()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L56", + "_origin": "ast", + "id": "entity_entity_entity_center", + "community": 8, + "norm_label": ".center()" + }, + { + "label": ".kill()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L80", + "_origin": "ast", + "id": "entity_entity_entity_kill", + "community": 8, + "norm_label": ".kill()" + }, + { + "label": ".take_damage()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L98", + "_origin": "ast", + "id": "entity_entity_entity_take_damage", + "community": 8, + "norm_label": ".take_damage()" + }, + { + "label": ".build_humanoid()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L105", + "_origin": "ast", + "id": "entity_entity_entity_build_humanoid", + "community": 8, + "norm_label": ".build_humanoid()" + }, + { + "label": ".sync_bodies_to_center()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L164", + "_origin": "ast", + "id": "entity_entity_entity_sync_bodies_to_center", + "community": 8, + "norm_label": ".sync_bodies_to_center()" + }, + { + "label": ".set_horizontal_vel()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L177", + "_origin": "ast", + "id": "entity_entity_entity_set_horizontal_vel", + "community": 8, + "norm_label": ".set_horizontal_vel()" + }, + { + "label": ".set_vertical_vel()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L183", + "_origin": "ast", + "id": "entity_entity_entity_set_vertical_vel", + "community": 8, + "norm_label": ".set_vertical_vel()" + }, + { + "label": ".apply_fire_damage()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L189", + "_origin": "ast", + "id": "entity_entity_entity_apply_fire_damage", + "community": 8, + "norm_label": ".apply_fire_damage()" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L207", + "_origin": "ast", + "id": "entity_entity_entitymanager", + "community": 8, + "norm_label": "entitymanager" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L213", + "_origin": "ast", + "id": "entity_entity_entitymanager_new", + "community": 8, + "norm_label": ".new()" + }, + { + "label": ".spawn()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L220", + "_origin": "ast", + "id": "entity_entity_entitymanager_spawn", + "community": 8, + "norm_label": ".spawn()" + }, + { + "label": ".get()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "_origin": "ast", + "id": "entity_entity_entitymanager_get", + "community": 8, + "norm_label": ".get()" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "_origin": "ast", + "id": "src_entity_entity_rs_option", + "community": 8, + "norm_label": "option" + }, + { + "label": ".get_mut()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L246", + "_origin": "ast", + "id": "entity_entity_entitymanager_get_mut", + "community": 8, + "norm_label": ".get_mut()" + }, + { + "label": ".all()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L250", + "_origin": "ast", + "id": "entity_entity_entitymanager_all", + "community": 8, + "norm_label": ".all()" + }, + { + "label": ".all_mut()", + "file_type": "code", + "source_file": "src/entity/entity.rs", + "source_location": "L254", + "_origin": "ast", + "id": "entity_entity_entitymanager_all_mut", + "community": 8, + "norm_label": ".all_mut()" + }, + { + "label": "mod.rs", + "file_type": "code", + "source_file": "src/entity/mod.rs", + "source_location": "L1", + "_origin": "ast", + "id": "entity_mod", + "community": 1, + "norm_label": "mod.rs" + }, + { + "label": "player.rs", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L1", + "_origin": "ast", + "id": "entity_player", + "community": 14, + "norm_label": "player.rs" + }, + { + "label": "Player", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L3", + "_origin": "ast", + "id": "entity_player_player", + "community": 14, + "norm_label": "player" + }, + { + "label": "EntityId", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L4", + "_origin": "ast", + "id": "src_entity_player_rs_entityid", + "community": 14, + "norm_label": "entityid" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "_origin": "ast", + "id": "entity_player_player_new", + "community": 14, + "norm_label": ".new()" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "_origin": "ast", + "id": "src_entity_player_rs_entitymanager", + "community": 14, + "norm_label": "entitymanager" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "_origin": "ast", + "id": "src_entity_player_rs_self", + "community": 14, + "norm_label": "self" + }, + { + "label": ".spawn_at()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L19", + "_origin": "ast", + "id": "entity_player_player_spawn_at", + "community": 14, + "norm_label": ".spawn_at()" + }, + { + "label": ".move_left()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L25", + "_origin": "ast", + "id": "entity_player_player_move_left", + "community": 14, + "norm_label": ".move_left()" + }, + { + "label": ".move_right()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L31", + "_origin": "ast", + "id": "entity_player_player_move_right", + "community": 14, + "norm_label": ".move_right()" + }, + { + "label": ".stop_horizontal()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L37", + "_origin": "ast", + "id": "entity_player_player_stop_horizontal", + "community": 14, + "norm_label": ".stop_horizontal()" + }, + { + "label": ".jump()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L43", + "_origin": "ast", + "id": "entity_player_player_jump", + "community": 14, + "norm_label": ".jump()" + }, + { + "label": ".entity()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "_origin": "ast", + "id": "entity_player_player_entity", + "community": 14, + "norm_label": ".entity()" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_entity_player_rs_option", + "community": 14, + "norm_label": "option" + }, + { + "label": "Entity", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_entity_player_rs_entity", + "community": 14, + "norm_label": "entity" + }, + { + "label": ".center()", + "file_type": "code", + "source_file": "src/entity/player.rs", + "source_location": "L55", + "_origin": "ast", + "id": "entity_player_player_center", + "community": 14, + "norm_label": ".center()" + }, + { + "label": "game.rs", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L1", + "_origin": "ast", + "id": "src_game", + "community": 1, + "norm_label": "game.rs" + }, + { + "label": "Game", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L13", + "_origin": "ast", + "id": "src_game_game", + "community": 1, + "norm_label": "game" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L14", + "_origin": "ast", + "id": "src_game_rs_grid", + "community": 1, + "norm_label": "grid" + }, + { + "label": "CellularAutomaton", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L15", + "_origin": "ast", + "id": "cellularautomaton", + "community": 1, + "norm_label": "cellularautomaton" + }, + { + "label": "VerletSolver", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L16", + "_origin": "ast", + "id": "verletsolver", + "community": 1, + "norm_label": "verletsolver" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L17", + "_origin": "ast", + "id": "src_game_rs_entitymanager", + "community": 1, + "norm_label": "entitymanager" + }, + { + "label": "Player", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L18", + "_origin": "ast", + "id": "player", + "community": 1, + "norm_label": "player" + }, + { + "label": "InputHandler", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L19", + "_origin": "ast", + "id": "inputhandler", + "community": 1, + "norm_label": "inputhandler" + }, + { + "label": "Duration", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L24", + "_origin": "ast", + "id": "duration", + "community": 1, + "norm_label": "duration" + }, + { + "label": "Instant", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L26", + "_origin": "ast", + "id": "src_game_rs_instant", + "community": 1, + "norm_label": "instant" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L30", + "_origin": "ast", + "id": "src_game_game_new", + "community": 1, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L30", + "_origin": "ast", + "id": "src_game_rs_self", + "community": 1, + "norm_label": "self" + }, + { + "label": ".init_world()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L50", + "_origin": "ast", + "id": "src_game_game_init_world", + "community": 1, + "norm_label": ".init_world()" + }, + { + "label": ".center_camera_on()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L160", + "_origin": "ast", + "id": "src_game_game_center_camera_on", + "community": 1, + "norm_label": ".center_camera_on()" + }, + { + "label": ".run()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L165", + "_origin": "ast", + "id": "src_game_game_run", + "community": 1, + "norm_label": ".run()" + }, + { + "label": "R", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L165", + "_origin": "ast", + "id": "r", + "community": 1, + "norm_label": "r" + }, + { + "label": ".handle_input()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L207", + "_origin": "ast", + "id": "src_game_game_handle_input", + "community": 1, + "norm_label": ".handle_input()" + }, + { + "label": ".check_on_ground()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L271", + "_origin": "ast", + "id": "src_game_game_check_on_ground", + "community": 1, + "norm_label": ".check_on_ground()" + }, + { + "label": ".fixed_update()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L290", + "_origin": "ast", + "id": "src_game_game_fixed_update", + "community": 1, + "norm_label": ".fixed_update()" + }, + { + "label": ".update_entities()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L304", + "_origin": "ast", + "id": "src_game_game_update_entities", + "community": 1, + "norm_label": ".update_entities()" + }, + { + "label": ".update_rigid_entity()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L347", + "_origin": "ast", + "id": "src_game_game_update_rigid_entity", + "community": 1, + "norm_label": ".update_rigid_entity()" + }, + { + "label": ".aabb_overlaps_solid()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L447", + "_origin": "ast", + "id": "src_game_game_aabb_overlaps_solid", + "community": 1, + "norm_label": ".aabb_overlaps_solid()" + }, + { + "label": ".resolve_aabb_x()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L476", + "_origin": "ast", + "id": "src_game_game_resolve_aabb_x", + "community": 1, + "norm_label": ".resolve_aabb_x()" + }, + { + "label": ".resolve_aabb_y()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L535", + "_origin": "ast", + "id": "src_game_game_resolve_aabb_y", + "community": 1, + "norm_label": ".resolve_aabb_y()" + }, + { + "label": ".update_ragdoll_entity()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L596", + "_origin": "ast", + "id": "src_game_game_update_ragdoll_entity", + "community": 1, + "norm_label": ".update_ragdoll_entity()" + }, + { + "label": ".apply_world_damage()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L652", + "_origin": "ast", + "id": "src_game_game_apply_world_damage", + "community": 1, + "norm_label": ".apply_world_damage()" + }, + { + "label": ".try_spawn_goblin()", + "file_type": "code", + "source_file": "src/game.rs", + "source_location": "L675", + "_origin": "ast", + "id": "src_game_game_try_spawn_goblin", + "community": 1, + "norm_label": ".try_spawn_goblin()" + }, + { + "label": "input.rs", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L1", + "_origin": "ast", + "id": "src_input", + "community": 7, + "norm_label": "input.rs" + }, + { + "label": "Action", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L7", + "_origin": "ast", + "id": "src_input_action", + "community": 7, + "norm_label": "action" + }, + { + "label": "MaterialBrush", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L20", + "_origin": "ast", + "id": "src_input_materialbrush", + "community": 7, + "norm_label": "materialbrush" + }, + { + "label": "HeldKey", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L35", + "_origin": "ast", + "id": "src_input_heldkey", + "community": 7, + "norm_label": "heldkey" + }, + { + "label": "HeldState", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_input_heldstate", + "community": 7, + "norm_label": "heldstate" + }, + { + "label": "Instant", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L45", + "_origin": "ast", + "id": "src_input_rs_instant", + "community": 7, + "norm_label": "instant" + }, + { + "label": "InputHandler", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_input_inputhandler", + "community": 7, + "norm_label": "inputhandler" + }, + { + "label": "HashMap", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L53", + "_origin": "ast", + "id": "src_input_rs_hashmap", + "community": 7, + "norm_label": "hashmap" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L55", + "_origin": "ast", + "id": "src_input_rs_option", + "community": 7, + "norm_label": "option" + }, + { + "label": "Receiver", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L55", + "_origin": "ast", + "id": "receiver", + "community": 7, + "norm_label": "receiver" + }, + { + "label": "Event", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L55", + "_origin": "ast", + "id": "event", + "community": 7, + "norm_label": "event" + }, + { + "label": "JoinHandle", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L56", + "_origin": "ast", + "id": "joinhandle", + "community": 7, + "norm_label": "joinhandle" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L60", + "_origin": "ast", + "id": "src_input_inputhandler_new", + "community": 7, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L60", + "_origin": "ast", + "id": "src_input_rs_self", + "community": 7, + "norm_label": "self" + }, + { + "label": ".start()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L70", + "_origin": "ast", + "id": "src_input_inputhandler_start", + "community": 7, + "norm_label": ".start()" + }, + { + "label": ".stop()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L87", + "_origin": "ast", + "id": "src_input_inputhandler_stop", + "community": 7, + "norm_label": ".stop()" + }, + { + "label": ".key_to_held()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L93", + "_origin": "ast", + "id": "src_input_inputhandler_key_to_held", + "community": 7, + "norm_label": ".key_to_held()" + }, + { + "label": "KeyCode", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L93", + "_origin": "ast", + "id": "src_input_rs_keycode", + "community": 7, + "norm_label": "keycode" + }, + { + "label": ".release()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L105", + "_origin": "ast", + "id": "src_input_inputhandler_release", + "community": 7, + "norm_label": ".release()" + }, + { + "label": ".is_held()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L109", + "_origin": "ast", + "id": "src_input_inputhandler_is_held", + "community": 7, + "norm_label": ".is_held()" + }, + { + "label": ".update()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L113", + "_origin": "ast", + "id": "src_input_inputhandler_update", + "community": 7, + "norm_label": ".update()" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L113", + "_origin": "ast", + "id": "src_input_rs_vec", + "community": 7, + "norm_label": "vec" + }, + { + "label": ".held_actions()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L187", + "_origin": "ast", + "id": "src_input_inputhandler_held_actions", + "community": 7, + "norm_label": ".held_actions()" + }, + { + "label": ".jump_requested()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L220", + "_origin": "ast", + "id": "src_input_inputhandler_jump_requested", + "community": 7, + "norm_label": ".jump_requested()" + }, + { + "label": ".to_material()", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L226", + "_origin": "ast", + "id": "src_input_materialbrush_to_material", + "community": 7, + "norm_label": ".to_material()" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/input.rs", + "source_location": "L226", + "_origin": "ast", + "id": "src_input_rs_materialid", + "community": 7, + "norm_label": "materialid" + }, + { + "label": "lib.rs", + "file_type": "code", + "source_file": "src/lib.rs", + "source_location": "L1", + "_origin": "ast", + "id": "src_lib", + "community": 45, + "norm_label": "lib.rs" + }, + { + "label": "main.rs", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L1", + "_origin": "ast", + "id": "src_main", + "community": 5, + "norm_label": "main.rs" + }, + { + "label": "Cli", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L16", + "_origin": "ast", + "id": "src_main_cli", + "community": 5, + "norm_label": "cli" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L18", + "_origin": "ast", + "id": "src_main_rs_string", + "community": 5, + "norm_label": "string" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L27", + "_origin": "ast", + "id": "src_main_rs_option", + "community": 5, + "norm_label": "option" + }, + { + "label": "GpuRenderer", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L33", + "_origin": "ast", + "id": "src_main_gpurenderer", + "community": 5, + "norm_label": "gpurenderer" + }, + { + "label": "verbatim::render::vulkan::VulkanRenderer", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L40", + "_origin": "ast", + "id": "src_main_verbatim_render_vulkan_vulkanrenderer", + "community": 5, + "norm_label": "verbatim::render::vulkan::vulkanrenderer" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "community": 5, + "norm_label": ".new()" + }, + { + "label": "Arc", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_main_rs_arc", + "community": 5, + "norm_label": "arc" + }, + { + "label": "Window", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_main_rs_window", + "community": 5, + "norm_label": "window" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_main_rs_result", + "community": 5, + "norm_label": "result" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_main_rs_self", + "community": 5, + "norm_label": "self" + }, + { + "label": ".render()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_main_verbatim_render_vulkan_vulkanrenderer_render", + "community": 5, + "norm_label": ".render()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_main_rs_grid", + "community": 5, + "norm_label": "grid" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_main_rs_entitymanager", + "community": 5, + "norm_label": "entitymanager" + }, + { + "label": ".grid_w()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L47", + "_origin": "ast", + "id": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", + "community": 5, + "norm_label": ".grid_w()" + }, + { + "label": ".grid_h()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L48", + "_origin": "ast", + "id": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", + "community": 5, + "norm_label": ".grid_h()" + }, + { + "label": "verbatim::render::graphics::GraphicsRenderer", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_main_verbatim_render_graphics_graphicsrenderer", + "community": 5, + "norm_label": "verbatim::render::graphics::graphicsrenderer" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L52", + "_origin": "ast", + "id": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "community": 5, + "norm_label": ".new()" + }, + { + "label": ".render()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L55", + "_origin": "ast", + "id": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "community": 5, + "norm_label": ".render()" + }, + { + "label": ".grid_w()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L58", + "_origin": "ast", + "id": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", + "community": 5, + "norm_label": ".grid_w()" + }, + { + "label": ".grid_h()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L59", + "_origin": "ast", + "id": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", + "community": 5, + "norm_label": ".grid_h()" + }, + { + "label": "main()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L62", + "_origin": "ast", + "id": "src_main_main", + "community": 5, + "norm_label": "main()" + }, + { + "label": "run_gpu_mode()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L112", + "_origin": "ast", + "id": "src_main_run_gpu_mode", + "community": 5, + "norm_label": "run_gpu_mode()" + }, + { + "label": "run_test_mode()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L248", + "_origin": "ast", + "id": "src_main_run_test_mode", + "community": 5, + "norm_label": "run_test_mode()" + }, + { + "label": "run_replay_mode()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L279", + "_origin": "ast", + "id": "src_main_run_replay_mode", + "community": 5, + "norm_label": "run_replay_mode()" + }, + { + "label": "run_headless()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L308", + "_origin": "ast", + "id": "src_main_run_headless", + "community": 5, + "norm_label": "run_headless()" + }, + { + "label": "dump_view()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L355", + "_origin": "ast", + "id": "src_main_dump_view", + "community": 5, + "norm_label": "dump_view()" + }, + { + "label": "player_info()", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L364", + "_origin": "ast", + "id": "src_main_player_info", + "community": 5, + "norm_label": "player_info()" + }, + { + "label": "Game", + "file_type": "code", + "source_file": "src/main.rs", + "source_location": "L364", + "_origin": "ast", + "id": "src_main_rs_game", + "community": 5, + "norm_label": "game" + }, + { + "label": "collision.rs", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L1", + "_origin": "ast", + "id": "physics_collision", + "community": 26, + "norm_label": "collision.rs" + }, + { + "label": "CollisionResult", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L5", + "_origin": "ast", + "id": "physics_collision_collisionresult", + "community": 26, + "norm_label": "collisionresult" + }, + { + "label": ".none()", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L15", + "_origin": "ast", + "id": "physics_collision_collisionresult_none", + "community": 26, + "norm_label": ".none()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L15", + "_origin": "ast", + "id": "src_physics_collision_rs_self", + "community": 26, + "norm_label": "self" + }, + { + "label": "resolve_grid_collision()", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "_origin": "ast", + "id": "physics_collision_resolve_grid_collision", + "community": 26, + "norm_label": "resolve_grid_collision()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "_origin": "ast", + "id": "src_physics_collision_rs_grid", + "community": 26, + "norm_label": "grid" + }, + { + "label": "SubBody", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "_origin": "ast", + "id": "src_physics_collision_rs_subbody", + "community": 26, + "norm_label": "subbody" + }, + { + "label": "apply_liquid_drag()", + "file_type": "code", + "source_file": "src/physics/collision.rs", + "source_location": "L142", + "_origin": "ast", + "id": "physics_collision_apply_liquid_drag", + "community": 26, + "norm_label": "apply_liquid_drag()" + }, + { + "label": "mod.rs", + "file_type": "code", + "source_file": "src/physics/mod.rs", + "source_location": "L1", + "_origin": "ast", + "id": "physics_mod", + "community": 44, + "norm_label": "mod.rs" + }, + { + "label": "verlet.rs", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L1", + "_origin": "ast", + "id": "physics_verlet", + "community": 19, + "norm_label": "verlet.rs" + }, + { + "label": "SubBody", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L4", + "_origin": "ast", + "id": "physics_verlet_subbody", + "community": 19, + "norm_label": "subbody" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L12", + "_origin": "ast", + "id": "src_physics_verlet_rs_materialid", + "community": 19, + "norm_label": "materialid" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L20", + "_origin": "ast", + "id": "physics_verlet_subbody_new", + "community": 19, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L20", + "_origin": "ast", + "id": "src_physics_verlet_rs_self", + "community": 19, + "norm_label": "self" + }, + { + "label": ".vx()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L38", + "_origin": "ast", + "id": "physics_verlet_subbody_vx", + "community": 19, + "norm_label": ".vx()" + }, + { + "label": ".vy()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L43", + "_origin": "ast", + "id": "physics_verlet_subbody_vy", + "community": 19, + "norm_label": ".vy()" + }, + { + "label": ".set_vel()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L48", + "_origin": "ast", + "id": "physics_verlet_subbody_set_vel", + "community": 19, + "norm_label": ".set_vel()" + }, + { + "label": "Constraint", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L55", + "_origin": "ast", + "id": "physics_verlet_constraint", + "community": 19, + "norm_label": "constraint" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L63", + "_origin": "ast", + "id": "physics_verlet_constraint_new", + "community": 19, + "norm_label": ".new()" + }, + { + "label": "VerletSolver", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L74", + "_origin": "ast", + "id": "physics_verlet_verletsolver", + "community": 19, + "norm_label": "verletsolver" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L83", + "_origin": "ast", + "id": "physics_verlet_verletsolver_new", + "community": 19, + "norm_label": ".new()" + }, + { + "label": ".integrate()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L93", + "_origin": "ast", + "id": "physics_verlet_verletsolver_integrate", + "community": 19, + "norm_label": ".integrate()" + }, + { + "label": ".solve_constraints()", + "file_type": "code", + "source_file": "src/physics/verlet.rs", + "source_location": "L116", + "_origin": "ast", + "id": "physics_verlet_verletsolver_solve_constraints", + "community": 19, + "norm_label": ".solve_constraints()" + }, + { + "label": "graphics.rs", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L1", + "_origin": "ast", + "id": "render_graphics", + "community": 2, + "norm_label": "graphics.rs" + }, + { + "label": "ColorInstance", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L15", + "_origin": "ast", + "id": "render_graphics_colorinstance", + "community": 2, + "norm_label": "colorinstance" + }, + { + "label": "PushConstants", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L23", + "_origin": "ast", + "id": "render_graphics_pushconstants", + "community": 2, + "norm_label": "pushconstants" + }, + { + "label": "GraphicsRenderer", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L28", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer", + "community": 2, + "norm_label": "graphicsrenderer" + }, + { + "label": "Entry", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L32", + "_origin": "ast", + "id": "src_render_graphics_rs_entry", + "community": 2, + "norm_label": "entry" + }, + { + "label": "Instance", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L33", + "_origin": "ast", + "id": "src_render_graphics_rs_instance", + "community": 2, + "norm_label": "instance" + }, + { + "label": "SurfaceKHR", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L34", + "_origin": "ast", + "id": "src_render_graphics_rs_surfacekhr", + "community": 2, + "norm_label": "surfacekhr" + }, + { + "label": "PhysicalDevice", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L35", + "_origin": "ast", + "id": "src_render_graphics_rs_physicaldevice", + "community": 2, + "norm_label": "physicaldevice" + }, + { + "label": "Device", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L36", + "_origin": "ast", + "id": "src_render_graphics_rs_device", + "community": 2, + "norm_label": "device" + }, + { + "label": "Queue", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L37", + "_origin": "ast", + "id": "src_render_graphics_rs_queue", + "community": 2, + "norm_label": "queue" + }, + { + "label": "SwapchainKHR", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L40", + "_origin": "ast", + "id": "src_render_graphics_rs_swapchainkhr", + "community": 2, + "norm_label": "swapchainkhr" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_render_graphics_rs_vec", + "community": 2, + "norm_label": "vec" + }, + { + "label": "ImageView", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L41", + "_origin": "ast", + "id": "src_render_graphics_rs_imageview", + "community": 2, + "norm_label": "imageview" + }, + { + "label": "Extent2D", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L42", + "_origin": "ast", + "id": "src_render_graphics_rs_extent2d", + "community": 2, + "norm_label": "extent2d" + }, + { + "label": "RenderPass", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_render_graphics_rs_renderpass", + "community": 2, + "norm_label": "renderpass" + }, + { + "label": "Pipeline", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L45", + "_origin": "ast", + "id": "src_render_graphics_rs_pipeline", + "community": 2, + "norm_label": "pipeline" + }, + { + "label": "PipelineLayout", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L46", + "_origin": "ast", + "id": "src_render_graphics_rs_pipelinelayout", + "community": 2, + "norm_label": "pipelinelayout" + }, + { + "label": "Framebuffer", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L47", + "_origin": "ast", + "id": "src_render_graphics_rs_framebuffer", + "community": 2, + "norm_label": "framebuffer" + }, + { + "label": "CommandPool", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L49", + "_origin": "ast", + "id": "src_render_graphics_rs_commandpool", + "community": 2, + "norm_label": "commandpool" + }, + { + "label": "CommandBuffer", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L50", + "_origin": "ast", + "id": "src_render_graphics_rs_commandbuffer", + "community": 2, + "norm_label": "commandbuffer" + }, + { + "label": "Semaphore", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L52", + "_origin": "ast", + "id": "src_render_graphics_rs_semaphore", + "community": 2, + "norm_label": "semaphore" + }, + { + "label": "Fence", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L54", + "_origin": "ast", + "id": "src_render_graphics_rs_fence", + "community": 2, + "norm_label": "fence" + }, + { + "label": "Buffer", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L57", + "_origin": "ast", + "id": "src_render_graphics_rs_buffer", + "community": 2, + "norm_label": "buffer" + }, + { + "label": "DeviceMemory", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L58", + "_origin": "ast", + "id": "src_render_graphics_rs_devicememory", + "community": 2, + "norm_label": "devicememory" + }, + { + "label": "Arc", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L67", + "_origin": "ast", + "id": "src_render_graphics_rs_arc", + "community": 2, + "norm_label": "arc" + }, + { + "label": "Window", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L67", + "_origin": "ast", + "id": "src_render_graphics_rs_window", + "community": 2, + "norm_label": "window" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_new", + "community": 2, + "norm_label": ".new()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "_origin": "ast", + "id": "src_render_graphics_rs_result", + "community": 2, + "norm_label": "result" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "_origin": "ast", + "id": "src_render_graphics_rs_self", + "community": 2, + "norm_label": "self" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "_origin": "ast", + "id": "src_render_graphics_rs_string", + "community": 2, + "norm_label": "string" + }, + { + "label": ".render()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_render", + "community": 2, + "norm_label": ".render()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "_origin": "ast", + "id": "src_render_graphics_rs_grid", + "community": 2, + "norm_label": "grid" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "_origin": "ast", + "id": "src_render_graphics_rs_entitymanager", + "community": 2, + "norm_label": "entitymanager" + }, + { + "label": ".grid_w()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L438", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_grid_w", + "community": 2, + "norm_label": ".grid_w()" + }, + { + "label": ".grid_h()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L439", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_grid_h", + "community": 2, + "norm_label": ".grid_h()" + }, + { + "label": ".check_resize()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L441", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_check_resize", + "community": 2, + "norm_label": ".check_resize()" + }, + { + "label": "Drop", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L582", + "_origin": "ast", + "id": "src_render_graphics_rs_drop", + "community": 2, + "norm_label": "drop" + }, + { + "label": ".drop()", + "file_type": "code", + "source_file": "src/render/graphics.rs", + "source_location": "L583", + "_origin": "ast", + "id": "render_graphics_graphicsrenderer_drop", + "community": 2, + "norm_label": ".drop()" + }, + { + "label": "mod.rs", + "file_type": "code", + "source_file": "src/render/mod.rs", + "source_location": "L1", + "_origin": "ast", + "id": "render_mod", + "community": 42, + "norm_label": "mod.rs" + }, + { + "label": "Renderer", + "file_type": "code", + "source_file": "src/render/mod.rs", + "source_location": "L9", + "_origin": "ast", + "id": "render_mod_renderer", + "community": 42, + "norm_label": "renderer" + }, + { + "label": "terminal.rs", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L1", + "_origin": "ast", + "id": "render_terminal", + "community": 1, + "norm_label": "terminal.rs" + }, + { + "label": "TerminalRenderer", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L15", + "_origin": "ast", + "id": "render_terminal_terminalrenderer", + "community": 1, + "norm_label": "terminalrenderer" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L18", + "_origin": "ast", + "id": "src_render_terminal_rs_vec", + "community": 1, + "norm_label": "vec" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L23", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_new", + "community": 1, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L23", + "_origin": "ast", + "id": "src_render_terminal_rs_self", + "community": 1, + "norm_label": "self" + }, + { + "label": ".detect_size()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L32", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_detect_size", + "community": 1, + "norm_label": ".detect_size()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L32", + "_origin": "ast", + "id": "src_render_terminal_rs_result", + "community": 1, + "norm_label": "result" + }, + { + "label": ".empty_cell()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L39", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_empty_cell", + "community": 1, + "norm_label": ".empty_cell()" + }, + { + "label": "Renderer", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L44", + "_origin": "ast", + "id": "renderer", + "community": 1, + "norm_label": "renderer" + }, + { + "label": ".init()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L45", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_init", + "community": 1, + "norm_label": ".init()" + }, + { + "label": ".render()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_render", + "community": 1, + "norm_label": ".render()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "_origin": "ast", + "id": "src_render_terminal_rs_grid", + "community": 1, + "norm_label": "grid" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "_origin": "ast", + "id": "src_render_terminal_rs_entitymanager", + "community": 1, + "norm_label": "entitymanager" + }, + { + "label": ".shutdown()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L157", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_shutdown", + "community": 1, + "norm_label": ".shutdown()" + }, + { + "label": ".viewport_w()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L174", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_viewport_w", + "community": 1, + "norm_label": ".viewport_w()" + }, + { + "label": ".viewport_h()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L178", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_viewport_h", + "community": 1, + "norm_label": ".viewport_h()" + }, + { + "label": "Drop", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L183", + "_origin": "ast", + "id": "src_render_terminal_rs_drop", + "community": 1, + "norm_label": "drop" + }, + { + "label": ".drop()", + "file_type": "code", + "source_file": "src/render/terminal.rs", + "source_location": "L184", + "_origin": "ast", + "id": "render_terminal_terminalrenderer_drop", + "community": 1, + "norm_label": ".drop()" + }, + { + "label": "vulkan.rs", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L1", + "_origin": "ast", + "id": "render_vulkan", + "community": 0, + "norm_label": "vulkan.rs" + }, + { + "label": "CellInstance", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L20", + "_origin": "ast", + "id": "render_vulkan_cellinstance", + "community": 0, + "norm_label": "cellinstance" + }, + { + "label": "PushConstants", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L33", + "_origin": "ast", + "id": "render_vulkan_pushconstants", + "community": 0, + "norm_label": "pushconstants" + }, + { + "label": "VulkanRenderer", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L38", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer", + "community": 0, + "norm_label": "vulkanrenderer" + }, + { + "label": "Entry", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L42", + "_origin": "ast", + "id": "src_render_vulkan_rs_entry", + "community": 0, + "norm_label": "entry" + }, + { + "label": "Instance", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L43", + "_origin": "ast", + "id": "src_render_vulkan_rs_instance", + "community": 0, + "norm_label": "instance" + }, + { + "label": "SurfaceKHR", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L44", + "_origin": "ast", + "id": "src_render_vulkan_rs_surfacekhr", + "community": 0, + "norm_label": "surfacekhr" + }, + { + "label": "PhysicalDevice", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L45", + "_origin": "ast", + "id": "src_render_vulkan_rs_physicaldevice", + "community": 0, + "norm_label": "physicaldevice" + }, + { + "label": "Device", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L46", + "_origin": "ast", + "id": "src_render_vulkan_rs_device", + "community": 0, + "norm_label": "device" + }, + { + "label": "Queue", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L47", + "_origin": "ast", + "id": "src_render_vulkan_rs_queue", + "community": 0, + "norm_label": "queue" + }, + { + "label": "SwapchainKHR", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L50", + "_origin": "ast", + "id": "src_render_vulkan_rs_swapchainkhr", + "community": 0, + "norm_label": "swapchainkhr" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_render_vulkan_rs_vec", + "community": 0, + "norm_label": "vec" + }, + { + "label": "ImageView", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L51", + "_origin": "ast", + "id": "src_render_vulkan_rs_imageview", + "community": 0, + "norm_label": "imageview" + }, + { + "label": "Extent2D", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L52", + "_origin": "ast", + "id": "src_render_vulkan_rs_extent2d", + "community": 0, + "norm_label": "extent2d" + }, + { + "label": "RenderPass", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L54", + "_origin": "ast", + "id": "src_render_vulkan_rs_renderpass", + "community": 0, + "norm_label": "renderpass" + }, + { + "label": "Pipeline", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L55", + "_origin": "ast", + "id": "src_render_vulkan_rs_pipeline", + "community": 0, + "norm_label": "pipeline" + }, + { + "label": "PipelineLayout", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L56", + "_origin": "ast", + "id": "src_render_vulkan_rs_pipelinelayout", + "community": 0, + "norm_label": "pipelinelayout" + }, + { + "label": "Framebuffer", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L57", + "_origin": "ast", + "id": "src_render_vulkan_rs_framebuffer", + "community": 0, + "norm_label": "framebuffer" + }, + { + "label": "CommandPool", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L59", + "_origin": "ast", + "id": "src_render_vulkan_rs_commandpool", + "community": 0, + "norm_label": "commandpool" + }, + { + "label": "CommandBuffer", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L60", + "_origin": "ast", + "id": "src_render_vulkan_rs_commandbuffer", + "community": 0, + "norm_label": "commandbuffer" + }, + { + "label": "Semaphore", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L62", + "_origin": "ast", + "id": "src_render_vulkan_rs_semaphore", + "community": 0, + "norm_label": "semaphore" + }, + { + "label": "Fence", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L64", + "_origin": "ast", + "id": "src_render_vulkan_rs_fence", + "community": 0, + "norm_label": "fence" + }, + { + "label": "Buffer", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L67", + "_origin": "ast", + "id": "src_render_vulkan_rs_buffer", + "community": 0, + "norm_label": "buffer" + }, + { + "label": "DeviceMemory", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L68", + "_origin": "ast", + "id": "src_render_vulkan_rs_devicememory", + "community": 0, + "norm_label": "devicememory" + }, + { + "label": "Image", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L72", + "_origin": "ast", + "id": "image", + "community": 0, + "norm_label": "image" + }, + { + "label": "Sampler", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L75", + "_origin": "ast", + "id": "sampler", + "community": 0, + "norm_label": "sampler" + }, + { + "label": "HashMap", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L76", + "_origin": "ast", + "id": "src_render_vulkan_rs_hashmap", + "community": 0, + "norm_label": "hashmap" + }, + { + "label": "DescriptorPool", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L83", + "_origin": "ast", + "id": "descriptorpool", + "community": 0, + "norm_label": "descriptorpool" + }, + { + "label": "DescriptorSet", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L84", + "_origin": "ast", + "id": "descriptorset", + "community": 0, + "norm_label": "descriptorset" + }, + { + "label": "DescriptorSetLayout", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L85", + "_origin": "ast", + "id": "descriptorsetlayout", + "community": 0, + "norm_label": "descriptorsetlayout" + }, + { + "label": "Arc", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L86", + "_origin": "ast", + "id": "src_render_vulkan_rs_arc", + "community": 0, + "norm_label": "arc" + }, + { + "label": "Window", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L86", + "_origin": "ast", + "id": "src_render_vulkan_rs_window", + "community": 0, + "norm_label": "window" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_new", + "community": 0, + "norm_label": ".new()" + }, + { + "label": "Result", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "_origin": "ast", + "id": "src_render_vulkan_rs_result", + "community": 0, + "norm_label": "result" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "_origin": "ast", + "id": "src_render_vulkan_rs_self", + "community": 0, + "norm_label": "self" + }, + { + "label": "String", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "_origin": "ast", + "id": "src_render_vulkan_rs_string", + "community": 0, + "norm_label": "string" + }, + { + "label": ".render()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_render", + "community": 0, + "norm_label": ".render()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "_origin": "ast", + "id": "src_render_vulkan_rs_grid", + "community": 0, + "norm_label": "grid" + }, + { + "label": "EntityManager", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "_origin": "ast", + "id": "src_render_vulkan_rs_entitymanager", + "community": 0, + "norm_label": "entitymanager" + }, + { + "label": ".grid_w()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L307", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_grid_w", + "community": 0, + "norm_label": ".grid_w()" + }, + { + "label": ".grid_h()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L308", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_grid_h", + "community": 0, + "norm_label": ".grid_h()" + }, + { + "label": ".check_resize()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L310", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_check_resize", + "community": 0, + "norm_label": ".check_resize()" + }, + { + "label": "Drop", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L445", + "_origin": "ast", + "id": "src_render_vulkan_rs_drop", + "community": 0, + "norm_label": "drop" + }, + { + "label": ".drop()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L446", + "_origin": "ast", + "id": "render_vulkan_vulkanrenderer_drop", + "community": 0, + "norm_label": ".drop()" + }, + { + "label": "create_instance()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "_origin": "ast", + "id": "render_vulkan_create_instance", + "community": 0, + "norm_label": "create_instance()" + }, + { + "label": "c_char", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "_origin": "ast", + "id": "c_char", + "community": 0, + "norm_label": "c_char" + }, + { + "label": "create_surface()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "_origin": "ast", + "id": "render_vulkan_create_surface", + "community": 0, + "norm_label": "create_surface()" + }, + { + "label": "pick_physical_device()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "_origin": "ast", + "id": "render_vulkan_pick_physical_device", + "community": 0, + "norm_label": "pick_physical_device()" + }, + { + "label": "create_device()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "_origin": "ast", + "id": "render_vulkan_create_device", + "community": 0, + "norm_label": "create_device()" + }, + { + "label": "create_swapchain()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "_origin": "ast", + "id": "render_vulkan_create_swapchain", + "community": 0, + "norm_label": "create_swapchain()" + }, + { + "label": "Format", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "_origin": "ast", + "id": "format", + "community": 0, + "norm_label": "format" + }, + { + "label": "create_image_view()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "_origin": "ast", + "id": "render_vulkan_create_image_view", + "community": 0, + "norm_label": "create_image_view()" + }, + { + "label": "create_render_pass()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "_origin": "ast", + "id": "render_vulkan_create_render_pass", + "community": 0, + "norm_label": "create_render_pass()" + }, + { + "label": "create_descriptor()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "_origin": "ast", + "id": "render_vulkan_create_descriptor", + "community": 0, + "norm_label": "create_descriptor()" + }, + { + "label": "create_pipeline()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "_origin": "ast", + "id": "render_vulkan_create_pipeline", + "community": 0, + "norm_label": "create_pipeline()" + }, + { + "label": "create_framebuffer()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "_origin": "ast", + "id": "render_vulkan_create_framebuffer", + "community": 0, + "norm_label": "create_framebuffer()" + }, + { + "label": "create_command_pool()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "_origin": "ast", + "id": "render_vulkan_create_command_pool", + "community": 0, + "norm_label": "create_command_pool()" + }, + { + "label": "create_command_buffers()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "_origin": "ast", + "id": "render_vulkan_create_command_buffers", + "community": 0, + "norm_label": "create_command_buffers()" + }, + { + "label": "create_sync()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "_origin": "ast", + "id": "render_vulkan_create_sync", + "community": 0, + "norm_label": "create_sync()" + }, + { + "label": "find_mem_type()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "_origin": "ast", + "id": "render_vulkan_find_mem_type", + "community": 0, + "norm_label": "find_mem_type()" + }, + { + "label": "MemoryPropertyFlags", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "_origin": "ast", + "id": "memorypropertyflags", + "community": 0, + "norm_label": "memorypropertyflags" + }, + { + "label": "create_buffer_with_data()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "_origin": "ast", + "id": "render_vulkan_create_buffer_with_data", + "community": 0, + "norm_label": "create_buffer_with_data()" + }, + { + "label": "T", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "_origin": "ast", + "id": "t", + "community": 0, + "norm_label": "t" + }, + { + "label": "BufferUsageFlags", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "_origin": "ast", + "id": "bufferusageflags", + "community": 0, + "norm_label": "bufferusageflags" + }, + { + "label": "create_vertex_index_buffers()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "_origin": "ast", + "id": "render_vulkan_create_vertex_index_buffers", + "community": 0, + "norm_label": "create_vertex_index_buffers()" + }, + { + "label": "create_atlas_texture()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "_origin": "ast", + "id": "render_vulkan_create_atlas_texture", + "community": 0, + "norm_label": "create_atlas_texture()" + }, + { + "label": "create_instance_buffer()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "_origin": "ast", + "id": "render_vulkan_create_instance_buffer", + "community": 0, + "norm_label": "create_instance_buffer()" + }, + { + "label": "update_descriptor_set()", + "file_type": "code", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "_origin": "ast", + "id": "render_vulkan_update_descriptor_set", + "community": 0, + "norm_label": "update_descriptor_set()" + }, + { + "label": "window_input.rs", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L1", + "_origin": "ast", + "id": "render_window_input", + "community": 23, + "norm_label": "window_input.rs" + }, + { + "label": "WindowInput", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L4", + "_origin": "ast", + "id": "render_window_input_windowinput", + "community": 23, + "norm_label": "windowinput" + }, + { + "label": "Option", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L13", + "_origin": "ast", + "id": "src_render_window_input_rs_option", + "community": 23, + "norm_label": "option" + }, + { + "label": "HashSet", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L15", + "_origin": "ast", + "id": "hashset", + "community": 23, + "norm_label": "hashset" + }, + { + "label": "KeyCode", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L15", + "_origin": "ast", + "id": "src_render_window_input_rs_keycode", + "community": 23, + "norm_label": "keycode" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L19", + "_origin": "ast", + "id": "render_window_input_windowinput_new", + "community": 23, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L19", + "_origin": "ast", + "id": "src_render_window_input_rs_self", + "community": 23, + "norm_label": "self" + }, + { + "label": ".on_key_event()", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "_origin": "ast", + "id": "render_window_input_windowinput_on_key_event", + "community": 23, + "norm_label": ".on_key_event()" + }, + { + "label": "PhysicalKey", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "_origin": "ast", + "id": "physicalkey", + "community": 23, + "norm_label": "physicalkey" + }, + { + "label": "ElementState", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "_origin": "ast", + "id": "elementstate", + "community": 23, + "norm_label": "elementstate" + }, + { + "label": ".update()", + "file_type": "code", + "source_file": "src/render/window_input.rs", + "source_location": "L45", + "_origin": "ast", + "id": "render_window_input_windowinput_update", + "community": 23, + "norm_label": ".update()" + }, + { + "label": "cell.rs", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L1", + "_origin": "ast", + "id": "world_cell", + "community": 15, + "norm_label": "cell.rs" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L5", + "_origin": "ast", + "id": "world_cell_materialid", + "community": 15, + "norm_label": "materialid" + }, + { + "label": ".display_char()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L23", + "_origin": "ast", + "id": "world_cell_materialid_display_char", + "community": 15, + "norm_label": ".display_char()" + }, + { + "label": "Cell", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L44", + "_origin": "ast", + "id": "world_cell_cell", + "community": 15, + "norm_label": "cell" + }, + { + "label": ".empty()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L54", + "_origin": "ast", + "id": "world_cell_cell_empty", + "community": 15, + "norm_label": ".empty()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L54", + "_origin": "ast", + "id": "src_world_cell_rs_self", + "community": 15, + "norm_label": "self" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L65", + "_origin": "ast", + "id": "world_cell_cell_new", + "community": 15, + "norm_label": ".new()" + }, + { + "label": ".is_empty()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L85", + "_origin": "ast", + "id": "world_cell_cell_is_empty", + "community": 15, + "norm_label": ".is_empty()" + }, + { + "label": ".is_solid()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L89", + "_origin": "ast", + "id": "world_cell_cell_is_solid", + "community": 15, + "norm_label": ".is_solid()" + }, + { + "label": ".is_liquid()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L94", + "_origin": "ast", + "id": "world_cell_cell_is_liquid", + "community": 15, + "norm_label": ".is_liquid()" + }, + { + "label": ".is_gas()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L99", + "_origin": "ast", + "id": "world_cell_cell_is_gas", + "community": 15, + "norm_label": ".is_gas()" + }, + { + "label": ".is_static()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L104", + "_origin": "ast", + "id": "world_cell_cell_is_static", + "community": 15, + "norm_label": ".is_static()" + }, + { + "label": ".density()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L109", + "_origin": "ast", + "id": "world_cell_cell_density", + "community": 15, + "norm_label": ".density()" + }, + { + "label": ".display_char()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L114", + "_origin": "ast", + "id": "world_cell_cell_display_char", + "community": 15, + "norm_label": ".display_char()" + }, + { + "label": "rand_u8()", + "file_type": "code", + "source_file": "src/world/cell.rs", + "source_location": "L121", + "_origin": "ast", + "id": "world_cell_rand_u8", + "community": 15, + "norm_label": "rand_u8()" + }, + { + "label": "cellular.rs", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L1", + "_origin": "ast", + "id": "world_cellular", + "community": 9, + "norm_label": "cellular.rs" + }, + { + "label": "CellularAutomaton", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L4", + "_origin": "ast", + "id": "world_cellular_cellularautomaton", + "community": 9, + "norm_label": "cellularautomaton" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L10", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_new", + "community": 9, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L10", + "_origin": "ast", + "id": "src_world_cellular_rs_self", + "community": 9, + "norm_label": "self" + }, + { + "label": ".rand()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L18", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_rand", + "community": 9, + "norm_label": ".rand()" + }, + { + "label": ".rand_bool()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L26", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_rand_bool", + "community": 9, + "norm_label": ".rand_bool()" + }, + { + "label": ".step()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L30", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_step", + "community": 9, + "norm_label": ".step()" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L30", + "_origin": "ast", + "id": "src_world_cellular_rs_grid", + "community": 9, + "norm_label": "grid" + }, + { + "label": ".try_move_down()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L69", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_try_move_down", + "community": 9, + "norm_label": ".try_move_down()" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L69", + "_origin": "ast", + "id": "src_world_cellular_rs_materialid", + "community": 9, + "norm_label": "materialid" + }, + { + "label": ".do_swap()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L104", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_do_swap", + "community": 9, + "norm_label": ".do_swap()" + }, + { + "label": ".update_sand()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L114", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_sand", + "community": 9, + "norm_label": ".update_sand()" + }, + { + "label": ".update_water()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L118", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_water", + "community": 9, + "norm_label": ".update_water()" + }, + { + "label": ".update_lava()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L170", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_lava", + "community": 9, + "norm_label": ".update_lava()" + }, + { + "label": ".lava_interact()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L207", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_lava_interact", + "community": 9, + "norm_label": ".lava_interact()" + }, + { + "label": ".update_steam()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L238", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_steam", + "community": 9, + "norm_label": ".update_steam()" + }, + { + "label": ".update_fire()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L273", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_fire", + "community": 9, + "norm_label": ".update_fire()" + }, + { + "label": ".update_smoke()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L313", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_smoke", + "community": 9, + "norm_label": ".update_smoke()" + }, + { + "label": ".update_acid()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L337", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_acid", + "community": 9, + "norm_label": ".update_acid()" + }, + { + "label": ".update_flesh()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L378", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_flesh", + "community": 9, + "norm_label": ".update_flesh()" + }, + { + "label": ".update_grass()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L389", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_grass", + "community": 9, + "norm_label": ".update_grass()" + }, + { + "label": ".update_dirt()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L397", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_update_dirt", + "community": 9, + "norm_label": ".update_dirt()" + }, + { + "label": ".heat_transfer()", + "file_type": "code", + "source_file": "src/world/cellular.rs", + "source_location": "L407", + "_origin": "ast", + "id": "world_cellular_cellularautomaton_heat_transfer", + "community": 9, + "norm_label": ".heat_transfer()" + }, + { + "label": "grid.rs", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L1", + "_origin": "ast", + "id": "world_grid", + "community": 12, + "norm_label": "grid.rs" + }, + { + "label": "Grid", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L6", + "_origin": "ast", + "id": "world_grid_grid", + "community": 12, + "norm_label": "grid" + }, + { + "label": "Vec", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L7", + "_origin": "ast", + "id": "src_world_grid_rs_vec", + "community": 12, + "norm_label": "vec" + }, + { + "label": "Cell", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L7", + "_origin": "ast", + "id": "cell", + "community": 12, + "norm_label": "cell" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L13", + "_origin": "ast", + "id": "world_grid_grid_new", + "community": 12, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L13", + "_origin": "ast", + "id": "src_world_grid_rs_self", + "community": 12, + "norm_label": "self" + }, + { + "label": ".idx()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L23", + "_origin": "ast", + "id": "world_grid_grid_idx", + "community": 12, + "norm_label": ".idx()" + }, + { + "label": ".in_bounds()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L28", + "_origin": "ast", + "id": "world_grid_grid_in_bounds", + "community": 12, + "norm_label": ".in_bounds()" + }, + { + "label": ".get()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L33", + "_origin": "ast", + "id": "world_grid_grid_get", + "community": 12, + "norm_label": ".get()" + }, + { + "label": ".set()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L41", + "_origin": "ast", + "id": "world_grid_grid_set", + "community": 12, + "norm_label": ".set()" + }, + { + "label": ".set_material()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L49", + "_origin": "ast", + "id": "world_grid_grid_set_material", + "community": 12, + "norm_label": ".set_material()" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L49", + "_origin": "ast", + "id": "src_world_grid_rs_materialid", + "community": 12, + "norm_label": "materialid" + }, + { + "label": ".fill_border()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L56", + "_origin": "ast", + "id": "world_grid_grid_fill_border", + "community": 12, + "norm_label": ".fill_border()" + }, + { + "label": ".reset_tick_flags()", + "file_type": "code", + "source_file": "src/world/grid.rs", + "source_location": "L67", + "_origin": "ast", + "id": "world_grid_grid_reset_tick_flags", + "community": 12, + "norm_label": ".reset_tick_flags()" + }, + { + "label": "material.rs", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L1", + "_origin": "ast", + "id": "world_material", + "community": 27, + "norm_label": "material.rs" + }, + { + "label": "Material", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L4", + "_origin": "ast", + "id": "world_material_material", + "community": 27, + "norm_label": "material" + }, + { + "label": "MaterialId", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L5", + "_origin": "ast", + "id": "src_world_material_rs_materialid", + "community": 27, + "norm_label": "materialid" + }, + { + "label": "MaterialRegistry", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L24", + "_origin": "ast", + "id": "world_material_materialregistry", + "community": 27, + "norm_label": "materialregistry" + }, + { + "label": ".new()", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L29", + "_origin": "ast", + "id": "world_material_materialregistry_new", + "community": 27, + "norm_label": ".new()" + }, + { + "label": "Self", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L29", + "_origin": "ast", + "id": "src_world_material_rs_self", + "community": 27, + "norm_label": "self" + }, + { + "label": ".get()", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L260", + "_origin": "ast", + "id": "world_material_materialregistry_get", + "community": 27, + "norm_label": ".get()" + }, + { + "label": ".instance()", + "file_type": "code", + "source_file": "src/world/material.rs", + "source_location": "L264", + "_origin": "ast", + "id": "world_material_materialregistry_instance", + "community": 27, + "norm_label": ".instance()" + }, + { + "label": "mod.rs", + "file_type": "code", + "source_file": "src/world/mod.rs", + "source_location": "L1", + "_origin": "ast", + "id": "world_mod", + "community": 46, + "norm_label": "mod.rs" + }, + { + "label": "collision_robust.rs", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_collision_robust", + "community": 21, + "norm_label": "collision_robust.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_collision_robust_setup", + "community": 21, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_collision_robust_rs_gamesession", + "community": 21, + "norm_label": "gamesession" + }, + { + "label": "player_blocked_by_left_wall()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L13", + "_origin": "ast", + "id": "tests_collision_robust_player_blocked_by_left_wall", + "community": 21, + "norm_label": "player_blocked_by_left_wall()" + }, + { + "label": "player_blocked_by_right_wall()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L26", + "_origin": "ast", + "id": "tests_collision_robust_player_blocked_by_right_wall", + "community": 21, + "norm_label": "player_blocked_by_right_wall()" + }, + { + "label": "player_slides_along_wall()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L39", + "_origin": "ast", + "id": "tests_collision_robust_player_slides_along_wall", + "community": 21, + "norm_label": "player_slides_along_wall()" + }, + { + "label": "player_blocked_by_ceiling()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L55", + "_origin": "ast", + "id": "tests_collision_robust_player_blocked_by_ceiling", + "community": 21, + "norm_label": "player_blocked_by_ceiling()" + }, + { + "label": "player_navigates_corridor()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L68", + "_origin": "ast", + "id": "tests_collision_robust_player_navigates_corridor", + "community": 21, + "norm_label": "player_navigates_corridor()" + }, + { + "label": "player_does_not_stick_to_wall()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L82", + "_origin": "ast", + "id": "tests_collision_robust_player_does_not_stick_to_wall", + "community": 21, + "norm_label": "player_does_not_stick_to_wall()" + }, + { + "label": "player_squeezes_through_gap()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L103", + "_origin": "ast", + "id": "tests_collision_robust_player_squeezes_through_gap", + "community": 21, + "norm_label": "player_squeezes_through_gap()" + }, + { + "label": "player_blocked_by_two_walls_both_sides()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L117", + "_origin": "ast", + "id": "tests_collision_robust_player_blocked_by_two_walls_both_sides", + "community": 21, + "norm_label": "player_blocked_by_two_walls_both_sides()" + }, + { + "label": "player_walks_up_slope()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L136", + "_origin": "ast", + "id": "tests_collision_robust_player_walks_up_slope", + "community": 21, + "norm_label": "player_walks_up_slope()" + }, + { + "label": "entity_collision_with_dirt_wall()", + "file_type": "code", + "source_file": "tests/collision_robust.rs", + "source_location": "L153", + "_origin": "ast", + "id": "tests_collision_robust_entity_collision_with_dirt_wall", + "community": 21, + "norm_label": "entity_collision_with_dirt_wall()" + }, + { + "label": "determinism.rs", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_determinism", + "community": 24, + "norm_label": "determinism.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L5", + "_origin": "ast", + "id": "tests_determinism_setup", + "community": 24, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L5", + "_origin": "ast", + "id": "tests_determinism_rs_gamesession", + "community": 24, + "norm_label": "gamesession" + }, + { + "label": "same_seed_same_player_position()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L14", + "_origin": "ast", + "id": "tests_determinism_same_seed_same_player_position", + "community": 24, + "norm_label": "same_seed_same_player_position()" + }, + { + "label": "same_seed_same_entity_count()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L28", + "_origin": "ast", + "id": "tests_determinism_same_seed_same_entity_count", + "community": 24, + "norm_label": "same_seed_same_entity_count()" + }, + { + "label": "same_seed_same_grid_state()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L39", + "_origin": "ast", + "id": "tests_determinism_same_seed_same_grid_state", + "community": 24, + "norm_label": "same_seed_same_grid_state()" + }, + { + "label": "replay_exact_match()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L61", + "_origin": "ast", + "id": "tests_determinism_replay_exact_match", + "community": 24, + "norm_label": "replay_exact_match()" + }, + { + "label": "replay_stop_at_tick()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L87", + "_origin": "ast", + "id": "tests_determinism_replay_stop_at_tick", + "community": 24, + "norm_label": "replay_stop_at_tick()" + }, + { + "label": "recording_captures_all_actions()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L105", + "_origin": "ast", + "id": "tests_determinism_recording_captures_all_actions", + "community": 24, + "norm_label": "recording_captures_all_actions()" + }, + { + "label": "determinism_with_spawn_and_damage()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L121", + "_origin": "ast", + "id": "tests_determinism_determinism_with_spawn_and_damage", + "community": 24, + "norm_label": "determinism_with_spawn_and_damage()" + }, + { + "label": "hundred_tick_determinism()", + "file_type": "code", + "source_file": "tests/determinism.rs", + "source_location": "L140", + "_origin": "ast", + "id": "tests_determinism_hundred_tick_determinism", + "community": 24, + "norm_label": "hundred_tick_determinism()" + }, + { + "label": "edge_cases.rs", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_edge_cases", + "community": 11, + "norm_label": "edge_cases.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_edge_cases_setup", + "community": 11, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_edge_cases_rs_gamesession", + "community": 11, + "norm_label": "gamesession" + }, + { + "label": "entity_at_world_boundary_stays_in_bounds()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L13", + "_origin": "ast", + "id": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", + "community": 11, + "norm_label": "entity_at_world_boundary_stays_in_bounds()" + }, + { + "label": "entity_at_right_boundary()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L25", + "_origin": "ast", + "id": "tests_edge_cases_entity_at_right_boundary", + "community": 11, + "norm_label": "entity_at_right_boundary()" + }, + { + "label": "many_entities_simulate_without_crash()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L36", + "_origin": "ast", + "id": "tests_edge_cases_many_entities_simulate_without_crash", + "community": 11, + "norm_label": "many_entities_simulate_without_crash()" + }, + { + "label": "spawn_many_goblins_stress()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L48", + "_origin": "ast", + "id": "tests_edge_cases_spawn_many_goblins_stress", + "community": 11, + "norm_label": "spawn_many_goblins_stress()" + }, + { + "label": "player_at_spawn_is_alive()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L64", + "_origin": "ast", + "id": "tests_edge_cases_player_at_spawn_is_alive", + "community": 11, + "norm_label": "player_at_spawn_is_alive()" + }, + { + "label": "player_bodies_count_matches_layout()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L73", + "_origin": "ast", + "id": "tests_edge_cases_player_bodies_count_matches_layout", + "community": 11, + "norm_label": "player_bodies_count_matches_layout()" + }, + { + "label": "goblin_has_correct_max_health()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L81", + "_origin": "ast", + "id": "tests_edge_cases_goblin_has_correct_max_health", + "community": 11, + "norm_label": "goblin_has_correct_max_health()" + }, + { + "label": "player_has_correct_max_health()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L90", + "_origin": "ast", + "id": "tests_edge_cases_player_has_correct_max_health", + "community": 11, + "norm_label": "player_has_correct_max_health()" + }, + { + "label": "fill_rect_creates_correct_material_count()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L98", + "_origin": "ast", + "id": "tests_edge_cases_fill_rect_creates_correct_material_count", + "community": 11, + "norm_label": "fill_rect_creates_correct_material_count()" + }, + { + "label": "clear_region_removes_all_materials()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L106", + "_origin": "ast", + "id": "tests_edge_cases_clear_region_removes_all_materials", + "community": 11, + "norm_label": "clear_region_removes_all_materials()" + }, + { + "label": "set_cell_overwrites_existing()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L115", + "_origin": "ast", + "id": "tests_edge_cases_set_cell_overwrites_existing", + "community": 11, + "norm_label": "set_cell_overwrites_existing()" + }, + { + "label": "out_of_bounds_cell_returns_error()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L124", + "_origin": "ast", + "id": "tests_edge_cases_out_of_bounds_cell_returns_error", + "community": 11, + "norm_label": "out_of_bounds_cell_returns_error()" + }, + { + "label": "paint_creates_material_in_radius()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L133", + "_origin": "ast", + "id": "tests_edge_cases_paint_creates_material_in_radius", + "community": 11, + "norm_label": "paint_creates_material_in_radius()" + }, + { + "label": "set_gravity_affects_player()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L142", + "_origin": "ast", + "id": "tests_edge_cases_set_gravity_affects_player", + "community": 11, + "norm_label": "set_gravity_affects_player()" + }, + { + "label": "set_camera_works()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L156", + "_origin": "ast", + "id": "tests_edge_cases_set_camera_works", + "community": 11, + "norm_label": "set_camera_works()" + }, + { + "label": "center_camera_on_player()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L164", + "_origin": "ast", + "id": "tests_edge_cases_center_camera_on_player", + "community": 11, + "norm_label": "center_camera_on_player()" + }, + { + "label": "kill_entity_removes_alive_status()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L174", + "_origin": "ast", + "id": "tests_edge_cases_kill_entity_removes_alive_status", + "community": 11, + "norm_label": "kill_entity_removes_alive_status()" + }, + { + "label": "find_material_locates_existing()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L186", + "_origin": "ast", + "id": "tests_edge_cases_find_material_locates_existing", + "community": 11, + "norm_label": "find_material_locates_existing()" + }, + { + "label": "find_material_returns_none_for_absent()", + "file_type": "code", + "source_file": "tests/edge_cases.rs", + "source_location": "L197", + "_origin": "ast", + "id": "tests_edge_cases_find_material_returns_none_for_absent", + "community": 11, + "norm_label": "find_material_returns_none_for_absent()" + }, + { + "label": "entity_damage.rs", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_entity_damage", + "community": 31, + "norm_label": "entity_damage.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_entity_damage_setup_empty", + "community": 31, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_entity_damage_rs_gamesession", + "community": 31, + "norm_label": "gamesession" + }, + { + "label": "entity_takes_lava_damage()", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_entity_damage_entity_takes_lava_damage", + "community": 31, + "norm_label": "entity_takes_lava_damage()" + }, + { + "label": "entity_dies_becomes_corpse()", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L26", + "_origin": "ast", + "id": "tests_entity_damage_entity_dies_becomes_corpse", + "community": 31, + "norm_label": "entity_dies_becomes_corpse()" + }, + { + "label": "entity_on_fire_takes_damage_over_time()", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L42", + "_origin": "ast", + "id": "tests_entity_damage_entity_on_fire_takes_damage_over_time", + "community": 31, + "norm_label": "entity_on_fire_takes_damage_over_time()" + }, + { + "label": "entity_blocked_by_stone()", + "file_type": "code", + "source_file": "tests/entity_damage.rs", + "source_location": "L63", + "_origin": "ast", + "id": "tests_entity_damage_entity_blocked_by_stone", + "community": 31, + "norm_label": "entity_blocked_by_stone()" + }, + { + "label": "entity_movement.rs", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_entity_movement", + "community": 32, + "norm_label": "entity_movement.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_entity_movement_setup_empty", + "community": 32, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_entity_movement_rs_gamesession", + "community": 32, + "norm_label": "gamesession" + }, + { + "label": "player_falls_and_lands()", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L13", + "_origin": "ast", + "id": "tests_entity_movement_player_falls_and_lands", + "community": 32, + "norm_label": "player_falls_and_lands()" + }, + { + "label": "player_blocked_by_stone_wall()", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L30", + "_origin": "ast", + "id": "tests_entity_movement_player_blocked_by_stone_wall", + "community": 32, + "norm_label": "player_blocked_by_stone_wall()" + }, + { + "label": "player_can_move_right()", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L43", + "_origin": "ast", + "id": "tests_entity_movement_player_can_move_right", + "community": 32, + "norm_label": "player_can_move_right()" + }, + { + "label": "player_survives_fall()", + "file_type": "code", + "source_file": "tests/entity_movement.rs", + "source_location": "L55", + "_origin": "ast", + "id": "tests_entity_movement_player_survives_fall", + "community": 32, + "norm_label": "player_survives_fall()" + }, + { + "label": "integration.rs", + "file_type": "code", + "source_file": "tests/integration.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_integration", + "community": 38, + "norm_label": "integration.rs" + }, + { + "label": "replay_deterministic()", + "file_type": "code", + "source_file": "tests/integration.rs", + "source_location": "L6", + "_origin": "ast", + "id": "tests_integration_replay_deterministic", + "community": 38, + "norm_label": "replay_deterministic()" + }, + { + "label": "replay_play_until_tick()", + "file_type": "code", + "source_file": "tests/integration.rs", + "source_location": "L31", + "_origin": "ast", + "id": "tests_integration_replay_play_until_tick", + "community": 38, + "norm_label": "replay_play_until_tick()" + }, + { + "label": "same_seed_same_state()", + "file_type": "code", + "source_file": "tests/integration.rs", + "source_location": "L52", + "_origin": "ast", + "id": "tests_integration_same_seed_same_state", + "community": 38, + "norm_label": "same_seed_same_state()" + }, + { + "label": "pipe_protocol_init_and_step()", + "file_type": "code", + "source_file": "tests/integration.rs", + "source_location": "L71", + "_origin": "ast", + "id": "tests_integration_pipe_protocol_init_and_step", + "community": 38, + "norm_label": "pipe_protocol_init_and_step()" + }, + { + "label": "physics_acid.rs", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_acid", + "community": 35, + "norm_label": "physics_acid.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_acid_setup_empty", + "community": 35, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_acid_rs_gamesession", + "community": 35, + "norm_label": "gamesession" + }, + { + "label": "acid_dissolves_wood()", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_acid_acid_dissolves_wood", + "community": 35, + "norm_label": "acid_dissolves_wood()" + }, + { + "label": "acid_does_not_dissolve_stone()", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L23", + "_origin": "ast", + "id": "tests_physics_acid_acid_does_not_dissolve_stone", + "community": 35, + "norm_label": "acid_does_not_dissolve_stone()" + }, + { + "label": "acid_flows_down()", + "file_type": "code", + "source_file": "tests/physics_acid.rs", + "source_location": "L32", + "_origin": "ast", + "id": "tests_physics_acid_acid_flows_down", + "community": 35, + "norm_label": "acid_flows_down()" + }, + { + "label": "physics_interactions.rs", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_interactions", + "community": 16, + "norm_label": "physics_interactions.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_interactions_setup", + "community": 16, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_interactions_rs_gamesession", + "community": 16, + "norm_label": "gamesession" + }, + { + "label": "lava_flows_down_on_stone()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_interactions_lava_flows_down_on_stone", + "community": 16, + "norm_label": "lava_flows_down_on_stone()" + }, + { + "label": "lava_cools_to_stone_eventually()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L23", + "_origin": "ast", + "id": "tests_physics_interactions_lava_cools_to_stone_eventually", + "community": 16, + "norm_label": "lava_cools_to_stone_eventually()" + }, + { + "label": "fire_spreads_through_wood_line()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L37", + "_origin": "ast", + "id": "tests_physics_interactions_fire_spreads_through_wood_line", + "community": 16, + "norm_label": "fire_spreads_through_wood_line()" + }, + { + "label": "acid_does_not_dissolve_empty()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L50", + "_origin": "ast", + "id": "tests_physics_interactions_acid_does_not_dissolve_empty", + "community": 16, + "norm_label": "acid_does_not_dissolve_empty()" + }, + { + "label": "acid_dissolves_grass()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L64", + "_origin": "ast", + "id": "tests_physics_interactions_acid_dissolves_grass", + "community": 16, + "norm_label": "acid_dissolves_grass()" + }, + { + "label": "acid_dissolves_dirt()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L75", + "_origin": "ast", + "id": "tests_physics_interactions_acid_dissolves_dirt", + "community": 16, + "norm_label": "acid_dissolves_dirt()" + }, + { + "label": "water_extinguishes_fire_indirectly()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L86", + "_origin": "ast", + "id": "tests_physics_interactions_water_extinguishes_fire_indirectly", + "community": 16, + "norm_label": "water_extinguishes_fire_indirectly()" + }, + { + "label": "lava_and_water_produce_both_steam_and_stone()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L96", + "_origin": "ast", + "id": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", + "community": 16, + "norm_label": "lava_and_water_produce_both_steam_and_stone()" + }, + { + "label": "sand_falls_through_water()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L108", + "_origin": "ast", + "id": "tests_physics_interactions_sand_falls_through_water", + "community": 16, + "norm_label": "sand_falls_through_water()" + }, + { + "label": "fire_does_not_ignite_stone()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L119", + "_origin": "ast", + "id": "tests_physics_interactions_fire_does_not_ignite_stone", + "community": 16, + "norm_label": "fire_does_not_ignite_stone()" + }, + { + "label": "fire_does_not_ignite_water()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L128", + "_origin": "ast", + "id": "tests_physics_interactions_fire_does_not_ignite_water", + "community": 16, + "norm_label": "fire_does_not_ignite_water()" + }, + { + "label": "water_does_not_flow_through_dirt_wall()", + "file_type": "code", + "source_file": "tests/physics_interactions.rs", + "source_location": "L140", + "_origin": "ast", + "id": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", + "community": 16, + "norm_label": "water_does_not_flow_through_dirt_wall()" + }, + { + "label": "physics_lava.rs", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_lava", + "community": 33, + "norm_label": "physics_lava.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_lava_setup_empty", + "community": 33, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_lava_rs_gamesession", + "community": 33, + "norm_label": "gamesession" + }, + { + "label": "lava_flows_down()", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_lava_lava_flows_down", + "community": 33, + "norm_label": "lava_flows_down()" + }, + { + "label": "lava_plus_water_makes_steam()", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L25", + "_origin": "ast", + "id": "tests_physics_lava_lava_plus_water_makes_steam", + "community": 33, + "norm_label": "lava_plus_water_makes_steam()" + }, + { + "label": "lava_ignites_wood()", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L37", + "_origin": "ast", + "id": "tests_physics_lava_lava_ignites_wood", + "community": 33, + "norm_label": "lava_ignites_wood()" + }, + { + "label": "lava_ignites_grass()", + "file_type": "code", + "source_file": "tests/physics_lava.rs", + "source_location": "L50", + "_origin": "ast", + "id": "tests_physics_lava_lava_ignites_grass", + "community": 33, + "norm_label": "lava_ignites_grass()" + }, + { + "label": "physics_materials.rs", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_materials", + "community": 13, + "norm_label": "physics_materials.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_materials_setup", + "community": 13, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_materials_rs_gamesession", + "community": 13, + "norm_label": "gamesession" + }, + { + "label": "fire_dies_over_time()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_materials_fire_dies_over_time", + "community": 13, + "norm_label": "fire_dies_over_time()" + }, + { + "label": "fire_ignites_wood()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L21", + "_origin": "ast", + "id": "tests_physics_materials_fire_ignites_wood", + "community": 13, + "norm_label": "fire_ignites_wood()" + }, + { + "label": "fire_ignites_grass()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L31", + "_origin": "ast", + "id": "tests_physics_materials_fire_ignites_grass", + "community": 13, + "norm_label": "fire_ignites_grass()" + }, + { + "label": "fire_ignites_flesh()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L42", + "_origin": "ast", + "id": "tests_physics_materials_fire_ignites_flesh", + "community": 13, + "norm_label": "fire_ignites_flesh()" + }, + { + "label": "smoke_rises()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L52", + "_origin": "ast", + "id": "tests_physics_materials_smoke_rises", + "community": 13, + "norm_label": "smoke_rises()" + }, + { + "label": "smoke_dissipates_over_time()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L67", + "_origin": "ast", + "id": "tests_physics_materials_smoke_dissipates_over_time", + "community": 13, + "norm_label": "smoke_dissipates_over_time()" + }, + { + "label": "steam_condenses_to_water()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L76", + "_origin": "ast", + "id": "tests_physics_materials_steam_condenses_to_water", + "community": 13, + "norm_label": "steam_condenses_to_water()" + }, + { + "label": "steam_rises()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L93", + "_origin": "ast", + "id": "tests_physics_materials_steam_rises", + "community": 13, + "norm_label": "steam_rises()" + }, + { + "label": "grass_is_solid()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L104", + "_origin": "ast", + "id": "tests_physics_materials_grass_is_solid", + "community": 13, + "norm_label": "grass_is_solid()" + }, + { + "label": "dirt_is_solid()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L112", + "_origin": "ast", + "id": "tests_physics_materials_dirt_is_solid", + "community": 13, + "norm_label": "dirt_is_solid()" + }, + { + "label": "stone_is_static()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L120", + "_origin": "ast", + "id": "tests_physics_materials_stone_is_static", + "community": 13, + "norm_label": "stone_is_static()" + }, + { + "label": "wood_is_static()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L128", + "_origin": "ast", + "id": "tests_physics_materials_wood_is_static", + "community": 13, + "norm_label": "wood_is_static()" + }, + { + "label": "bone_is_static()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L136", + "_origin": "ast", + "id": "tests_physics_materials_bone_is_static", + "community": 13, + "norm_label": "bone_is_static()" + }, + { + "label": "lava_initial_temp_is_high()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L144", + "_origin": "ast", + "id": "tests_physics_materials_lava_initial_temp_is_high", + "community": 13, + "norm_label": "lava_initial_temp_is_high()" + }, + { + "label": "water_initial_temp_is_room()", + "file_type": "code", + "source_file": "tests/physics_materials.rs", + "source_location": "L152", + "_origin": "ast", + "id": "tests_physics_materials_water_initial_temp_is_room", + "community": 13, + "norm_label": "water_initial_temp_is_room()" + }, + { + "label": "physics_sand.rs", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_sand", + "community": 34, + "norm_label": "physics_sand.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_sand_setup_empty", + "community": 34, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_sand_rs_gamesession", + "community": 34, + "norm_label": "gamesession" + }, + { + "label": "sand_falls_down()", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_sand_sand_falls_down", + "community": 34, + "norm_label": "sand_falls_down()" + }, + { + "label": "sand_displaces_water()", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L22", + "_origin": "ast", + "id": "tests_physics_sand_sand_displaces_water", + "community": 34, + "norm_label": "sand_displaces_water()" + }, + { + "label": "sand_piles_on_stone()", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L33", + "_origin": "ast", + "id": "tests_physics_sand_sand_piles_on_stone", + "community": 34, + "norm_label": "sand_piles_on_stone()" + }, + { + "label": "sand_does_not_fall_through_stone()", + "file_type": "code", + "source_file": "tests/physics_sand.rs", + "source_location": "L44", + "_origin": "ast", + "id": "tests_physics_sand_sand_does_not_fall_through_stone", + "community": 34, + "norm_label": "sand_does_not_fall_through_stone()" + }, + { + "label": "physics_water.rs", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_physics_water", + "community": 36, + "norm_label": "physics_water.rs" + }, + { + "label": "setup_empty()", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_water_setup_empty", + "community": 36, + "norm_label": "setup_empty()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_physics_water_rs_gamesession", + "community": 36, + "norm_label": "gamesession" + }, + { + "label": "water_flows_down()", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L12", + "_origin": "ast", + "id": "tests_physics_water_water_flows_down", + "community": 36, + "norm_label": "water_flows_down()" + }, + { + "label": "water_spreads_sideways()", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L24", + "_origin": "ast", + "id": "tests_physics_water_water_spreads_sideways", + "community": 36, + "norm_label": "water_spreads_sideways()" + }, + { + "label": "water_does_not_pass_through_stone_wall()", + "file_type": "code", + "source_file": "tests/physics_water.rs", + "source_location": "L35", + "_origin": "ast", + "id": "tests_physics_water_water_does_not_pass_through_stone_wall", + "community": 36, + "norm_label": "water_does_not_pass_through_stone_wall()" + }, + { + "label": "player_controls.rs", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_player_controls", + "community": 17, + "norm_label": "player_controls.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_player_controls_setup", + "community": 17, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_player_controls_rs_gamesession", + "community": 17, + "norm_label": "gamesession" + }, + { + "label": "move_left_changes_x_position()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L13", + "_origin": "ast", + "id": "tests_player_controls_move_left_changes_x_position", + "community": 17, + "norm_label": "move_left_changes_x_position()" + }, + { + "label": "move_right_changes_x_position()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L25", + "_origin": "ast", + "id": "tests_player_controls_move_right_changes_x_position", + "community": 17, + "norm_label": "move_right_changes_x_position()" + }, + { + "label": "move_left_then_right_cancels()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L37", + "_origin": "ast", + "id": "tests_player_controls_move_left_then_right_cancels", + "community": 17, + "norm_label": "move_left_then_right_cancels()" + }, + { + "label": "jump_goes_up_then_falls_back()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L51", + "_origin": "ast", + "id": "tests_player_controls_jump_goes_up_then_falls_back", + "community": 17, + "norm_label": "jump_goes_up_then_falls_back()" + }, + { + "label": "jump_while_airborne_does_nothing()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L66", + "_origin": "ast", + "id": "tests_player_controls_jump_while_airborne_does_nothing", + "community": 17, + "norm_label": "jump_while_airborne_does_nothing()" + }, + { + "label": "rapid_move_right_accumulates_velocity()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L84", + "_origin": "ast", + "id": "tests_player_controls_rapid_move_right_accumulates_velocity", + "community": 17, + "norm_label": "rapid_move_right_accumulates_velocity()" + }, + { + "label": "wait_does_not_move()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L107", + "_origin": "ast", + "id": "tests_player_controls_wait_does_not_move", + "community": 17, + "norm_label": "wait_does_not_move()" + }, + { + "label": "continuous_movement_does_not_fall_through_floor()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L120", + "_origin": "ast", + "id": "tests_player_controls_continuous_movement_does_not_fall_through_floor", + "community": 17, + "norm_label": "continuous_movement_does_not_fall_through_floor()" + }, + { + "label": "player_on_ground_check()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L135", + "_origin": "ast", + "id": "tests_player_controls_player_on_ground_check", + "community": 17, + "norm_label": "player_on_ground_check()" + }, + { + "label": "player_not_on_ground_while_jumping()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L142", + "_origin": "ast", + "id": "tests_player_controls_player_not_on_ground_while_jumping", + "community": 17, + "norm_label": "player_not_on_ground_while_jumping()" + }, + { + "label": "player_health_stays_full_without_damage()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L152", + "_origin": "ast", + "id": "tests_player_controls_player_health_stays_full_without_damage", + "community": 17, + "norm_label": "player_health_stays_full_without_damage()" + }, + { + "label": "player_survives_long_idle()", + "file_type": "code", + "source_file": "tests/player_controls.rs", + "source_location": "L160", + "_origin": "ast", + "id": "tests_player_controls_player_survives_long_idle", + "community": 17, + "norm_label": "player_survives_long_idle()" + }, + { + "label": "ragdoll_death.rs", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L1", + "_origin": "ast", + "id": "tests_ragdoll_death", + "community": 25, + "norm_label": "ragdoll_death.rs" + }, + { + "label": "setup()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_ragdoll_death_setup", + "community": 25, + "norm_label": "setup()" + }, + { + "label": "GameSession", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L4", + "_origin": "ast", + "id": "tests_ragdoll_death_rs_gamesession", + "community": 25, + "norm_label": "gamesession" + }, + { + "label": "death_transitions_rigid_to_ragdoll()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L13", + "_origin": "ast", + "id": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", + "community": 25, + "norm_label": "death_transitions_rigid_to_ragdoll()" + }, + { + "label": "ragdoll_falls_after_death()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L30", + "_origin": "ast", + "id": "tests_ragdoll_death_ragdoll_falls_after_death", + "community": 25, + "norm_label": "ragdoll_falls_after_death()" + }, + { + "label": "ragdoll_bodies_stay_near_each_other()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L48", + "_origin": "ast", + "id": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", + "community": 25, + "norm_label": "ragdoll_bodies_stay_near_each_other()" + }, + { + "label": "player_death_becomes_corpse()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L63", + "_origin": "ast", + "id": "tests_ragdoll_death_player_death_becomes_corpse", + "community": 25, + "norm_label": "player_death_becomes_corpse()" + }, + { + "label": "damage_reduces_health_progressively()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L74", + "_origin": "ast", + "id": "tests_ragdoll_death_damage_reduces_health_progressively", + "community": 25, + "norm_label": "damage_reduces_health_progressively()" + }, + { + "label": "small_damage_does_not_kill()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L91", + "_origin": "ast", + "id": "tests_ragdoll_death_small_damage_does_not_kill", + "community": 25, + "norm_label": "small_damage_does_not_kill()" + }, + { + "label": "corpse_exists_in_world()", + "file_type": "code", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L110", + "_origin": "ast", + "id": "tests_ragdoll_death_corpse_exists_in_world", + "community": 25, + "norm_label": "corpse_exists_in_world()" + }, + { + "label": "AGENTS.md", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": null, + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_agents", + "community": 20, + "norm_label": "agents.md" + }, + { + "label": "PLAN.md", + "file_type": "document", + "source_file": "PLAN.md", + "source_location": null, + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_plan", + "community": 20, + "norm_label": "plan.md" + }, + { + "label": "headless_dump.txt", + "file_type": "document", + "source_file": "headless_dump.txt", + "source_location": null, + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "headless_dump_headless_dump", + "community": 30, + "norm_label": "headless_dump.txt" + }, + { + "label": "Grid (250x250) source of truth", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 42", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "AI-observable, dual renderer, single state. No double buffer \u2014 Grid::next was removed.", + "id": "agents_grid", + "community": 22, + "norm_label": "grid (250x250) source of truth" + }, + { + "label": "Cell struct", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 42", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_cell", + "community": 39, + "norm_label": "cell struct" + }, + { + "label": "MaterialRegistry", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 55", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_materialregistry", + "community": 39, + "norm_label": "materialregistry" + }, + { + "label": "CellularAutomaton", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 69", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_cellularautomaton", + "community": 28, + "norm_label": "cellularautomaton" + }, + { + "label": "EntityManager", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 71", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_entitymanager", + "community": 22, + "norm_label": "entitymanager" + }, + { + "label": "GpuRenderer trait", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 48", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Unifies VulkanRenderer and GraphicsRenderer behind generic run_gpu_mode(). Both have identical event loops; only shader/instance format differs.", + "id": "agents_gpurenderer", + "community": 29, + "norm_label": "gpurenderer trait" + }, + { + "label": "VulkanRenderer", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 48", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_vulkanrenderer", + "community": 29, + "norm_label": "vulkanrenderer" + }, + { + "label": "GraphicsRenderer", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 48", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_graphicsrenderer", + "community": 29, + "norm_label": "graphicsrenderer" + }, + { + "label": "run_gpu_mode()", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 48", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_run_gpu_mode", + "community": 29, + "norm_label": "run_gpu_mode()" + }, + { + "label": "Game::fixed_update()", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 50", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_game_fixed_update", + "community": 28, + "norm_label": "game::fixed_update()" + }, + { + "label": "Game::run()", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 50", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_game_run", + "community": 40, + "norm_label": "game::run()" + }, + { + "label": "InputHandler", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 50", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_inputhandler", + "community": 40, + "norm_label": "inputhandler" + }, + { + "label": "WindowInput", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 50", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_windowinput", + "community": 29, + "norm_label": "windowinput" + }, + { + "label": "GameSession", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 73", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_gamesession", + "community": 18, + "norm_label": "gamesession" + }, + { + "label": "AiAction", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 73", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_aiaction", + "community": 18, + "norm_label": "aiaction" + }, + { + "label": "Player", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 71", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_player", + "community": 30, + "norm_label": "player" + }, + { + "label": "VerletSolver", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 70", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_verletsolver", + "community": 37, + "norm_label": "verletsolver" + }, + { + "label": "SubBody", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 70", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_subbody", + "community": 37, + "norm_label": "subbody" + }, + { + "label": "Constraint", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 70", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_constraint", + "community": 37, + "norm_label": "constraint" + }, + { + "label": "rigid entity type", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 44", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_rigid_entity", + "community": 28, + "norm_label": "rigid entity type" + }, + { + "label": "ragdoll entity type", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 44", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_ragdoll_entity", + "community": 37, + "norm_label": "ragdoll entity type" + }, + { + "label": "cellular entity type", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 44", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_cellular_entity", + "community": 28, + "norm_label": "cellular entity type" + }, + { + "label": "terminal render mode", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 46", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_render_terminal", + "community": 22, + "norm_label": "terminal render mode" + }, + { + "label": "ascii render mode", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 46", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_render_ascii", + "community": 22, + "norm_label": "ascii render mode" + }, + { + "label": "graphics render mode", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 46", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_render_graphics", + "community": 22, + "norm_label": "graphics render mode" + }, + { + "label": "pipe render mode", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 10", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_render_pipe", + "community": 18, + "norm_label": "pipe render mode" + }, + { + "label": "check_resize()", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 58", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_check_resize", + "community": 29, + "norm_label": "check_resize()" + }, + { + "label": "update_rigid_entity", + "file_type": "concept", + "source_file": "AGENTS.md", + "source_location": "line 57", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "agents_update_rigid_entity", + "community": 41, + "norm_label": "update_rigid_entity" + }, + { + "label": "slope stepping convention", + "file_type": "rationale", + "source_file": "AGENTS.md", + "source_location": "line 57", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "update_rigid_entity tries stepping up 1 cell before resolving X collision, enabling walking up slopes without jumping.", + "id": "agents_slope_stepping", + "community": 41, + "norm_label": "slope stepping convention" + }, + { + "label": "vector movement convention", + "file_type": "rationale", + "source_file": "AGENTS.md", + "source_location": "line 56", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Player::move_left/right sets velocity directly via set_horizontal_vel, no accumulation. stop_horizontal zeroes it. Jump is edge-triggered (press only, not held).", + "id": "agents_vector_movement", + "community": 30, + "norm_label": "vector movement convention" + }, + { + "label": "inline cell colors convention", + "file_type": "rationale", + "source_file": "AGENTS.md", + "source_location": "line 55", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Renderers read cell.fg/cell.bg directly, never lookup MaterialRegistry in render path. Registry is for physics properties only (density, solid, flammable, etc.). Cell::new() copies colors from MaterialRegistry at creation time.", + "id": "agents_inline_color", + "community": 39, + "norm_label": "inline cell colors convention" + }, + { + "label": "Verbatim \u2014 ASCII physics RPG", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 1", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_verbatim_project", + "community": 22, + "norm_label": "verbatim \u2014 ascii physics rpg" + }, + { + "label": "Phase 1: Combat & Interaction", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 58", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase1_combat", + "community": 30, + "norm_label": "phase 1: combat & interaction" + }, + { + "label": "Phase 1.5: UI Layer", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 77", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase15_ui", + "community": 22, + "norm_label": "phase 1.5: ui layer" + }, + { + "label": "Phase 2: World & Exploration", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 140", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase2_world", + "community": 20, + "norm_label": "phase 2: world & exploration" + }, + { + "label": "Phase 3: RPG Layer", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 159", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase3_rpg", + "community": 20, + "norm_label": "phase 3: rpg layer" + }, + { + "label": "Phase 4: Render Modes", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 184", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase4_render", + "community": 20, + "norm_label": "phase 4: render modes" + }, + { + "label": "Phase 4b: Graphics layers (lighting/particles/textures)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 223", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase4b_graphics", + "community": 20, + "norm_label": "phase 4b: graphics layers (lighting/particles/textures)" + }, + { + "label": "Phase 5: Content & Polish", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 250", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase5_content", + "community": 20, + "norm_label": "phase 5: content & polish" + }, + { + "label": "Phase 6: Advanced Physics", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 264", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase6_physics", + "community": 20, + "norm_label": "phase 6: advanced physics" + }, + { + "label": "Phase 7: AI Agent Integration", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 291", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase7_ai", + "community": 18, + "norm_label": "phase 7: ai agent integration" + }, + { + "label": "Phase 8: Web Arena & Training Pipeline", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 315", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_phase8_web", + "community": 18, + "norm_label": "phase 8: web arena & training pipeline" + }, + { + "label": "UiLayer \u2014 non-destructive overlay", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 81", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "UI layer NEVER writes to grid, entities, or any game state. It reads state and renders visuals on top. This keeps the source of truth clean and AI-observable (pipe protocol exports world state, not UI state).", + "id": "plan_uilayer", + "community": 22, + "norm_label": "uilayer \u2014 non-destructive overlay" + }, + { + "label": "Chunk system (64x64)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 144", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_chunk_system", + "community": 20, + "norm_label": "chunk system (64x64)" + }, + { + "label": "Multi-layer world architecture", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 280", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "World { layers: Vec } \u2014 each layer is a separate grid updated by its own rules, with cross-layer interactions. Layers interact: fire heats temp layer \u2192 temp melts material \u2192 material releases gas.", + "id": "plan_multilayer_world", + "community": 20, + "norm_label": "multi-layer world architecture" + }, + { + "label": "14 CA Materials", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 12", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_materials", + "community": 28, + "norm_label": "14 ca materials" + }, + { + "label": "Rigid entities (AABB + slope stepping)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 13", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_rigid_entities", + "community": 28, + "norm_label": "rigid entities (aabb + slope stepping)" + }, + { + "label": "Ragdoll corpses (Verlet)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 14", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_ragdoll_corpses", + "community": 37, + "norm_label": "ragdoll corpses (verlet)" + }, + { + "label": "Terminal renderer (ANSI)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 15", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_terminal_renderer", + "community": 22, + "norm_label": "terminal renderer (ansi)" + }, + { + "label": "ASCII renderer (Vulkan glyph atlas)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 16", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_ascii_renderer", + "community": 22, + "norm_label": "ascii renderer (vulkan glyph atlas)" + }, + { + "label": "Graphics renderer (Vulkan colored cells)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 17", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_graphics_renderer", + "community": 22, + "norm_label": "graphics renderer (vulkan colored cells)" + }, + { + "label": "AI pipe protocol (JSON stdin/stdout)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 18", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Any AI agent can connect, no vision needed. Exports world state, not UI state.", + "id": "plan_ai_pipe_protocol", + "community": 18, + "norm_label": "ai pipe protocol (json stdin/stdout)" + }, + { + "label": "Test framework (109 tests + 14 scenarios)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 19", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_test_framework", + "community": 18, + "norm_label": "test framework (109 tests + 14 scenarios)" + }, + { + "label": "Replay system (seeded determinism)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 20", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_replay_system", + "community": 18, + "norm_label": "replay system (seeded determinism)" + }, + { + "label": "World generation", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 21", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_world_generation", + "community": 20, + "norm_label": "world generation" + }, + { + "label": "Adaptive viewport", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 23", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_adaptive_viewport", + "community": 29, + "norm_label": "adaptive viewport" + }, + { + "label": "Per-cell color (reality layer)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 24", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Each Cell stores fg/bg inline, no registry lookup in render path.", + "id": "plan_per_cell_color", + "community": 39, + "norm_label": "per-cell color (reality layer)" + }, + { + "label": "Cross-platform support (Win/Linux/macOS)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 22", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_cross_platform", + "community": 20, + "norm_label": "cross-platform support (win/linux/macos)" + }, + { + "label": "Seeded RNG determinism", + "file_type": "rationale", + "source_file": "PLAN.md", + "source_location": "line 357", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Replay system, reproducible tests.", + "id": "plan_determinism", + "community": 18, + "norm_label": "seeded rng determinism" + }, + { + "label": "Fixed 60Hz timestep", + "file_type": "rationale", + "source_file": "PLAN.md", + "source_location": "line 36", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "rationale": "Deterministic replay, consistent physics.", + "id": "plan_fixed_timestep", + "community": 28, + "norm_label": "fixed 60hz timestep" + }, + { + "label": "Mutations system (Caves of Qud style)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 167", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_rpg_mutations", + "community": 20, + "norm_label": "mutations system (caves of qud style)" + }, + { + "label": "LLM agent (Ollama/Llama/Qwen)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 295", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_llm_agent", + "community": 18, + "norm_label": "llm agent (ollama/llama/qwen)" + }, + { + "label": "RL agent (PyTorch policy network)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 299", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_rl_agent", + "community": 18, + "norm_label": "rl agent (pytorch policy network)" + }, + { + "label": "Web arena (browser multiplayer)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 317", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_web_arena", + "community": 18, + "norm_label": "web arena (browser multiplayer)" + }, + { + "label": "WASM render port (Canvas/WebGL)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 320", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_wasm_render", + "community": 18, + "norm_label": "wasm render port (canvas/webgl)" + }, + { + "label": "WebSocket server (Rust + tokio)", + "file_type": "concept", + "source_file": "PLAN.md", + "source_location": "line 319", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "plan_websocket_server", + "community": 18, + "norm_label": "websocket server (rust + tokio)" + }, + { + "label": "Player entity (headless dump)", + "file_type": "concept", + "source_file": "headless_dump.txt", + "source_location": "line 33", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "headless_dump_player", + "community": 30, + "norm_label": "player entity (headless dump)" + }, + { + "label": "Goblin entity (headless dump)", + "file_type": "concept", + "source_file": "headless_dump.txt", + "source_location": "line 184", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "headless_dump_goblin", + "community": 30, + "norm_label": "goblin entity (headless dump)" + }, + { + "label": "Grid ASCII rendering (headless dump)", + "file_type": "concept", + "source_file": "headless_dump.txt", + "source_location": "line 7", + "source_url": null, + "captured_at": null, + "author": null, + "contributor": null, + "id": "headless_dump_grid_render", + "community": 30, + "norm_label": "grid ascii rendering (headless dump)" + } + ], + "links": [ + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L9", + "weight": 1.0, + "source": "ai_action", + "target": "ai_action_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L5", + "weight": 1.0, + "context": "import", + "source": "ai_action", + "target": "cell", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L4", + "weight": 1.0, + "context": "import", + "source": "ai_action", + "target": "src_ai_action_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L80", + "weight": 1.0, + "source": "ai_action_aiaction", + "target": "ai_action_aiaction_execute", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L61", + "weight": 1.0, + "source": "ai_action_aiaction", + "target": "ai_action_aiaction_name", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/action.rs", + "source_location": "L94", + "weight": 1.0, + "source": "ai_action_aiaction_execute", + "target": "ai_state_material_from_name" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/action.rs", + "source_location": "L126", + "weight": 1.0, + "source": "ai_action_aiaction_execute", + "target": "ai_state_parse_entity_kind" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/action.rs", + "source_location": "L80", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_action_aiaction_execute", + "target": "src_ai_action_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L10", + "weight": 1.0, + "source": "ai_protocol", + "target": "ai_protocol_command", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "weight": 1.0, + "source": "ai_protocol", + "target": "ai_protocol_handle_command", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L80", + "weight": 1.0, + "source": "ai_protocol", + "target": "ai_protocol_response", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L134", + "weight": 1.0, + "source": "ai_protocol", + "target": "ai_protocol_run_pipe_protocol", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "ai_protocol", + "target": "src_ai_protocol_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L5", + "weight": 1.0, + "context": "import", + "source": "ai_protocol", + "target": "src_ai_protocol_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_protocol_handle_command", + "target": "ai_protocol_command", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "weight": 1.0, + "context": "return_type", + "source": "ai_protocol_handle_command", + "target": "ai_protocol_response", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L118", + "weight": 1.0, + "source": "ai_protocol_response", + "target": "ai_protocol_response_err", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L109", + "weight": 1.0, + "source": "ai_protocol_response", + "target": "ai_protocol_response_ok", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L128", + "weight": 1.0, + "source": "ai_protocol_response", + "target": "ai_protocol_response_with_state", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L101", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "scenarioresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L91", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_cellinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L95", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L85", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L105", + "weight": 1.0, + "context": "field", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L103", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L93", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_response", + "target": "src_ai_protocol_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_protocol_handle_command", + "target": "src_ai_protocol_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L128", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_protocol_response_with_state", + "target": "src_ai_protocol_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L186", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_protocol_response_ok", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L109", + "weight": 1.0, + "context": "return_type", + "source": "ai_protocol_response_ok", + "target": "src_ai_protocol_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L156", + "weight": 1.0, + "source": "ai_protocol_run_pipe_protocol", + "target": "ai_protocol_response_ok", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L118", + "weight": 1.0, + "context": "return_type", + "source": "ai_protocol_response_err", + "target": "src_ai_protocol_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L128", + "weight": 1.0, + "context": "return_type", + "source": "ai_protocol_response_with_state", + "target": "src_ai_protocol_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L192", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_protocol_response_err", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L155", + "weight": 1.0, + "source": "ai_protocol_run_pipe_protocol", + "target": "ai_protocol_response_err", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L186", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_protocol_response_with_state", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L162", + "weight": 1.0, + "source": "ai_protocol_run_pipe_protocol", + "target": "ai_protocol_handle_command", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/protocol.rs", + "source_location": "L340", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_scenario_format_results" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/protocol.rs", + "source_location": "L329", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_scenario_load_scenario" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/protocol.rs", + "source_location": "L339", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_scenario_run_all_scenarios" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/protocol.rs", + "source_location": "L331", + "weight": 1.0, + "source": "ai_protocol_handle_command", + "target": "ai_scenario_run_scenario" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/protocol.rs", + "source_location": "L173", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_protocol_handle_command", + "target": "src_ai_protocol_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L14", + "weight": 1.0, + "source": "ai_replay", + "target": "ai_replay_replayevent", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L57", + "weight": 1.0, + "source": "ai_replay", + "target": "ai_replay_replayplayer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L19", + "weight": 1.0, + "source": "ai_replay", + "target": "ai_replay_replayrecorder", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L6", + "weight": 1.0, + "source": "ai_replay", + "target": "ai_replay_replayrecording", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "ai_replay", + "target": "src_ai_replay_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "ai_replay", + "target": "src_ai_replay_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L58", + "weight": 1.0, + "context": "field", + "source": "ai_replay_replayplayer", + "target": "ai_replay_replayrecording", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L118", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayplayer_recording", + "target": "ai_replay_replayrecording", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L20", + "weight": 1.0, + "context": "field", + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecording", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L52", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayrecorder_recording", + "target": "ai_replay_replayrecording", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L9", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_replay_replayrecording", + "target": "replayevent", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L8", + "weight": 1.0, + "context": "field", + "source": "ai_replay_replayrecording", + "target": "src_ai_replay_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L9", + "weight": 1.0, + "context": "field", + "source": "ai_replay_replayrecording", + "target": "src_ai_replay_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L24", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L42", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_record_action", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L38", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_record_step", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L52", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_recording", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L46", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_save", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L34", + "weight": 1.0, + "source": "ai_replay_replayrecorder", + "target": "ai_replay_replayrecorder_set_seed", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L24", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayrecorder_new", + "target": "src_ai_replay_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L62", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_replay_replayplayer_load", + "target": "src_ai_replay_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L42", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_replay_replayrecorder_record_action", + "target": "src_ai_replay_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L46", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayrecorder_save", + "target": "src_ai_replay_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L62", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayplayer_load", + "target": "src_ai_replay_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L62", + "weight": 1.0, + "source": "ai_replay_replayplayer", + "target": "ai_replay_replayplayer_load", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L69", + "weight": 1.0, + "source": "ai_replay_replayplayer", + "target": "ai_replay_replayplayer_play", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L88", + "weight": 1.0, + "source": "ai_replay_replayplayer", + "target": "ai_replay_replayplayer_play_until_tick", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L118", + "weight": 1.0, + "source": "ai_replay_replayplayer", + "target": "ai_replay_replayplayer_recording", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L69", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayplayer_play", + "target": "src_ai_replay_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/replay.rs", + "source_location": "L88", + "weight": 1.0, + "context": "return_type", + "source": "ai_replay_replayplayer_play_until_tick", + "target": "src_ai_replay_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L19", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_assertion", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L82", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_assertionresult", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_check_assertion", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L297", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_format_results", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_load_scenario", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L277", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_load_scenarios_from_dir", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L292", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_run_all_scenarios", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L97", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_run_scenario", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L7", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_scenario", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L89", + "weight": 1.0, + "source": "ai_scenario", + "target": "ai_scenario_scenarioresult", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "ai_scenario", + "target": "src_ai_scenario_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "ai_scenario", + "target": "src_ai_scenario_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L4", + "weight": 1.0, + "context": "import", + "source": "ai_scenario", + "target": "src_ai_scenario_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_load_scenario", + "target": "ai_scenario_scenario", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L277", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_load_scenarios_from_dir", + "target": "ai_scenario_scenario", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L97", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_scenario_run_scenario", + "target": "ai_scenario_scenario", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L14", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_scenario", + "target": "assertion", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L12", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_scenario", + "target": "src_ai_scenario_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L11", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_scenario", + "target": "src_ai_scenario_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L14", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_scenario", + "target": "src_ai_scenario_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L85", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_assertionresult", + "target": "src_ai_scenario_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L297", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_format_results", + "target": "src_ai_scenario_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_load_scenario", + "target": "src_ai_scenario_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L94", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_scenarioresult", + "target": "src_ai_scenario_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L277", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_load_scenarios_from_dir", + "target": "src_ai_scenario_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L292", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_run_all_scenarios", + "target": "src_ai_scenario_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L92", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_scenarioresult", + "target": "src_ai_scenario_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L83", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_assertionresult", + "target": "ai_scenario_assertion", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_scenario_check_assertion", + "target": "ai_scenario_assertion", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_check_assertion", + "target": "ai_scenario_assertionresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L92", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_scenarioresult", + "target": "ai_scenario_assertionresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L297", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_scenario_format_results", + "target": "ai_scenario_scenarioresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L292", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_run_all_scenarios", + "target": "ai_scenario_scenarioresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L97", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_run_scenario", + "target": "ai_scenario_scenarioresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L93", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_scenario_scenarioresult", + "target": "src_ai_scenario_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L94", + "weight": 1.0, + "context": "field", + "source": "ai_scenario_scenarioresult", + "target": "src_ai_scenario_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L294", + "weight": 1.0, + "source": "ai_scenario_run_all_scenarios", + "target": "ai_scenario_run_scenario", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L115", + "weight": 1.0, + "source": "ai_scenario_run_scenario", + "target": "ai_scenario_check_assertion", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L131", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_scenario_check_assertion", + "target": "src_ai_scenario_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L272", + "weight": 1.0, + "context": "return_type", + "source": "ai_scenario_load_scenario", + "target": "src_ai_scenario_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L283", + "weight": 1.0, + "source": "ai_scenario_load_scenarios_from_dir", + "target": "ai_scenario_load_scenario", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/scenario.rs", + "source_location": "L293", + "weight": 1.0, + "source": "ai_scenario_run_all_scenarios", + "target": "ai_scenario_load_scenarios_from_dir", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L8", + "weight": 1.0, + "source": "ai_session", + "target": "ai_session_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "ai_session", + "target": "replayrecorder", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "ai_session", + "target": "src_ai_session_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L4", + "weight": 1.0, + "context": "import", + "source": "ai_session", + "target": "src_ai_session_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L6", + "weight": 1.0, + "context": "import", + "source": "ai_session", + "target": "src_ai_session_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L151", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_clear_area", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L104", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_count_material_in_region", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L169", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_default", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L122", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_find_material", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L80", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_cell", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L94", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_entities", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L100", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_player", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L84", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_region", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L65", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_state", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L69", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_view", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L76", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_get_view_at", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L159", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_grid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L33", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_init", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L40", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_init_empty", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L17", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L27", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_new_seeded", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L58", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_perform_action", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L144", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_save_replay", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L134", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_set_recording", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L49", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_step", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L163", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "ai_session_gamesession_tick", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L168", + "weight": 1.0, + "source": "ai_session_gamesession", + "target": "default", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L11", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_session_gamesession", + "target": "replayrecorder", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L9", + "weight": 1.0, + "context": "field", + "source": "ai_session_gamesession", + "target": "src_ai_session_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L11", + "weight": 1.0, + "context": "field", + "source": "ai_session_gamesession", + "target": "src_ai_session_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L122", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_find_material", + "target": "src_ai_session_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L100", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_player", + "target": "src_ai_session_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L170", + "weight": 1.0, + "source": "ai_session_gamesession_default", + "target": "ai_session_gamesession_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L17", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_new", + "target": "src_ai_session_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L28", + "weight": 1.0, + "source": "ai_session_gamesession_new_seeded", + "target": "ai_session_gamesession_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L137", + "weight": 1.0, + "source": "ai_session_gamesession_set_recording", + "target": "ai_session_gamesession_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L169", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_default", + "target": "src_ai_session_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L27", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_new_seeded", + "target": "src_ai_session_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L58", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_session_gamesession_perform_action", + "target": "src_ai_session_rs_aiaction", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/session.rs", + "source_location": "L66", + "weight": 1.0, + "source": "ai_session_gamesession_get_state", + "target": "ai_state_build_game_state" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L65", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_state", + "target": "src_ai_session_rs_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/session.rs", + "source_location": "L73", + "weight": 1.0, + "source": "ai_session_gamesession_get_view", + "target": "ai_state_render_view" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L69", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_view", + "target": "src_ai_session_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L76", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_view_at", + "target": "src_ai_session_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/ai/session.rs", + "source_location": "L77", + "weight": 1.0, + "source": "ai_session_gamesession_get_view_at", + "target": "ai_state_render_view" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L80", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_cell", + "target": "src_ai_session_rs_cellinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L84", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_session_gamesession_get_region", + "target": "src_ai_session_rs_cellinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L84", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_region", + "target": "src_ai_session_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L94", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_get_entities", + "target": "src_ai_session_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L94", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_session_gamesession_get_entities", + "target": "src_ai_session_rs_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L100", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_session_gamesession_get_player", + "target": "src_ai_session_rs_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L144", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_save_replay", + "target": "src_ai_session_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/session.rs", + "source_location": "L159", + "weight": 1.0, + "context": "return_type", + "source": "ai_session_gamesession_grid", + "target": "src_ai_session_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L107", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_build_game_state", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L43", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_cellinfo", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L79", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_entity_info", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L189", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_entity_kind_name", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L19", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L9", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L169", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_material_from_name", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L197", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_parse_entity_kind", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_render_view", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L32", + "weight": 1.0, + "source": "ai_state", + "target": "ai_state_subbodyinfo", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "ai_state", + "target": "src_ai_state_rs_entity", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L6", + "weight": 1.0, + "context": "import", + "source": "ai_state", + "target": "src_ai_state_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "ai_state", + "target": "src_ai_state_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L4", + "weight": 1.0, + "context": "import", + "source": "ai_state", + "target": "src_ai_state_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L107", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_build_game_state", + "target": "ai_state_gamestate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L14", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_state_gamestate", + "target": "src_ai_state_rs_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L13", + "weight": 1.0, + "context": "field", + "source": "ai_state_gamestate", + "target": "src_ai_state_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L15", + "weight": 1.0, + "context": "field", + "source": "ai_state_gamestate", + "target": "src_ai_state_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L14", + "weight": 1.0, + "context": "field", + "source": "ai_state_gamestate", + "target": "src_ai_state_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L169", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_material_from_name", + "target": "src_ai_state_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L197", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_parse_entity_kind", + "target": "src_ai_state_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L28", + "weight": 1.0, + "context": "field", + "source": "ai_state_entityinfo", + "target": "src_ai_state_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L46", + "weight": 1.0, + "context": "field", + "source": "ai_state_cellinfo", + "target": "src_ai_state_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L21", + "weight": 1.0, + "context": "field", + "source": "ai_state_entityinfo", + "target": "src_ai_state_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_render_view", + "target": "src_ai_state_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L39", + "weight": 1.0, + "context": "field", + "source": "ai_state_subbodyinfo", + "target": "src_ai_state_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L79", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_entity_info", + "target": "ai_state_entityinfo", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L28", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_state_entityinfo", + "target": "subbodyinfo", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "weight": 1.0, + "source": "ai_state_cellinfo", + "target": "ai_state_cellinfo_from_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_cellinfo_from_grid", + "target": "src_ai_state_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L54", + "weight": 1.0, + "context": "return_type", + "source": "ai_state_cellinfo_from_grid", + "target": "src_ai_state_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_render_view", + "target": "src_ai_state_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L96", + "weight": 1.0, + "source": "ai_state_entity_info", + "target": "ai_state_entity_kind_name", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L79", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_entity_info", + "target": "src_ai_state_rs_entity", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L120", + "weight": 1.0, + "source": "ai_state_build_game_state", + "target": "ai_state_render_view", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L107", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_build_game_state", + "target": "src_ai_state_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L132", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_render_view", + "target": "src_ai_state_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L169", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_state_material_from_name", + "target": "src_ai_state_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L189", + "weight": 1.0, + "context": "parameter_type", + "source": "ai_state_entity_kind_name", + "target": "entitykind", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/ai/state.rs", + "source_location": "L197", + "weight": 1.0, + "context": "generic_arg", + "source": "ai_state_parse_entity_kind", + "target": "entitykind", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L13", + "weight": 1.0, + "source": "entity_entity", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L7", + "weight": 1.0, + "source": "entity_entity", + "target": "entity_entity_entitykind", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L207", + "weight": 1.0, + "source": "entity_entity", + "target": "entity_entity_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L15", + "weight": 1.0, + "context": "field", + "source": "entity_entity_entity", + "target": "entity_entity_entitykind", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_entity_entity_new", + "target": "entity_entity_entitykind", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L220", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_entity_entitymanager_spawn", + "target": "entity_entity_entitykind", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L17", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_entity_entity", + "target": "constraint", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L189", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_apply_fire_damage", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L105", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_build_humanoid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L56", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_center", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L80", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_kill", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L177", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_set_horizontal_vel", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L183", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_set_vertical_vel", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L164", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_sync_bodies_to_center", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L98", + "weight": 1.0, + "source": "entity_entity_entity", + "target": "entity_entity_entity_take_damage", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L14", + "weight": 1.0, + "context": "field", + "source": "entity_entity_entity", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L16", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_entity_entity", + "target": "src_entity_entity_rs_subbody", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L18", + "weight": 1.0, + "context": "field", + "source": "entity_entity_entity", + "target": "src_entity_entity_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L208", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_entity_entitymanager", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L250", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_all", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L254", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_all_mut", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_entity_entitymanager_get", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L246", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_entity_entitymanager_get_mut", + "target": "entity_entity_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_entity_entity_new", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L209", + "weight": 1.0, + "context": "field", + "source": "entity_entity_entitymanager", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_entity_entitymanager_get", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L246", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_entity_entitymanager_get_mut", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L220", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_spawn", + "target": "src_entity_entity_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L208", + "weight": 1.0, + "context": "field", + "source": "entity_entity_entitymanager", + "target": "src_entity_entity_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L38", + "weight": 1.0, + "source": "entity_entity_entity_new", + "target": "entity_entity_entitymanager_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L34", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entity_new", + "target": "src_entity_entity_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L213", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_new", + "target": "src_entity_entity_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L101", + "weight": 1.0, + "source": "entity_entity_entity_take_damage", + "target": "entity_entity_entity_kill", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L194", + "weight": 1.0, + "source": "entity_entity_entity_apply_fire_damage", + "target": "entity_entity_entity_take_damage", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L141", + "weight": 1.0, + "source": "entity_entity_entity_build_humanoid", + "target": "entity_entity_entitymanager_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L250", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_all", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L254", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_all_mut", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_get", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L246", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_get_mut", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L213", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L220", + "weight": 1.0, + "source": "entity_entity_entitymanager", + "target": "entity_entity_entitymanager_spawn", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L223", + "weight": 1.0, + "source": "entity_entity_entitymanager_spawn", + "target": "entity_entity_entitymanager_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L242", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_get", + "target": "src_entity_entity_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/entity.rs", + "source_location": "L246", + "weight": 1.0, + "context": "return_type", + "source": "entity_entity_entitymanager_get_mut", + "target": "src_entity_entity_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/entity/mod.rs", + "source_location": "L5", + "weight": 1.0, + "context": "import", + "source": "entity_mod", + "target": "player", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L3", + "weight": 1.0, + "source": "entity_player", + "target": "entity_player_player", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "entity_player", + "target": "src_entity_player_rs_entity", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L55", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_center", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_entity", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L43", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_jump", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L25", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_move_left", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L31", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_move_right", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L19", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_spawn_at", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L37", + "weight": 1.0, + "source": "entity_player_player", + "target": "entity_player_player_stop_horizontal", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L4", + "weight": 1.0, + "context": "field", + "source": "entity_player_player", + "target": "src_entity_player_rs_entityid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_new", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L10", + "weight": 1.0, + "context": "return_type", + "source": "entity_player_player_new", + "target": "src_entity_player_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L55", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_center", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_entity", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L43", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_jump", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L25", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_move_left", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L31", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_move_right", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L19", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_spawn_at", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L37", + "weight": 1.0, + "context": "parameter_type", + "source": "entity_player_player_stop_horizontal", + "target": "src_entity_player_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "weight": 1.0, + "context": "generic_arg", + "source": "entity_player_player_entity", + "target": "src_entity_player_rs_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/entity/player.rs", + "source_location": "L51", + "weight": 1.0, + "context": "return_type", + "source": "entity_player_player_entity", + "target": "src_entity_player_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L10", + "weight": 1.0, + "context": "import", + "source": "src_game", + "target": "cellularautomaton", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L11", + "weight": 1.0, + "context": "import", + "source": "src_game", + "target": "player", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L7", + "weight": 1.0, + "context": "import", + "source": "src_game", + "target": "renderer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L13", + "weight": 1.0, + "source": "src_game", + "target": "src_game_game", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L9", + "weight": 1.0, + "context": "import", + "source": "src_game", + "target": "src_game_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L5", + "weight": 1.0, + "context": "import", + "source": "src_game", + "target": "verletsolver", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L15", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "cellularautomaton", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L25", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "duration", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L19", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "inputhandler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L18", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "player", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L447", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_aabb_overlaps_solid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L652", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_apply_world_damage", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L160", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_center_camera_on", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L271", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_check_on_ground", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L290", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_fixed_update", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L207", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_handle_input", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L50", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_init_world", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L30", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L476", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_resolve_aabb_x", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L535", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_resolve_aabb_y", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L165", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_run", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L675", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_try_spawn_goblin", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L304", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_update_entities", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L596", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_update_ragdoll_entity", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L347", + "weight": 1.0, + "source": "src_game_game", + "target": "src_game_game_update_rigid_entity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L17", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "src_game_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L14", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "src_game_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L26", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "src_game_rs_instant", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L16", + "weight": 1.0, + "context": "field", + "source": "src_game_game", + "target": "verletsolver", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L596", + "weight": 1.0, + "context": "parameter_type", + "source": "src_game_game_update_ragdoll_entity", + "target": "verletsolver", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L653", + "weight": 1.0, + "source": "src_game_game_apply_world_damage", + "target": "src_game_game_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L30", + "weight": 1.0, + "context": "return_type", + "source": "src_game_game_new", + "target": "src_game_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L157", + "weight": 1.0, + "source": "src_game_game_init_world", + "target": "src_game_game_center_camera_on", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L170", + "weight": 1.0, + "source": "src_game_game_run", + "target": "src_game_game_init_world", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L165", + "weight": 1.0, + "context": "parameter_type", + "source": "src_game_game_run", + "target": "r", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L182", + "weight": 1.0, + "source": "src_game_game_run", + "target": "src_game_game_fixed_update", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L197", + "weight": 1.0, + "source": "src_game_game_run", + "target": "src_game_game_handle_input", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L243", + "weight": 1.0, + "source": "src_game_game_handle_input", + "target": "src_game_game_check_on_ground", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L297", + "weight": 1.0, + "source": "src_game_game_fixed_update", + "target": "src_game_game_apply_world_damage", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L300", + "weight": 1.0, + "source": "src_game_game_fixed_update", + "target": "src_game_game_try_spawn_goblin", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L295", + "weight": 1.0, + "source": "src_game_game_fixed_update", + "target": "src_game_game_update_entities", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L319", + "weight": 1.0, + "source": "src_game_game_update_entities", + "target": "src_game_game_update_ragdoll_entity", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L317", + "weight": 1.0, + "source": "src_game_game_update_entities", + "target": "src_game_game_update_rigid_entity", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L367", + "weight": 1.0, + "source": "src_game_game_update_rigid_entity", + "target": "src_game_game_aabb_overlaps_solid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L375", + "weight": 1.0, + "source": "src_game_game_update_rigid_entity", + "target": "src_game_game_resolve_aabb_x", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/game.rs", + "source_location": "L383", + "weight": 1.0, + "source": "src_game_game_update_rigid_entity", + "target": "src_game_game_resolve_aabb_y", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "src/game.rs", + "source_location": "L622", + "weight": 1.0, + "source": "src_game_game_update_ragdoll_entity", + "target": "physics_collision_resolve_grid_collision" + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "src_input", + "target": "event", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L7", + "weight": 1.0, + "source": "src_input", + "target": "src_input_action", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L35", + "weight": 1.0, + "source": "src_input", + "target": "src_input_heldkey", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L44", + "weight": 1.0, + "source": "src_input", + "target": "src_input_heldstate", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L51", + "weight": 1.0, + "source": "src_input", + "target": "src_input_inputhandler", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L20", + "weight": 1.0, + "source": "src_input", + "target": "src_input_materialbrush", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L187", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler_held_actions", + "target": "src_input_action", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L113", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler_update", + "target": "src_input_action", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L52", + "weight": 1.0, + "context": "field", + "source": "src_input_inputhandler", + "target": "src_input_materialbrush", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L226", + "weight": 1.0, + "source": "src_input_materialbrush", + "target": "src_input_materialbrush_to_material", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L53", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler", + "target": "src_input_heldkey", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L109", + "weight": 1.0, + "context": "parameter_type", + "source": "src_input_inputhandler_is_held", + "target": "src_input_heldkey", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L93", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler_key_to_held", + "target": "src_input_heldkey", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L105", + "weight": 1.0, + "context": "parameter_type", + "source": "src_input_inputhandler_release", + "target": "src_input_heldkey", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L45", + "weight": 1.0, + "context": "field", + "source": "src_input_heldstate", + "target": "src_input_rs_instant", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L53", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler", + "target": "src_input_heldstate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L55", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler", + "target": "event", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L56", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler", + "target": "joinhandle", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L55", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_inputhandler", + "target": "receiver", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L187", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_held_actions", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L109", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_is_held", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L220", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_jump_requested", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L93", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_key_to_held", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L60", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L105", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_release", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L70", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_start", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L87", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_stop", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L113", + "weight": 1.0, + "source": "src_input_inputhandler", + "target": "src_input_inputhandler_update", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L53", + "weight": 1.0, + "context": "field", + "source": "src_input_inputhandler", + "target": "src_input_rs_hashmap", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L56", + "weight": 1.0, + "context": "field", + "source": "src_input_inputhandler", + "target": "src_input_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L93", + "weight": 1.0, + "context": "return_type", + "source": "src_input_inputhandler_key_to_held", + "target": "src_input_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L226", + "weight": 1.0, + "context": "return_type", + "source": "src_input_materialbrush_to_material", + "target": "src_input_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L9", + "weight": 1.0, + "context": "import", + "source": "src_main", + "target": "event", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L188", + "weight": 1.0, + "source": "src_input_inputhandler_held_actions", + "target": "src_input_inputhandler_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L60", + "weight": 1.0, + "context": "return_type", + "source": "src_input_inputhandler_new", + "target": "src_input_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L114", + "weight": 1.0, + "source": "src_input_inputhandler_update", + "target": "src_input_inputhandler_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L93", + "weight": 1.0, + "context": "parameter_type", + "source": "src_input_inputhandler_key_to_held", + "target": "src_input_rs_keycode", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L159", + "weight": 1.0, + "source": "src_input_inputhandler_update", + "target": "src_input_inputhandler_key_to_held", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L167", + "weight": 1.0, + "source": "src_input_inputhandler_update", + "target": "src_input_inputhandler_release", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L190", + "weight": 1.0, + "source": "src_input_inputhandler_held_actions", + "target": "src_input_inputhandler_is_held", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L113", + "weight": 1.0, + "context": "return_type", + "source": "src_input_inputhandler_update", + "target": "src_input_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L187", + "weight": 1.0, + "context": "return_type", + "source": "src_input_inputhandler_held_actions", + "target": "src_input_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/input.rs", + "source_location": "L226", + "weight": 1.0, + "context": "generic_arg", + "source": "src_input_materialbrush_to_material", + "target": "src_input_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L16", + "weight": 1.0, + "source": "src_main", + "target": "src_main_cli", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L355", + "weight": 1.0, + "source": "src_main", + "target": "src_main_dump_view", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L33", + "weight": 1.0, + "source": "src_main", + "target": "src_main_gpurenderer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L62", + "weight": 1.0, + "source": "src_main", + "target": "src_main_main", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L364", + "weight": 1.0, + "source": "src_main", + "target": "src_main_player_info", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L8", + "weight": 1.0, + "context": "import", + "source": "src_main", + "target": "src_main_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "src_main", + "target": "src_main_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L11", + "weight": 1.0, + "context": "import", + "source": "src_main", + "target": "src_main_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L112", + "weight": 1.0, + "source": "src_main", + "target": "src_main_run_gpu_mode", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L308", + "weight": 1.0, + "source": "src_main", + "target": "src_main_run_headless", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L279", + "weight": 1.0, + "source": "src_main", + "target": "src_main_run_replay_mode", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L248", + "weight": 1.0, + "source": "src_main", + "target": "src_main_run_test_mode", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L30", + "weight": 1.0, + "context": "field", + "source": "src_main_cli", + "target": "src_main_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L30", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_cli", + "target": "src_main_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L279", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_run_replay_mode", + "target": "src_main_cli", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L248", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_run_test_mode", + "target": "src_main_cli", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L355", + "weight": 1.0, + "context": "return_type", + "source": "src_main_dump_view", + "target": "src_main_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L364", + "weight": 1.0, + "context": "return_type", + "source": "src_main_player_info", + "target": "src_main_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "target": "src_main_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L51", + "weight": 1.0, + "source": "src_main_verbatim_render_graphics_graphicsrenderer", + "target": "src_main_gpurenderer", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L40", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer", + "target": "src_main_gpurenderer", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L48", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer", + "target": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L47", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer", + "target": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer", + "target": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L44", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer", + "target": "src_main_verbatim_render_vulkan_vulkanrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "context": "return_type", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L41", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L42", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_new", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "target": "src_main_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "target": "src_main_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "context": "return_type", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "target": "src_main_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "context": "generic_arg", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "target": "src_main_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L44", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", + "target": "src_main_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L44", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", + "target": "src_main_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L45", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_render", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L355", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_dump_view", + "target": "src_main_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L55", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "target": "src_main_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L355", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_dump_view", + "target": "src_main_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L55", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "target": "src_main_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L47", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_w", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L48", + "weight": 1.0, + "source": "src_main_verbatim_render_vulkan_vulkanrenderer_grid_h", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L59", + "weight": 1.0, + "source": "src_main_verbatim_render_graphics_graphicsrenderer", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L58", + "weight": 1.0, + "source": "src_main_verbatim_render_graphics_graphicsrenderer", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L52", + "weight": 1.0, + "source": "src_main_verbatim_render_graphics_graphicsrenderer", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L55", + "weight": 1.0, + "source": "src_main_verbatim_render_graphics_graphicsrenderer", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L67", + "weight": 1.0, + "source": "src_main_main", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L113", + "weight": 1.0, + "source": "src_main_run_gpu_mode", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L309", + "weight": 1.0, + "source": "src_main_run_headless", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L241", + "weight": 1.0, + "source": "src_main_run_gpu_mode", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L165", + "weight": 1.0, + "source": "src_main_run_gpu_mode", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L166", + "weight": 1.0, + "source": "src_main_run_gpu_mode", + "target": "src_main_verbatim_render_graphics_graphicsrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L99", + "weight": 1.0, + "source": "src_main_main", + "target": "src_main_run_headless", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L95", + "weight": 1.0, + "source": "src_main_main", + "target": "src_main_run_replay_mode", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L92", + "weight": 1.0, + "source": "src_main_main", + "target": "src_main_run_test_mode", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L323", + "weight": 1.0, + "source": "src_main_run_headless", + "target": "src_main_dump_view", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/main.rs", + "source_location": "L364", + "weight": 1.0, + "context": "parameter_type", + "source": "src_main_player_info", + "target": "src_main_rs_game", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L142", + "weight": 1.0, + "source": "physics_collision", + "target": "physics_collision_apply_liquid_drag", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L5", + "weight": 1.0, + "source": "physics_collision", + "target": "physics_collision_collisionresult", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "weight": 1.0, + "source": "physics_collision", + "target": "physics_collision_resolve_grid_collision", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "physics_collision", + "target": "src_physics_collision_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "physics_collision", + "target": "src_physics_collision_rs_subbody", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L15", + "weight": 1.0, + "source": "physics_collision_collisionresult", + "target": "physics_collision_collisionresult_none", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "weight": 1.0, + "context": "return_type", + "source": "physics_collision_resolve_grid_collision", + "target": "physics_collision_collisionresult", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L15", + "weight": 1.0, + "context": "return_type", + "source": "physics_collision_collisionresult_none", + "target": "src_physics_collision_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L28", + "weight": 1.0, + "source": "physics_collision_resolve_grid_collision", + "target": "physics_collision_collisionresult_none", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L58", + "weight": 1.0, + "source": "physics_collision_resolve_grid_collision", + "target": "physics_collision_apply_liquid_drag", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_collision_resolve_grid_collision", + "target": "src_physics_collision_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L27", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_collision_resolve_grid_collision", + "target": "src_physics_collision_rs_subbody", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/collision.rs", + "source_location": "L142", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_collision_apply_liquid_drag", + "target": "src_physics_collision_rs_subbody", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L55", + "weight": 1.0, + "source": "physics_verlet", + "target": "physics_verlet_constraint", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L4", + "weight": 1.0, + "source": "physics_verlet", + "target": "physics_verlet_subbody", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L74", + "weight": 1.0, + "source": "physics_verlet", + "target": "physics_verlet_verletsolver", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "physics_verlet", + "target": "src_physics_verlet_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L20", + "weight": 1.0, + "source": "physics_verlet_subbody", + "target": "physics_verlet_subbody_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L48", + "weight": 1.0, + "source": "physics_verlet_subbody", + "target": "physics_verlet_subbody_set_vel", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L38", + "weight": 1.0, + "source": "physics_verlet_subbody", + "target": "physics_verlet_subbody_vx", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L43", + "weight": 1.0, + "source": "physics_verlet_subbody", + "target": "physics_verlet_subbody_vy", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L12", + "weight": 1.0, + "context": "field", + "source": "physics_verlet_subbody", + "target": "src_physics_verlet_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L93", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_verlet_verletsolver_integrate", + "target": "physics_verlet_subbody", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L116", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_verlet_verletsolver_solve_constraints", + "target": "physics_verlet_subbody", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L20", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_verlet_subbody_new", + "target": "src_physics_verlet_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L20", + "weight": 1.0, + "context": "return_type", + "source": "physics_verlet_subbody_new", + "target": "src_physics_verlet_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L63", + "weight": 1.0, + "context": "return_type", + "source": "physics_verlet_constraint_new", + "target": "src_physics_verlet_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L83", + "weight": 1.0, + "context": "return_type", + "source": "physics_verlet_verletsolver_new", + "target": "src_physics_verlet_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L63", + "weight": 1.0, + "source": "physics_verlet_constraint", + "target": "physics_verlet_constraint_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L116", + "weight": 1.0, + "context": "parameter_type", + "source": "physics_verlet_verletsolver_solve_constraints", + "target": "physics_verlet_constraint", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L93", + "weight": 1.0, + "source": "physics_verlet_verletsolver", + "target": "physics_verlet_verletsolver_integrate", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L83", + "weight": 1.0, + "source": "physics_verlet_verletsolver", + "target": "physics_verlet_verletsolver_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/physics/verlet.rs", + "source_location": "L116", + "weight": 1.0, + "source": "physics_verlet_verletsolver", + "target": "physics_verlet_verletsolver_solve_constraints", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L15", + "weight": 1.0, + "source": "render_graphics", + "target": "render_graphics_colorinstance", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L28", + "weight": 1.0, + "source": "render_graphics", + "target": "render_graphics_graphicsrenderer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L23", + "weight": 1.0, + "source": "render_graphics", + "target": "render_graphics_pushconstants", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L3", + "weight": 1.0, + "context": "import", + "source": "render_graphics", + "target": "src_render_graphics_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L7", + "weight": 1.0, + "context": "import", + "source": "render_graphics", + "target": "src_render_graphics_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L64", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_colorinstance", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L441", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_check_resize", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L583", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_drop", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L439", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L438", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "render_graphics_graphicsrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L67", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L62", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_buffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L50", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_commandbuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L49", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_commandpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L39", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L63", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L582", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_drop", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L32", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_entry", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L42", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_extent2d", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L54", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_fence", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L47", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L41", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L33", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L35", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L45", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_pipeline", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L46", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_pipelinelayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L37", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_queue", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L44", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_renderpass", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L53", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_semaphore", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L34", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_surfacekhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L40", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_swapchainkhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L54", + "weight": 1.0, + "context": "field", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L67", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer", + "target": "src_render_graphics_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "context": "parameter_type", + "source": "render_graphics_graphicsrenderer_new", + "target": "src_render_graphics_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer_new", + "target": "src_render_graphics_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L442", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer_check_resize", + "target": "render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L602", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer_drop", + "target": "render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "context": "return_type", + "source": "render_graphics_graphicsrenderer_new", + "target": "src_render_graphics_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer_new", + "target": "src_render_graphics_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L71", + "weight": 1.0, + "context": "generic_arg", + "source": "render_graphics_graphicsrenderer_new", + "target": "src_render_graphics_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L309", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer_render", + "target": "render_graphics_graphicsrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L307", + "weight": 1.0, + "source": "render_graphics_graphicsrenderer_render", + "target": "render_graphics_graphicsrenderer_check_resize", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "weight": 1.0, + "context": "parameter_type", + "source": "render_graphics_graphicsrenderer_render", + "target": "src_render_graphics_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/graphics.rs", + "source_location": "L306", + "weight": 1.0, + "context": "parameter_type", + "source": "render_graphics_graphicsrenderer_render", + "target": "src_render_graphics_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/mod.rs", + "source_location": "L9", + "weight": 1.0, + "source": "render_mod", + "target": "render_mod_renderer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L15", + "weight": 1.0, + "source": "render_terminal", + "target": "render_terminal_terminalrenderer", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L11", + "weight": 1.0, + "context": "import", + "source": "render_terminal", + "target": "renderer", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L10", + "weight": 1.0, + "context": "import", + "source": "render_terminal", + "target": "src_render_terminal_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L13", + "weight": 1.0, + "context": "import", + "source": "render_terminal", + "target": "src_render_terminal_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L32", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_detect_size", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L184", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_drop", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L39", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_empty_cell", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L45", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_init", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L23", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L157", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_shutdown", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L178", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_viewport_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L174", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "render_terminal_terminalrenderer_viewport_w", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L44", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "renderer", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L183", + "weight": 1.0, + "source": "render_terminal_terminalrenderer", + "target": "src_render_terminal_rs_drop", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L18", + "weight": 1.0, + "context": "field", + "source": "render_terminal_terminalrenderer", + "target": "src_render_terminal_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L23", + "weight": 1.0, + "context": "return_type", + "source": "render_terminal_terminalrenderer_new", + "target": "src_render_terminal_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L32", + "weight": 1.0, + "context": "return_type", + "source": "render_terminal_terminalrenderer_detect_size", + "target": "src_render_terminal_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L46", + "weight": 1.0, + "source": "render_terminal_terminalrenderer_init", + "target": "render_terminal_terminalrenderer_detect_size", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L45", + "weight": 1.0, + "context": "return_type", + "source": "render_terminal_terminalrenderer_init", + "target": "src_render_terminal_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "weight": 1.0, + "context": "return_type", + "source": "render_terminal_terminalrenderer_render", + "target": "src_render_terminal_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L157", + "weight": 1.0, + "context": "return_type", + "source": "render_terminal_terminalrenderer_shutdown", + "target": "src_render_terminal_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "weight": 1.0, + "context": "parameter_type", + "source": "render_terminal_terminalrenderer_render", + "target": "src_render_terminal_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L67", + "weight": 1.0, + "context": "parameter_type", + "source": "render_terminal_terminalrenderer_render", + "target": "src_render_terminal_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/terminal.rs", + "source_location": "L185", + "weight": 1.0, + "source": "render_terminal_terminalrenderer_drop", + "target": "render_terminal_terminalrenderer_shutdown", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L20", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_cellinstance", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_atlas_texture", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_buffer_with_data", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_command_buffers", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_command_pool", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_descriptor", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_device", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_image_view", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_instance", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_instance_buffer", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_pipeline", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_render_pass", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_surface", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_swapchain", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_sync", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_create_vertex_index_buffers", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_find_mem_type", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_pick_physical_device", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L33", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_pushconstants", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_update_descriptor_set", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L38", + "weight": 1.0, + "source": "render_vulkan", + "target": "render_vulkan_vulkanrenderer", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L4", + "weight": 1.0, + "context": "import", + "source": "render_vulkan", + "target": "src_render_vulkan_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L8", + "weight": 1.0, + "context": "import", + "source": "render_vulkan", + "target": "src_render_vulkan_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance_buffer", + "target": "render_vulkan_cellinstance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L80", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_cellinstance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L83", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "descriptorpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L84", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "descriptorset", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L85", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "descriptorsetlayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L72", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "image", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L310", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_check_resize", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L446", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_drop", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L308", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_grid_h", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L307", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_grid_w", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "render_vulkan_vulkanrenderer_render", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L75", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "sampler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L86", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L78", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_buffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L60", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_commandbuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L59", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_commandpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L49", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L79", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "implements", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L445", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_drop", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L42", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_entry", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L52", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_extent2d", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L64", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_fence", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L57", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L76", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_hashmap", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L74", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L43", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L45", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L55", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_pipeline", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L56", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_pipelinelayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L47", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_queue", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L54", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_renderpass", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L63", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_semaphore", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L44", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_surfacekhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L50", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_swapchainkhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L64", + "weight": 1.0, + "context": "field", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L86", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer", + "target": "src_render_vulkan_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_instance", + "target": "src_render_vulkan_rs_entry", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_entry", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_find_mem_type", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_pick_physical_device", + "target": "src_render_vulkan_rs_instance", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_surfacekhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_surfacekhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_pick_physical_device", + "target": "src_render_vulkan_rs_surfacekhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_find_mem_type", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_pick_physical_device", + "target": "src_render_vulkan_rs_physicaldevice", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_command_pool", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_descriptor", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_framebuffer", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_image_view", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_render_pass", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_update_descriptor_set", + "target": "src_render_vulkan_rs_device", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_queue", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_queue", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_swapchainkhr", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_framebuffer", + "target": "src_render_vulkan_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_image_view", + "target": "src_render_vulkan_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_update_descriptor_set", + "target": "src_render_vulkan_rs_imageview", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_framebuffer", + "target": "src_render_vulkan_rs_extent2d", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_extent2d", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_framebuffer", + "target": "src_render_vulkan_rs_renderpass", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_renderpass", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_render_pass", + "target": "src_render_vulkan_rs_renderpass", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_pipeline", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_pipelinelayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L685", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_framebuffer", + "target": "src_render_vulkan_rs_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_commandpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_commandpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_command_pool", + "target": "src_render_vulkan_rs_commandpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_commandbuffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_semaphore", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_fence", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_buffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_buffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_buffer", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_devicememory", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "image", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_image_view", + "target": "image", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "image", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "sampler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_update_descriptor_set", + "target": "sampler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_hashmap", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_descriptor", + "target": "descriptorpool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_descriptor", + "target": "descriptorset", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L872", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_update_descriptor_set", + "target": "descriptorset", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_descriptor", + "target": "descriptorsetlayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_pipeline", + "target": "descriptorsetlayout", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_vulkanrenderer_new", + "target": "src_render_vulkan_rs_arc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer_new", + "target": "src_render_vulkan_rs_window", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L758", + "weight": 1.0, + "source": "render_vulkan_create_atlas_texture", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L480", + "weight": 1.0, + "source": "render_vulkan_create_instance", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L641", + "weight": 1.0, + "source": "render_vulkan_create_pipeline", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L702", + "weight": 1.0, + "source": "render_vulkan_create_sync", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L311", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_check_resize", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L471", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_drop", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L130", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_command_buffers", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L129", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_command_pool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L124", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_descriptor", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L111", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_device", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L127", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L119", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_image_view", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L141", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_instance_buffer", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L122", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_render_pass", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L105", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_surface", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L115", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_swapchain", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L134", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_create_vertex_index_buffers", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L109", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_pick_physical_device", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L143", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_new", + "target": "render_vulkan_update_descriptor_set", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_vulkanrenderer_new", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer_new", + "target": "src_render_vulkan_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L90", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_vulkanrenderer_new", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L165", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_render", + "target": "render_vulkan_vulkanrenderer_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_command_pool", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_descriptor", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_instance", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_render_pass", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_find_mem_type", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "context": "return_type", + "source": "render_vulkan_pick_physical_device", + "target": "src_render_vulkan_rs_result", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L751", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_atlas_texture", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_buffer_with_data", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L696", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_command_buffers", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L691", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_command_pool", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L620", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_descriptor", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L536", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_device", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L856", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_instance_buffer", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L634", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_pipeline", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_render_pass", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L504", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_surface", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L701", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_sync", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L741", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_vertex_index_buffers", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_find_mem_type", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L516", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_pick_physical_device", + "target": "src_render_vulkan_rs_string", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L163", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_render", + "target": "render_vulkan_vulkanrenderer_check_resize", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_vulkanrenderer_render", + "target": "src_render_vulkan_rs_entitymanager", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L162", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_vulkanrenderer_render", + "target": "src_render_vulkan_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L386", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_check_resize", + "target": "render_vulkan_create_framebuffer", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L377", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_check_resize", + "target": "render_vulkan_create_image_view", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L357", + "weight": 1.0, + "source": "render_vulkan_vulkanrenderer_check_resize", + "target": "render_vulkan_create_swapchain", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L479", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_instance", + "target": "c_char", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L551", + "weight": 1.0, + "context": "generic_arg", + "source": "render_vulkan_create_swapchain", + "target": "format", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L589", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_image_view", + "target": "format", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L599", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_render_pass", + "target": "format", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L847", + "weight": 1.0, + "source": "render_vulkan_create_atlas_texture", + "target": "render_vulkan_create_image_view", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L792", + "weight": 1.0, + "source": "render_vulkan_create_atlas_texture", + "target": "render_vulkan_find_mem_type", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L729", + "weight": 1.0, + "source": "render_vulkan_create_buffer_with_data", + "target": "render_vulkan_find_mem_type", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L863", + "weight": 1.0, + "source": "render_vulkan_create_instance_buffer", + "target": "render_vulkan_find_mem_type", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L713", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_find_mem_type", + "target": "memorypropertyflags", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "bufferusageflags", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L721", + "weight": 1.0, + "context": "parameter_type", + "source": "render_vulkan_create_buffer_with_data", + "target": "t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/render/vulkan.rs", + "source_location": "L746", + "weight": 1.0, + "source": "render_vulkan_create_vertex_index_buffers", + "target": "render_vulkan_create_buffer_with_data", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "render_window_input", + "target": "hashset", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L4", + "weight": 1.0, + "source": "render_window_input", + "target": "render_window_input_windowinput", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L15", + "weight": 1.0, + "context": "field", + "source": "render_window_input_windowinput", + "target": "hashset", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L19", + "weight": 1.0, + "source": "render_window_input_windowinput", + "target": "render_window_input_windowinput_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "weight": 1.0, + "source": "render_window_input_windowinput", + "target": "render_window_input_windowinput_on_key_event", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L45", + "weight": 1.0, + "source": "render_window_input_windowinput", + "target": "render_window_input_windowinput_update", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L15", + "weight": 1.0, + "context": "generic_arg", + "source": "render_window_input_windowinput", + "target": "src_render_window_input_rs_keycode", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L13", + "weight": 1.0, + "context": "field", + "source": "render_window_input_windowinput", + "target": "src_render_window_input_rs_option", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L19", + "weight": 1.0, + "context": "return_type", + "source": "render_window_input_windowinput_new", + "target": "src_render_window_input_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "weight": 1.0, + "context": "parameter_type", + "source": "render_window_input_windowinput_on_key_event", + "target": "elementstate", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/render/window_input.rs", + "source_location": "L29", + "weight": 1.0, + "context": "parameter_type", + "source": "render_window_input_windowinput_on_key_event", + "target": "physicalkey", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L44", + "weight": 1.0, + "source": "world_cell", + "target": "world_cell_cell", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L5", + "weight": 1.0, + "source": "world_cell", + "target": "world_cell_materialid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L121", + "weight": 1.0, + "source": "world_cell", + "target": "world_cell_rand_u8", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L45", + "weight": 1.0, + "context": "field", + "source": "world_cell_cell", + "target": "world_cell_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L65", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cell_cell_new", + "target": "world_cell_materialid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L23", + "weight": 1.0, + "source": "world_cell_materialid", + "target": "world_cell_materialid_display_char", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L109", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_density", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L114", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_display_char", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L54", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_empty", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L85", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_is_empty", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L99", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_is_gas", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L94", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_is_liquid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L89", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_is_solid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L104", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_is_static", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L65", + "weight": 1.0, + "source": "world_cell_cell", + "target": "world_cell_cell_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L54", + "weight": 1.0, + "context": "return_type", + "source": "world_cell_cell_empty", + "target": "src_world_cell_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L65", + "weight": 1.0, + "context": "return_type", + "source": "world_cell_cell_new", + "target": "src_world_cell_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cell.rs", + "source_location": "L79", + "weight": 1.0, + "source": "world_cell_cell_new", + "target": "world_cell_rand_u8", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "world_cellular", + "target": "cell", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L2", + "weight": 1.0, + "context": "import", + "source": "world_cellular", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L4", + "weight": 1.0, + "source": "world_cellular", + "target": "world_cellular_cellularautomaton", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L104", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L407", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_heat_transfer", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L207", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_lava_interact", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L10", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L18", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L26", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L30", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_step", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L69", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_try_move_down", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L337", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_acid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L397", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_dirt", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L273", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_fire", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L378", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_flesh", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L389", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_grass", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L170", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_lava", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L114", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_sand", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L313", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_smoke", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L238", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_steam", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L118", + "weight": 1.0, + "source": "world_cellular_cellularautomaton", + "target": "world_cellular_cellularautomaton_update_water", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L218", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_lava_interact", + "target": "world_cellular_cellularautomaton_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L10", + "weight": 1.0, + "context": "return_type", + "source": "world_cellular_cellularautomaton_new", + "target": "src_world_cellular_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L278", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_fire", + "target": "world_cellular_cellularautomaton_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L393", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_grass", + "target": "world_cellular_cellularautomaton_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L27", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_rand_bool", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L348", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_acid", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L275", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_fire", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L196", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_lava", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L314", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_smoke", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L264", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_steam", + "target": "world_cellular_cellularautomaton_rand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L32", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L81", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_try_move_down", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L366", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_acid", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L186", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_lava", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L325", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_smoke", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L254", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_steam", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L125", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_water", + "target": "world_cellular_cellularautomaton_rand_bool", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L30", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_step", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L65", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_heat_transfer", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L56", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_acid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L59", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_dirt", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L54", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_fire", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L57", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_flesh", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L58", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_grass", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L52", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_lava", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L50", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_sand", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L55", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_smoke", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L53", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_steam", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L51", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_step", + "target": "world_cellular_cellularautomaton_update_water", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L104", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_do_swap", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L407", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_heat_transfer", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L207", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_lava_interact", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L69", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_try_move_down", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L337", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_acid", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L397", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_dirt", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L273", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_fire", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L378", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_flesh", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L389", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_grass", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L170", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_lava", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L114", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_sand", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L313", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_smoke", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L238", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_steam", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L118", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_update_water", + "target": "src_world_cellular_rs_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L69", + "weight": 1.0, + "context": "parameter_type", + "source": "world_cellular_cellularautomaton_try_move_down", + "target": "src_world_cellular_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L92", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_try_move_down", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L115", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_sand", + "target": "world_cellular_cellularautomaton_try_move_down", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L362", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_acid", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L291", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_fire", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L182", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_lava", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L321", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_smoke", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L250", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_steam", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L121", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_water", + "target": "world_cellular_cellularautomaton_do_swap", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/cellular.rs", + "source_location": "L204", + "weight": 1.0, + "source": "world_cellular_cellularautomaton_update_lava", + "target": "world_cellular_cellularautomaton_lava_interact", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "world_grid", + "target": "cell", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L6", + "weight": 1.0, + "source": "world_grid", + "target": "world_grid_grid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L7", + "weight": 1.0, + "context": "generic_arg", + "source": "world_grid_grid", + "target": "cell", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L7", + "weight": 1.0, + "context": "field", + "source": "world_grid_grid", + "target": "src_world_grid_rs_vec", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L56", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_fill_border", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L33", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_get", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L23", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_idx", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L28", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_in_bounds", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L13", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_new", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L67", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_reset_tick_flags", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L41", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_set", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L49", + "weight": 1.0, + "source": "world_grid_grid", + "target": "world_grid_grid_set_material", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L33", + "weight": 1.0, + "context": "return_type", + "source": "world_grid_grid_get", + "target": "cell", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L41", + "weight": 1.0, + "context": "parameter_type", + "source": "world_grid_grid_set", + "target": "cell", + "confidence_score": 1.0 + }, + { + "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_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L13", + "weight": 1.0, + "context": "return_type", + "source": "world_grid_grid_new", + "target": "src_world_grid_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L52", + "weight": 1.0, + "source": "world_grid_grid_set_material", + "target": "world_grid_grid_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L37", + "weight": 1.0, + "source": "world_grid_grid_get", + "target": "world_grid_grid_idx", + "confidence_score": 1.0 + }, + { + "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_in_bounds", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L42", + "weight": 1.0, + "source": "world_grid_grid_set", + "target": "world_grid_grid_in_bounds", + "confidence_score": 1.0 + }, + { + "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_in_bounds", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L58", + "weight": 1.0, + "source": "world_grid_grid_fill_border", + "target": "world_grid_grid_set_material", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L49", + "weight": 1.0, + "context": "parameter_type", + "source": "world_grid_grid_set_material", + "target": "src_world_grid_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/grid.rs", + "source_location": "L56", + "weight": 1.0, + "context": "parameter_type", + "source": "world_grid_grid_fill_border", + "target": "src_world_grid_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "world_material", + "target": "src_world_material_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L4", + "weight": 1.0, + "source": "world_material", + "target": "world_material_material", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L24", + "weight": 1.0, + "source": "world_material", + "target": "world_material_materialregistry", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L5", + "weight": 1.0, + "context": "field", + "source": "world_material_material", + "target": "src_world_material_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L25", + "weight": 1.0, + "context": "field", + "source": "world_material_materialregistry", + "target": "world_material_material", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L260", + "weight": 1.0, + "context": "return_type", + "source": "world_material_materialregistry_get", + "target": "world_material_material", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L260", + "weight": 1.0, + "context": "parameter_type", + "source": "world_material_materialregistry_get", + "target": "src_world_material_rs_materialid", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L260", + "weight": 1.0, + "source": "world_material_materialregistry", + "target": "world_material_materialregistry_get", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L264", + "weight": 1.0, + "context": "return_type", + "source": "world_material_materialregistry_instance", + "target": "world_material_materialregistry", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L29", + "weight": 1.0, + "source": "world_material_materialregistry", + "target": "world_material_materialregistry_new", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L265", + "weight": 1.0, + "source": "world_material_materialregistry_instance", + "target": "world_material_materialregistry_new", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "src/world/material.rs", + "source_location": "L29", + "weight": 1.0, + "context": "return_type", + "source": "world_material_materialregistry_new", + "target": "src_world_material_rs_self", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L153", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_entity_collision_with_dirt_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L55", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_blocked_by_ceiling", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_blocked_by_left_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L26", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_blocked_by_right_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L117", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_blocked_by_two_walls_both_sides", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L82", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_does_not_stick_to_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L68", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_navigates_corridor", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L39", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_slides_along_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L103", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_squeezes_through_gap", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L136", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_player_walks_up_slope", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_collision_robust", + "target": "tests_collision_robust_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_collision_robust", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L154", + "weight": 1.0, + "source": "tests_collision_robust_entity_collision_with_dirt_wall", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L56", + "weight": 1.0, + "source": "tests_collision_robust_player_blocked_by_ceiling", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L14", + "weight": 1.0, + "source": "tests_collision_robust_player_blocked_by_left_wall", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L27", + "weight": 1.0, + "source": "tests_collision_robust_player_blocked_by_right_wall", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L118", + "weight": 1.0, + "source": "tests_collision_robust_player_blocked_by_two_walls_both_sides", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L83", + "weight": 1.0, + "source": "tests_collision_robust_player_does_not_stick_to_wall", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L40", + "weight": 1.0, + "source": "tests_collision_robust_player_slides_along_wall", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L104", + "weight": 1.0, + "source": "tests_collision_robust_player_squeezes_through_gap", + "target": "tests_collision_robust_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/collision_robust.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_collision_robust_setup", + "target": "tests_collision_robust_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L121", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_determinism_with_spawn_and_damage", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L140", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_hundred_tick_determinism", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L105", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_recording_captures_all_actions", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L61", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_replay_exact_match", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L87", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_replay_stop_at_tick", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_determinism", + "target": "tests_determinism_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L28", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_same_seed_same_entity_count", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L39", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_same_seed_same_grid_state", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L14", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_same_seed_same_player_position", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L5", + "weight": 1.0, + "source": "tests_determinism", + "target": "tests_determinism_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L122", + "weight": 1.0, + "source": "tests_determinism_determinism_with_spawn_and_damage", + "target": "tests_determinism_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/determinism.rs", + "source_location": "L5", + "weight": 1.0, + "context": "return_type", + "source": "tests_determinism_setup", + "target": "tests_determinism_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L164", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_center_camera_on_player", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L106", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_clear_region_removes_all_materials", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L25", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_entity_at_right_boundary", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L98", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_fill_rect_creates_correct_material_count", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L186", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_find_material_locates_existing", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L197", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_find_material_returns_none_for_absent", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L81", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_goblin_has_correct_max_health", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L174", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_kill_entity_removes_alive_status", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L36", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_many_entities_simulate_without_crash", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L124", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_out_of_bounds_cell_returns_error", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L133", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_paint_creates_material_in_radius", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L64", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_player_at_spawn_is_alive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L73", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_player_bodies_count_matches_layout", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L90", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_player_has_correct_max_health", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_edge_cases", + "target": "tests_edge_cases_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L156", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_set_camera_works", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L115", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_set_cell_overwrites_existing", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L142", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_set_gravity_affects_player", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L48", + "weight": 1.0, + "source": "tests_edge_cases", + "target": "tests_edge_cases_spawn_many_goblins_stress", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L165", + "weight": 1.0, + "source": "tests_edge_cases_center_camera_on_player", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L107", + "weight": 1.0, + "source": "tests_edge_cases_clear_region_removes_all_materials", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L26", + "weight": 1.0, + "source": "tests_edge_cases_entity_at_right_boundary", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L14", + "weight": 1.0, + "source": "tests_edge_cases_entity_at_world_boundary_stays_in_bounds", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L99", + "weight": 1.0, + "source": "tests_edge_cases_fill_rect_creates_correct_material_count", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L187", + "weight": 1.0, + "source": "tests_edge_cases_find_material_locates_existing", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L198", + "weight": 1.0, + "source": "tests_edge_cases_find_material_returns_none_for_absent", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L82", + "weight": 1.0, + "source": "tests_edge_cases_goblin_has_correct_max_health", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L175", + "weight": 1.0, + "source": "tests_edge_cases_kill_entity_removes_alive_status", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L37", + "weight": 1.0, + "source": "tests_edge_cases_many_entities_simulate_without_crash", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L125", + "weight": 1.0, + "source": "tests_edge_cases_out_of_bounds_cell_returns_error", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L134", + "weight": 1.0, + "source": "tests_edge_cases_paint_creates_material_in_radius", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L157", + "weight": 1.0, + "source": "tests_edge_cases_set_camera_works", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L116", + "weight": 1.0, + "source": "tests_edge_cases_set_cell_overwrites_existing", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L143", + "weight": 1.0, + "source": "tests_edge_cases_set_gravity_affects_player", + "target": "tests_edge_cases_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/edge_cases.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_edge_cases_setup", + "target": "tests_edge_cases_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L63", + "weight": 1.0, + "source": "tests_entity_damage", + "target": "tests_entity_damage_entity_blocked_by_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L26", + "weight": 1.0, + "source": "tests_entity_damage", + "target": "tests_entity_damage_entity_dies_becomes_corpse", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L42", + "weight": 1.0, + "source": "tests_entity_damage", + "target": "tests_entity_damage_entity_on_fire_takes_damage_over_time", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_entity_damage", + "target": "tests_entity_damage_entity_takes_lava_damage", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_entity_damage", + "target": "tests_entity_damage_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_entity_damage", + "target": "tests_entity_damage_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L64", + "weight": 1.0, + "source": "tests_entity_damage_entity_blocked_by_stone", + "target": "tests_entity_damage_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L27", + "weight": 1.0, + "source": "tests_entity_damage_entity_dies_becomes_corpse", + "target": "tests_entity_damage_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L43", + "weight": 1.0, + "source": "tests_entity_damage_entity_on_fire_takes_damage_over_time", + "target": "tests_entity_damage_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_entity_damage_entity_takes_lava_damage", + "target": "tests_entity_damage_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/entity_damage.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_entity_damage_setup_empty", + "target": "tests_entity_damage_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L30", + "weight": 1.0, + "source": "tests_entity_movement", + "target": "tests_entity_movement_player_blocked_by_stone_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L43", + "weight": 1.0, + "source": "tests_entity_movement", + "target": "tests_entity_movement_player_can_move_right", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_entity_movement", + "target": "tests_entity_movement_player_falls_and_lands", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L55", + "weight": 1.0, + "source": "tests_entity_movement", + "target": "tests_entity_movement_player_survives_fall", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_entity_movement", + "target": "tests_entity_movement_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_entity_movement", + "target": "tests_entity_movement_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L31", + "weight": 1.0, + "source": "tests_entity_movement_player_blocked_by_stone_wall", + "target": "tests_entity_movement_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L44", + "weight": 1.0, + "source": "tests_entity_movement_player_can_move_right", + "target": "tests_entity_movement_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L56", + "weight": 1.0, + "source": "tests_entity_movement_player_survives_fall", + "target": "tests_entity_movement_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/entity_movement.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_entity_movement_setup_empty", + "target": "tests_entity_movement_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/integration.rs", + "source_location": "L71", + "weight": 1.0, + "source": "tests_integration", + "target": "tests_integration_pipe_protocol_init_and_step", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/integration.rs", + "source_location": "L6", + "weight": 1.0, + "source": "tests_integration", + "target": "tests_integration_replay_deterministic", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/integration.rs", + "source_location": "L31", + "weight": 1.0, + "source": "tests_integration", + "target": "tests_integration_replay_play_until_tick", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/integration.rs", + "source_location": "L52", + "weight": 1.0, + "source": "tests_integration", + "target": "tests_integration_same_seed_same_state", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_acid", + "target": "tests_physics_acid_acid_dissolves_wood", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L23", + "weight": 1.0, + "source": "tests_physics_acid", + "target": "tests_physics_acid_acid_does_not_dissolve_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L32", + "weight": 1.0, + "source": "tests_physics_acid", + "target": "tests_physics_acid_acid_flows_down", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_acid", + "target": "tests_physics_acid_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_acid", + "target": "tests_physics_acid_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_acid_acid_dissolves_wood", + "target": "tests_physics_acid_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L24", + "weight": 1.0, + "source": "tests_physics_acid_acid_does_not_dissolve_stone", + "target": "tests_physics_acid_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L33", + "weight": 1.0, + "source": "tests_physics_acid_acid_flows_down", + "target": "tests_physics_acid_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_acid.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_acid_setup_empty", + "target": "tests_physics_acid_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L75", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_acid_dissolves_dirt", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L64", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_acid_dissolves_grass", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L50", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_acid_does_not_dissolve_empty", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L119", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_fire_does_not_ignite_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L128", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_fire_does_not_ignite_water", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L37", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_fire_spreads_through_wood_line", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L96", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L23", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_lava_cools_to_stone_eventually", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_lava_flows_down_on_stone", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L108", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_sand_falls_through_water", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L140", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L86", + "weight": 1.0, + "source": "tests_physics_interactions", + "target": "tests_physics_interactions_water_extinguishes_fire_indirectly", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L76", + "weight": 1.0, + "source": "tests_physics_interactions_acid_dissolves_dirt", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L65", + "weight": 1.0, + "source": "tests_physics_interactions_acid_dissolves_grass", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L51", + "weight": 1.0, + "source": "tests_physics_interactions_acid_does_not_dissolve_empty", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L120", + "weight": 1.0, + "source": "tests_physics_interactions_fire_does_not_ignite_stone", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L129", + "weight": 1.0, + "source": "tests_physics_interactions_fire_does_not_ignite_water", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L38", + "weight": 1.0, + "source": "tests_physics_interactions_fire_spreads_through_wood_line", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L97", + "weight": 1.0, + "source": "tests_physics_interactions_lava_and_water_produce_both_steam_and_stone", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L24", + "weight": 1.0, + "source": "tests_physics_interactions_lava_cools_to_stone_eventually", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_interactions_lava_flows_down_on_stone", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L109", + "weight": 1.0, + "source": "tests_physics_interactions_sand_falls_through_water", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_interactions_setup", + "target": "tests_physics_interactions_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L141", + "weight": 1.0, + "source": "tests_physics_interactions_water_does_not_flow_through_dirt_wall", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_interactions.rs", + "source_location": "L87", + "weight": 1.0, + "source": "tests_physics_interactions_water_extinguishes_fire_indirectly", + "target": "tests_physics_interactions_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_lava", + "target": "tests_physics_lava_lava_flows_down", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L50", + "weight": 1.0, + "source": "tests_physics_lava", + "target": "tests_physics_lava_lava_ignites_grass", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L37", + "weight": 1.0, + "source": "tests_physics_lava", + "target": "tests_physics_lava_lava_ignites_wood", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L25", + "weight": 1.0, + "source": "tests_physics_lava", + "target": "tests_physics_lava_lava_plus_water_makes_steam", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_lava", + "target": "tests_physics_lava_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_lava", + "target": "tests_physics_lava_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_lava_lava_flows_down", + "target": "tests_physics_lava_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L51", + "weight": 1.0, + "source": "tests_physics_lava_lava_ignites_grass", + "target": "tests_physics_lava_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L38", + "weight": 1.0, + "source": "tests_physics_lava_lava_ignites_wood", + "target": "tests_physics_lava_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L26", + "weight": 1.0, + "source": "tests_physics_lava_lava_plus_water_makes_steam", + "target": "tests_physics_lava_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_lava.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_lava_setup_empty", + "target": "tests_physics_lava_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L136", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_bone_is_static", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L112", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_dirt_is_solid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_fire_dies_over_time", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L42", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_fire_ignites_flesh", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L31", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_fire_ignites_grass", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L21", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_fire_ignites_wood", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L104", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_grass_is_solid", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L144", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_lava_initial_temp_is_high", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_materials", + "target": "tests_physics_materials_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L67", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_smoke_dissipates_over_time", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L52", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_smoke_rises", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L76", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_steam_condenses_to_water", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L93", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_steam_rises", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L120", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_stone_is_static", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L152", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_water_initial_temp_is_room", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L128", + "weight": 1.0, + "source": "tests_physics_materials", + "target": "tests_physics_materials_wood_is_static", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L137", + "weight": 1.0, + "source": "tests_physics_materials_bone_is_static", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L113", + "weight": 1.0, + "source": "tests_physics_materials_dirt_is_solid", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_materials_fire_dies_over_time", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L43", + "weight": 1.0, + "source": "tests_physics_materials_fire_ignites_flesh", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L32", + "weight": 1.0, + "source": "tests_physics_materials_fire_ignites_grass", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L22", + "weight": 1.0, + "source": "tests_physics_materials_fire_ignites_wood", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L105", + "weight": 1.0, + "source": "tests_physics_materials_grass_is_solid", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L145", + "weight": 1.0, + "source": "tests_physics_materials_lava_initial_temp_is_high", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_materials_setup", + "target": "tests_physics_materials_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L68", + "weight": 1.0, + "source": "tests_physics_materials_smoke_dissipates_over_time", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L53", + "weight": 1.0, + "source": "tests_physics_materials_smoke_rises", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L77", + "weight": 1.0, + "source": "tests_physics_materials_steam_condenses_to_water", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L94", + "weight": 1.0, + "source": "tests_physics_materials_steam_rises", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L121", + "weight": 1.0, + "source": "tests_physics_materials_stone_is_static", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L153", + "weight": 1.0, + "source": "tests_physics_materials_water_initial_temp_is_room", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_materials.rs", + "source_location": "L129", + "weight": 1.0, + "source": "tests_physics_materials_wood_is_static", + "target": "tests_physics_materials_setup", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_sand", + "target": "tests_physics_sand_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L22", + "weight": 1.0, + "source": "tests_physics_sand", + "target": "tests_physics_sand_sand_displaces_water", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L44", + "weight": 1.0, + "source": "tests_physics_sand", + "target": "tests_physics_sand_sand_does_not_fall_through_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_sand", + "target": "tests_physics_sand_sand_falls_down", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L33", + "weight": 1.0, + "source": "tests_physics_sand", + "target": "tests_physics_sand_sand_piles_on_stone", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_sand", + "target": "tests_physics_sand_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L23", + "weight": 1.0, + "source": "tests_physics_sand_sand_displaces_water", + "target": "tests_physics_sand_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L45", + "weight": 1.0, + "source": "tests_physics_sand_sand_does_not_fall_through_stone", + "target": "tests_physics_sand_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_sand_sand_falls_down", + "target": "tests_physics_sand_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L34", + "weight": 1.0, + "source": "tests_physics_sand_sand_piles_on_stone", + "target": "tests_physics_sand_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_sand.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_sand_setup_empty", + "target": "tests_physics_sand_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_physics_water", + "target": "tests_physics_water_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_physics_water", + "target": "tests_physics_water_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L35", + "weight": 1.0, + "source": "tests_physics_water", + "target": "tests_physics_water_water_does_not_pass_through_stone_wall", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L12", + "weight": 1.0, + "source": "tests_physics_water", + "target": "tests_physics_water_water_flows_down", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L24", + "weight": 1.0, + "source": "tests_physics_water", + "target": "tests_physics_water_water_spreads_sideways", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_physics_water_setup_empty", + "target": "tests_physics_water_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L36", + "weight": 1.0, + "source": "tests_physics_water_water_does_not_pass_through_stone_wall", + "target": "tests_physics_water_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_physics_water_water_flows_down", + "target": "tests_physics_water_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/physics_water.rs", + "source_location": "L25", + "weight": 1.0, + "source": "tests_physics_water_water_spreads_sideways", + "target": "tests_physics_water_setup_empty", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L120", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_continuous_movement_does_not_fall_through_floor", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L51", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_jump_goes_up_then_falls_back", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L66", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_jump_while_airborne_does_nothing", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_move_left_changes_x_position", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L37", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_move_left_then_right_cancels", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L25", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_move_right_changes_x_position", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L152", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_player_health_stays_full_without_damage", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L142", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_player_not_on_ground_while_jumping", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L135", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_player_on_ground_check", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L160", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_player_survives_long_idle", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L84", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_rapid_move_right_accumulates_velocity", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_player_controls", + "target": "tests_player_controls_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L107", + "weight": 1.0, + "source": "tests_player_controls", + "target": "tests_player_controls_wait_does_not_move", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L121", + "weight": 1.0, + "source": "tests_player_controls_continuous_movement_does_not_fall_through_floor", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L52", + "weight": 1.0, + "source": "tests_player_controls_jump_goes_up_then_falls_back", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L67", + "weight": 1.0, + "source": "tests_player_controls_jump_while_airborne_does_nothing", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L14", + "weight": 1.0, + "source": "tests_player_controls_move_left_changes_x_position", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L38", + "weight": 1.0, + "source": "tests_player_controls_move_left_then_right_cancels", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L26", + "weight": 1.0, + "source": "tests_player_controls_move_right_changes_x_position", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L153", + "weight": 1.0, + "source": "tests_player_controls_player_health_stays_full_without_damage", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L143", + "weight": 1.0, + "source": "tests_player_controls_player_not_on_ground_while_jumping", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L136", + "weight": 1.0, + "source": "tests_player_controls_player_on_ground_check", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L161", + "weight": 1.0, + "source": "tests_player_controls_player_survives_long_idle", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L85", + "weight": 1.0, + "source": "tests_player_controls_rapid_move_right_accumulates_velocity", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_player_controls_setup", + "target": "tests_player_controls_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/player_controls.rs", + "source_location": "L108", + "weight": 1.0, + "source": "tests_player_controls_wait_does_not_move", + "target": "tests_player_controls_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L110", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_corpse_exists_in_world", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L74", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_damage_reduces_health_progressively", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L13", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L63", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_player_death_becomes_corpse", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L48", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L30", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_ragdoll_falls_after_death", + "confidence_score": 1.0 + }, + { + "relation": "imports_from", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L1", + "weight": 1.0, + "context": "import", + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L4", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L91", + "weight": 1.0, + "source": "tests_ragdoll_death", + "target": "tests_ragdoll_death_small_damage_does_not_kill", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L111", + "weight": 1.0, + "source": "tests_ragdoll_death_corpse_exists_in_world", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L75", + "weight": 1.0, + "source": "tests_ragdoll_death_damage_reduces_health_progressively", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L14", + "weight": 1.0, + "source": "tests_ragdoll_death_death_transitions_rigid_to_ragdoll", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L64", + "weight": 1.0, + "source": "tests_ragdoll_death_player_death_becomes_corpse", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L49", + "weight": 1.0, + "source": "tests_ragdoll_death_ragdoll_bodies_stay_near_each_other", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L31", + "weight": 1.0, + "source": "tests_ragdoll_death_ragdoll_falls_after_death", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L4", + "weight": 1.0, + "context": "return_type", + "source": "tests_ragdoll_death_setup", + "target": "tests_ragdoll_death_rs_gamesession", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "tests/ragdoll_death.rs", + "source_location": "L92", + "weight": 1.0, + "source": "tests_ragdoll_death_small_damage_does_not_kill", + "target": "tests_ragdoll_death_setup", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 76", + "weight": 1.0, + "source": "agents_agents", + "target": "plan_plan" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 23", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_adaptive_viewport" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 18", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 16", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_ascii_renderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 22", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_cross_platform" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 357", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_determinism" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 36", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_fixed_timestep" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 17", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_graphics_renderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 12", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_materials" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 24", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_per_cell_color" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 77", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase15_ui" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 58", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase1_combat" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 140", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase2_world" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 159", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase3_rpg" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 184", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase4_render" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 250", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase5_content" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 264", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase6_physics" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 291", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase7_ai" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 315", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_phase8_web" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 14", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_ragdoll_corpses" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 20", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_replay_system" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 13", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_rigid_entities" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 15", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_terminal_renderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 19", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_test_framework" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 1", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_verbatim_project" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 21", + "weight": 1.0, + "source": "plan_plan", + "target": "plan_world_generation" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "headless_dump.txt", + "source_location": "line 184", + "weight": 1.0, + "source": "headless_dump_headless_dump", + "target": "headless_dump_goblin" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "headless_dump.txt", + "source_location": "line 7", + "weight": 1.0, + "source": "headless_dump_headless_dump", + "target": "headless_dump_grid_render" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "headless_dump.txt", + "source_location": "line 33", + "weight": 1.0, + "source": "headless_dump_headless_dump", + "target": "headless_dump_player" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 42", + "weight": 1.0, + "source": "agents_grid", + "target": "agents_cell" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 42", + "weight": 1.0, + "source": "agents_grid", + "target": "plan_verbatim_project" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_ascii", + "target": "agents_grid" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_graphics", + "target": "agents_grid" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_terminal", + "target": "agents_grid" + }, + { + "relation": "rationale_for", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 360", + "weight": 1.0, + "source": "plan_uilayer", + "target": "agents_grid" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 59", + "weight": 1.0, + "source": "agents_cell", + "target": "agents_materialregistry" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 55", + "weight": 1.0, + "source": "agents_inline_color", + "target": "agents_cell" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 55", + "weight": 1.0, + "source": "agents_inline_color", + "target": "agents_materialregistry" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "AGENTS.md", + "source_location": "line 69", + "weight": 1.0, + "source": "agents_cellularautomaton", + "target": "plan_materials" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_game_fixed_update", + "target": "agents_cellularautomaton" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_ascii", + "target": "agents_entitymanager" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_graphics", + "target": "agents_entitymanager" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_terminal", + "target": "agents_entitymanager" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 48", + "weight": 1.0, + "source": "agents_gpurenderer", + "target": "agents_graphicsrenderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 48", + "weight": 1.0, + "source": "agents_gpurenderer", + "target": "agents_vulkanrenderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 48", + "weight": 1.0, + "source": "agents_run_gpu_mode", + "target": "agents_gpurenderer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 58", + "weight": 1.0, + "source": "agents_vulkanrenderer", + "target": "agents_check_resize" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 58", + "weight": 1.0, + "source": "agents_graphicsrenderer", + "target": "agents_check_resize" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_run_gpu_mode", + "target": "agents_windowinput" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_game_fixed_update", + "target": "agents_ragdoll_entity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_game_fixed_update", + "target": "agents_rigid_entity" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_game_fixed_update", + "target": "plan_fixed_timestep" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 50", + "weight": 1.0, + "source": "agents_game_run", + "target": "agents_inputhandler" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 73", + "weight": 1.0, + "source": "agents_gamesession", + "target": "agents_aiaction" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 73", + "weight": 1.0, + "source": "agents_gamesession", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "AGENTS.md", + "source_location": "line 73", + "weight": 1.0, + "source": "agents_gamesession", + "target": "plan_replay_system" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "AGENTS.md", + "source_location": "line 25", + "weight": 1.0, + "source": "agents_gamesession", + "target": "plan_test_framework" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 56", + "weight": 1.0, + "source": "agents_player", + "target": "agents_vector_movement" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 71", + "weight": 1.0, + "source": "agents_player", + "target": "headless_dump_player" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 44", + "weight": 1.0, + "source": "agents_ragdoll_entity", + "target": "agents_verletsolver" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 70", + "weight": 1.0, + "source": "agents_verletsolver", + "target": "agents_constraint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 70", + "weight": 1.0, + "source": "agents_verletsolver", + "target": "agents_subbody" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "AGENTS.md", + "source_location": "line 70", + "weight": 1.0, + "source": "agents_verletsolver", + "target": "plan_ragdoll_corpses" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 44", + "weight": 1.0, + "source": "agents_rigid_entity", + "target": "plan_rigid_entities" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 44", + "weight": 1.0, + "source": "agents_ragdoll_entity", + "target": "plan_ragdoll_corpses" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "AGENTS.md", + "source_location": "line 44", + "weight": 1.0, + "source": "agents_cellular_entity", + "target": "plan_materials" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_terminal", + "target": "plan_terminal_renderer" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "headless_dump.txt", + "source_location": "line 7", + "weight": 1.0, + "source": "headless_dump_grid_render", + "target": "agents_render_terminal" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_ascii", + "target": "plan_ascii_renderer" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 46", + "weight": 1.0, + "source": "agents_render_graphics", + "target": "plan_graphics_renderer" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 10", + "weight": 1.0, + "source": "agents_render_pipe", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 58", + "weight": 1.0, + "source": "agents_check_resize", + "target": "plan_adaptive_viewport" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "AGENTS.md", + "source_location": "line 57", + "weight": 1.0, + "source": "agents_update_rigid_entity", + "target": "agents_slope_stepping" + }, + { + "relation": "semantically_similar_to", + "confidence": "INFERRED", + "confidence_score": 0.95, + "source_file": "AGENTS.md", + "source_location": "line 55", + "weight": 1.0, + "source": "agents_inline_color", + "target": "plan_per_cell_color" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.75, + "source_file": "headless_dump.txt", + "source_location": "line 184", + "weight": 1.0, + "source": "headless_dump_goblin", + "target": "plan_phase1_combat" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 81", + "weight": 1.0, + "source": "plan_phase15_ui", + "target": "plan_uilayer" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 144", + "weight": 1.0, + "source": "plan_phase2_world", + "target": "plan_chunk_system" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 167", + "weight": 1.0, + "source": "plan_phase3_rpg", + "target": "plan_rpg_mutations" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 223", + "weight": 1.0, + "source": "plan_phase4_render", + "target": "plan_phase4b_graphics" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 280", + "weight": 1.0, + "source": "plan_phase6_physics", + "target": "plan_multilayer_world" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 296", + "weight": 1.0, + "source": "plan_phase7_ai", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 295", + "weight": 1.0, + "source": "plan_phase7_ai", + "target": "plan_llm_agent" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 299", + "weight": 1.0, + "source": "plan_phase7_ai", + "target": "plan_rl_agent" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 325", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_phase7_ai" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 334", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.75, + "source_file": "PLAN.md", + "source_location": "line 337", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_test_framework" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 320", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_wasm_render" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 317", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_web_arena" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 319", + "weight": 1.0, + "source": "plan_phase8_web", + "target": "plan_websocket_server" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 123", + "weight": 1.0, + "source": "plan_uilayer", + "target": "plan_ai_pipe_protocol" + }, + { + "relation": "rationale_for", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 357", + "weight": 1.0, + "source": "plan_determinism", + "target": "plan_replay_system" + }, + { + "relation": "rationale_for", + "confidence": "EXTRACTED", + "confidence_score": 1.0, + "source_file": "PLAN.md", + "source_location": "line 355", + "weight": 1.0, + "source": "plan_fixed_timestep", + "target": "plan_replay_system" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.75, + "source_file": "PLAN.md", + "source_location": "line 324", + "weight": 1.0, + "source": "plan_web_arena", + "target": "plan_replay_system" + }, + { + "relation": "conceptually_related_to", + "confidence": "INFERRED", + "confidence_score": 0.85, + "source_file": "headless_dump.txt", + "source_location": "line 184", + "weight": 1.0, + "source": "headless_dump_player", + "target": "headless_dump_goblin" + } + ], + "hyperedges": [ + { + "id": "he_game_loop_pipeline", + "label": "Game loop fixed_update pipeline: CA step \u2192 rigid update \u2192 ragdoll update \u2192 damage", + "node_ids": [ + "agents_game_fixed_update", + "agents_cellularautomaton", + "agents_rigid_entity", + "agents_ragdoll_entity" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 50" + }, + { + "id": "he_triple_render_shared_state", + "label": "Three render modes read the same Grid + EntityManager (single source of truth)", + "node_ids": [ + "agents_render_terminal", + "agents_render_ascii", + "agents_render_graphics", + "agents_grid", + "agents_entitymanager" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 46" + }, + { + "id": "he_gpu_renderer_unification", + "label": "GpuRenderer trait unifies VulkanRenderer + GraphicsRenderer behind run_gpu_mode() with identical event loops", + "node_ids": [ + "agents_gpurenderer", + "agents_vulkanrenderer", + "agents_graphicsrenderer", + "agents_run_gpu_mode" + ], + "source_file": "/home/emil/Desktop/Verbatim/AGENTS.md", + "source_location": "line 48" + } + ], + "built_at_commit": "8b055ac37fa0d12c2df29c11986f983762d74b48" +} \ No newline at end of file diff --git a/graphify-out/manifest.json b/graphify-out/manifest.json new file mode 100644 index 0000000..4344f4f --- /dev/null +++ b/graphify-out/manifest.json @@ -0,0 +1,292 @@ +{ + "/home/emil/Desktop/Verbatim/scenarios/acid_dissolves_wood.json": { + "mtime": 1781970764.6442819, + "ast_hash": "8d56cc1848be6548decbe1e329491b4e", + "semantic_hash": "8d56cc1848be6548decbe1e329491b4e" + }, + "/home/emil/Desktop/Verbatim/scenarios/acid_eats_through_wall.json": { + "mtime": 1781984503.8460147, + "ast_hash": "2beb1ff35d7487a83fab52c75904d73e", + "semantic_hash": "2beb1ff35d7487a83fab52c75904d73e" + }, + "/home/emil/Desktop/Verbatim/scenarios/entity_burns_in_lava.json": { + "mtime": 1781970726.5528774, + "ast_hash": "75f62c9cf20a5c144f6f389d7b1d5f5a", + "semantic_hash": "75f62c9cf20a5c144f6f389d7b1d5f5a" + }, + "/home/emil/Desktop/Verbatim/scenarios/entity_survives_fall.json": { + "mtime": 1781983490.8671792, + "ast_hash": "4cc7a6f511896c0c5a1ab614d899fa2d", + "semantic_hash": "4cc7a6f511896c0c5a1ab614d899fa2d" + }, + "/home/emil/Desktop/Verbatim/scenarios/fire_chain_wood.json": { + "mtime": 1781983468.9059443, + "ast_hash": "14b91384dff483d49dddc9d99b5041a4", + "semantic_hash": "14b91384dff483d49dddc9d99b5041a4" + }, + "/home/emil/Desktop/Verbatim/scenarios/fire_spreads_through_grass.json": { + "mtime": 1781970725.561867, + "ast_hash": "a6f1b65d9a660266fd81ab4c0570fa15", + "semantic_hash": "a6f1b65d9a660266fd81ab4c0570fa15" + }, + "/home/emil/Desktop/Verbatim/scenarios/lava_ignites_wood.json": { + "mtime": 1781970722.357833, + "ast_hash": "3c3975c955f54dc092000d2b8cbab980", + "semantic_hash": "3c3975c955f54dc092000d2b8cbab980" + }, + "/home/emil/Desktop/Verbatim/scenarios/lava_plus_water_makes_steam.json": { + "mtime": 1781984425.8851807, + "ast_hash": "9deb9ec56c2d0f581874aa9d51be1438", + "semantic_hash": "9deb9ec56c2d0f581874aa9d51be1438" + }, + "/home/emil/Desktop/Verbatim/scenarios/lava_pool_interaction.json": { + "mtime": 1781984476.6377237, + "ast_hash": "cab0da83d6903a07ae1054e710f9d108", + "semantic_hash": "cab0da83d6903a07ae1054e710f9d108" + }, + "/home/emil/Desktop/Verbatim/scenarios/player_falls_and_lands.json": { + "mtime": 1781970725.561867, + "ast_hash": "c4264a79dea6301828ba05a892ea513e", + "semantic_hash": "c4264a79dea6301828ba05a892ea513e" + }, + "/home/emil/Desktop/Verbatim/scenarios/sand_buries_wood.json": { + "mtime": 1781983484.682113, + "ast_hash": "1220b84d088ec7a35777416ffcb7ad16", + "semantic_hash": "1220b84d088ec7a35777416ffcb7ad16" + }, + "/home/emil/Desktop/Verbatim/scenarios/sand_falls_down.json": { + "mtime": 1781970712.2597258, + "ast_hash": "30baf2c5ef87bc287a16e99eb6bad98f", + "semantic_hash": "30baf2c5ef87bc287a16e99eb6bad98f" + }, + "/home/emil/Desktop/Verbatim/scenarios/steam_condenses.json": { + "mtime": 1781983498.8702648, + "ast_hash": "e59d6d0f5c9688bc0fcf88b63882d7f0", + "semantic_hash": "e59d6d0f5c9688bc0fcf88b63882d7f0" + }, + "/home/emil/Desktop/Verbatim/scenarios/water_flows_sideways.json": { + "mtime": 1781970716.227768, + "ast_hash": "2aed38e5196f3331f69f7b2c8272fe9d", + "semantic_hash": "2aed38e5196f3331f69f7b2c8272fe9d" + }, + "/home/emil/Desktop/Verbatim/src/ai/action.rs": { + "mtime": 1781982011.0213413, + "ast_hash": "c514af97d56e023db3e14776cebd742b", + "semantic_hash": "c514af97d56e023db3e14776cebd742b" + }, + "/home/emil/Desktop/Verbatim/src/ai/mod.rs": { + "mtime": 1781970069.3378994, + "ast_hash": "37cfd173334195bb77ce77032e734475", + "semantic_hash": "37cfd173334195bb77ce77032e734475" + }, + "/home/emil/Desktop/Verbatim/src/ai/protocol.rs": { + "mtime": 1781982011.0213413, + "ast_hash": "35c87a0bc8eea05d7973c0646723f26e", + "semantic_hash": "35c87a0bc8eea05d7973c0646723f26e" + }, + "/home/emil/Desktop/Verbatim/src/ai/replay.rs": { + "mtime": 1781994698.517593, + "ast_hash": "bb610684494750685093b6745cbd3c95", + "semantic_hash": "bb610684494750685093b6745cbd3c95" + }, + "/home/emil/Desktop/Verbatim/src/ai/scenario.rs": { + "mtime": 1781982011.0213413, + "ast_hash": "1ed4faf1ab6157642642e77372821df2", + "semantic_hash": "1ed4faf1ab6157642642e77372821df2" + }, + "/home/emil/Desktop/Verbatim/src/ai/session.rs": { + "mtime": 1781994682.1954203, + "ast_hash": "299982f384ea4ee845e16462aa5c55ce", + "semantic_hash": "299982f384ea4ee845e16462aa5c55ce" + }, + "/home/emil/Desktop/Verbatim/src/ai/state.rs": { + "mtime": 1781994883.4095483, + "ast_hash": "5b25a5fffc6be4182745780e04e40614", + "semantic_hash": "5b25a5fffc6be4182745780e04e40614" + }, + "/home/emil/Desktop/Verbatim/src/entity/entity.rs": { + "mtime": 1781994535.1578653, + "ast_hash": "dc597c2796cd69c6703d50be701ce9f0", + "semantic_hash": "dc597c2796cd69c6703d50be701ce9f0" + }, + "/home/emil/Desktop/Verbatim/src/entity/mod.rs": { + "mtime": 1781994733.5389633, + "ast_hash": "d720a8686f72b3f739a71acb1db16f18", + "semantic_hash": "d720a8686f72b3f739a71acb1db16f18" + }, + "/home/emil/Desktop/Verbatim/src/entity/player.rs": { + "mtime": 1781994571.4262488, + "ast_hash": "ddfd3ca0846c649df864ae44ff1dc64c", + "semantic_hash": "ddfd3ca0846c649df864ae44ff1dc64c" + }, + "/home/emil/Desktop/Verbatim/src/game.rs": { + "mtime": 1781994816.6048417, + "ast_hash": "7148e19d75808d22d6581639a8d5c311", + "semantic_hash": "7148e19d75808d22d6581639a8d5c311" + }, + "/home/emil/Desktop/Verbatim/src/input.rs": { + "mtime": 1781994775.8534107, + "ast_hash": "70ec1ff16bf13b3649f27bea9a3891c8", + "semantic_hash": "70ec1ff16bf13b3649f27bea9a3891c8" + }, + "/home/emil/Desktop/Verbatim/src/lib.rs": { + "mtime": 1781970270.862039, + "ast_hash": "abe33261862db85f4f4007a98efe1720", + "semantic_hash": "abe33261862db85f4f4007a98efe1720" + }, + "/home/emil/Desktop/Verbatim/src/main.rs": { + "mtime": 1781994426.1417122, + "ast_hash": "f8186418f5cfccdc11af1976c10d994f", + "semantic_hash": "f8186418f5cfccdc11af1976c10d994f" + }, + "/home/emil/Desktop/Verbatim/src/physics/collision.rs": { + "mtime": 1781969161.8692644, + "ast_hash": "bb0015e3335e47d8b25f3fa0a25a9afa", + "semantic_hash": "bb0015e3335e47d8b25f3fa0a25a9afa" + }, + "/home/emil/Desktop/Verbatim/src/physics/mod.rs": { + "mtime": 1781994728.4279091, + "ast_hash": "b6cfc7b3d47ddf5dfe4b55385b1aeb0e", + "semantic_hash": "b6cfc7b3d47ddf5dfe4b55385b1aeb0e" + }, + "/home/emil/Desktop/Verbatim/src/physics/verlet.rs": { + "mtime": 1781994612.3436816, + "ast_hash": "cdb55409206655f6826201b3a25d859f", + "semantic_hash": "cdb55409206655f6826201b3a25d859f" + }, + "/home/emil/Desktop/Verbatim/src/render/graphics.rs": { + "mtime": 1781994837.8480663, + "ast_hash": "c0f8cc8af597d07af099e307622b4f2b", + "semantic_hash": "c0f8cc8af597d07af099e307622b4f2b" + }, + "/home/emil/Desktop/Verbatim/src/render/mod.rs": { + "mtime": 1781992655.9960363, + "ast_hash": "1390b4f260548f51898abeaefa44c0d7", + "semantic_hash": "1390b4f260548f51898abeaefa44c0d7" + }, + "/home/emil/Desktop/Verbatim/src/render/terminal.rs": { + "mtime": 1781994877.423485, + "ast_hash": "e9eb6b706e04619794e5567b7ae71425", + "semantic_hash": "e9eb6b706e04619794e5567b7ae71425" + }, + "/home/emil/Desktop/Verbatim/src/render/vulkan.rs": { + "mtime": 1781994804.0007086, + "ast_hash": "d94730a5b91d78bb5271b7d18123fb5f", + "semantic_hash": "d94730a5b91d78bb5271b7d18123fb5f" + }, + "/home/emil/Desktop/Verbatim/src/render/window_input.rs": { + "mtime": 1781994633.7179077, + "ast_hash": "e8d2a0128959ce134a3e440e7fdef8cf", + "semantic_hash": "e8d2a0128959ce134a3e440e7fdef8cf" + }, + "/home/emil/Desktop/Verbatim/src/world/cell.rs": { + "mtime": 1781994439.0328486, + "ast_hash": "65f721a9878492ed06b059d605630c88", + "semantic_hash": "65f721a9878492ed06b059d605630c88" + }, + "/home/emil/Desktop/Verbatim/src/world/cellular.rs": { + "mtime": 1781994620.518768, + "ast_hash": "4299c4f6dffd685c4cff62d6da00962f", + "semantic_hash": "4299c4f6dffd685c4cff62d6da00962f" + }, + "/home/emil/Desktop/Verbatim/src/world/grid.rs": { + "mtime": 1781994901.0097344, + "ast_hash": "7e28468cb7d0e44dd95c663c45b523b3", + "semantic_hash": "7e28468cb7d0e44dd95c663c45b523b3" + }, + "/home/emil/Desktop/Verbatim/src/world/material.rs": { + "mtime": 1781994717.9467983, + "ast_hash": "7f70daf6658c7240dc576ca875dbdad0", + "semantic_hash": "7f70daf6658c7240dc576ca875dbdad0" + }, + "/home/emil/Desktop/Verbatim/src/world/mod.rs": { + "mtime": 1781994722.7638493, + "ast_hash": "72a8eea3bfe44a1ff11a4c69709d414e", + "semantic_hash": "72a8eea3bfe44a1ff11a4c69709d414e" + }, + "/home/emil/Desktop/Verbatim/tests/collision_robust.rs": { + "mtime": 1781984005.8506877, + "ast_hash": "aa42931beb7fc8c329f8ac1041a3c6dd", + "semantic_hash": "aa42931beb7fc8c329f8ac1041a3c6dd" + }, + "/home/emil/Desktop/Verbatim/tests/determinism.rs": { + "mtime": 1781983582.462159, + "ast_hash": "22197294f9d488ea47da4c528d2748f5", + "semantic_hash": "22197294f9d488ea47da4c528d2748f5" + }, + "/home/emil/Desktop/Verbatim/tests/edge_cases.rs": { + "mtime": 1781994760.8232517, + "ast_hash": "161c3c3c243335166e3bbb568b2c74a4", + "semantic_hash": "161c3c3c243335166e3bbb568b2c74a4" + }, + "/home/emil/Desktop/Verbatim/tests/entity_damage.rs": { + "mtime": 1781980721.7435043, + "ast_hash": "2deee58dcc1b6b44e8d25a48c0fc5897", + "semantic_hash": "2deee58dcc1b6b44e8d25a48c0fc5897" + }, + "/home/emil/Desktop/Verbatim/tests/entity_movement.rs": { + "mtime": 1781981346.368212, + "ast_hash": "049056e445056bf6c4b0e2a70c187fb1", + "semantic_hash": "049056e445056bf6c4b0e2a70c187fb1" + }, + "/home/emil/Desktop/Verbatim/tests/integration.rs": { + "mtime": 1781983295.271087, + "ast_hash": "8db0aae4fbd95fb1effd18bb8560f953", + "semantic_hash": "8db0aae4fbd95fb1effd18bb8560f953" + }, + "/home/emil/Desktop/Verbatim/tests/physics_acid.rs": { + "mtime": 1781970221.685517, + "ast_hash": "e6034490a9607deeadce03505cadf731", + "semantic_hash": "e6034490a9607deeadce03505cadf731" + }, + "/home/emil/Desktop/Verbatim/tests/physics_interactions.rs": { + "mtime": 1781983882.030363, + "ast_hash": "38b73ebc6c62cfefb20506db6dd1072d", + "semantic_hash": "38b73ebc6c62cfefb20506db6dd1072d" + }, + "/home/emil/Desktop/Verbatim/tests/physics_lava.rs": { + "mtime": 1781980754.4328554, + "ast_hash": "c31c44a9f63bf8b6f1df51737f1a2de9", + "semantic_hash": "c31c44a9f63bf8b6f1df51737f1a2de9" + }, + "/home/emil/Desktop/Verbatim/tests/physics_materials.rs": { + "mtime": 1781983693.2113435, + "ast_hash": "ef6d9d77564f4c02745639ec5807d7db", + "semantic_hash": "ef6d9d77564f4c02745639ec5807d7db" + }, + "/home/emil/Desktop/Verbatim/tests/physics_sand.rs": { + "mtime": 1781983289.756028, + "ast_hash": "4b799fe61ebaa00d14c570d9284a37ec", + "semantic_hash": "4b799fe61ebaa00d14c570d9284a37ec" + }, + "/home/emil/Desktop/Verbatim/tests/physics_water.rs": { + "mtime": 1781970629.040842, + "ast_hash": "a7141937d2e90d6cc16a6afef026bb1e", + "semantic_hash": "a7141937d2e90d6cc16a6afef026bb1e" + }, + "/home/emil/Desktop/Verbatim/tests/player_controls.rs": { + "mtime": 1781984330.918165, + "ast_hash": "da75dda146361ea0e23ebd11f554fdba", + "semantic_hash": "da75dda146361ea0e23ebd11f554fdba" + }, + "/home/emil/Desktop/Verbatim/tests/ragdoll_death.rs": { + "mtime": 1781994739.1590228, + "ast_hash": "c4dfb537ecc663fbb2444de321e05385", + "semantic_hash": "c4dfb537ecc663fbb2444de321e05385" + }, + "/home/emil/Desktop/Verbatim/AGENTS.md": { + "mtime": 1781995334.9053233, + "ast_hash": "c301fc82f1fa9473c0354454b9b5ad55", + "semantic_hash": "c301fc82f1fa9473c0354454b9b5ad55" + }, + "/home/emil/Desktop/Verbatim/PLAN.md": { + "mtime": 1781995156.2924342, + "ast_hash": "cb55659d25cbbb523394cc0c383bff5a", + "semantic_hash": "cb55659d25cbbb523394cc0c383bff5a" + }, + "/home/emil/Desktop/Verbatim/headless_dump.txt": { + "mtime": 1781989911.9880815, + "ast_hash": "1ab2647a155a1eed5d05b7292a29b63e", + "semantic_hash": "1ab2647a155a1eed5d05b7292a29b63e" + } +} \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 53fbf49..daff744 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,18 +1,21 @@ use clap::Parser; +use std::io::Write; +use std::sync::Arc; +use std::time::{Duration, Instant}; +use verbatim::ai; use verbatim::game::Game; use verbatim::render::terminal::TerminalRenderer; use verbatim::render::window_input::WindowInput; use verbatim::world::cell::MaterialId; -use verbatim::ai; -use std::io::Write; -use std::sync::Arc; use winit::event::{Event, WindowEvent}; -use winit::event_loop::{EventLoop, ControlFlow}; +use winit::event_loop::{ControlFlow, EventLoop}; use winit::window::Window; -use std::time::{Duration, Instant}; #[derive(Parser, Debug)] -#[command(name = "verbatim", about = "ASCII physics RPG - Noita meets Caves of Qud")] +#[command( + name = "verbatim", + about = "ASCII physics RPG - Noita meets Caves of Qud" +)] struct Cli { #[arg(long, default_value = "ascii")] mode: String, @@ -31,8 +34,16 @@ struct Cli { } trait GpuRenderer { - fn new(window: Arc) -> Result where Self: Sized; - fn render(&mut self, grid: &verbatim::world::grid::Grid, entities: &verbatim::entity::EntityManager, cam_x: i32, cam_y: i32); + fn new(window: Arc) -> Result + where + Self: Sized; + fn render( + &mut self, + grid: &verbatim::world::grid::Grid, + entities: &verbatim::entity::EntityManager, + cam_x: i32, + cam_y: i32, + ); fn grid_w(&self) -> usize; fn grid_h(&self) -> usize; } @@ -41,22 +52,42 @@ impl GpuRenderer for verbatim::render::vulkan::VulkanRenderer { fn new(window: Arc) -> Result { verbatim::render::vulkan::VulkanRenderer::new(window) } - fn render(&mut self, grid: &verbatim::world::grid::Grid, entities: &verbatim::entity::EntityManager, cam_x: i32, cam_y: i32) { + fn render( + &mut self, + grid: &verbatim::world::grid::Grid, + entities: &verbatim::entity::EntityManager, + cam_x: i32, + cam_y: i32, + ) { verbatim::render::vulkan::VulkanRenderer::render(self, grid, entities, cam_x, cam_y) } - fn grid_w(&self) -> usize { verbatim::render::vulkan::VulkanRenderer::grid_w(self) } - fn grid_h(&self) -> usize { verbatim::render::vulkan::VulkanRenderer::grid_h(self) } + fn grid_w(&self) -> usize { + verbatim::render::vulkan::VulkanRenderer::grid_w(self) + } + fn grid_h(&self) -> usize { + verbatim::render::vulkan::VulkanRenderer::grid_h(self) + } } impl GpuRenderer for verbatim::render::graphics::GraphicsRenderer { fn new(window: Arc) -> Result { verbatim::render::graphics::GraphicsRenderer::new(window) } - fn render(&mut self, grid: &verbatim::world::grid::Grid, entities: &verbatim::entity::EntityManager, cam_x: i32, cam_y: i32) { + fn render( + &mut self, + grid: &verbatim::world::grid::Grid, + entities: &verbatim::entity::EntityManager, + cam_x: i32, + cam_y: i32, + ) { verbatim::render::graphics::GraphicsRenderer::render(self, grid, entities, cam_x, cam_y) } - fn grid_w(&self) -> usize { verbatim::render::graphics::GraphicsRenderer::grid_w(self) } - fn grid_h(&self) -> usize { verbatim::render::graphics::GraphicsRenderer::grid_h(self) } + fn grid_w(&self) -> usize { + verbatim::render::graphics::GraphicsRenderer::grid_w(self) + } + fn grid_h(&self) -> usize { + verbatim::render::graphics::GraphicsRenderer::grid_h(self) + } } fn main() { @@ -103,7 +134,10 @@ fn main() { } } _ => { - eprintln!("Unknown mode: {}. Use terminal, ascii, graphics, pipe, test, replay, or headless.", cli.mode); + eprintln!( + "Unknown mode: {}. Use terminal, ascii, graphics, pipe, test, replay, or headless.", + cli.mode + ); std::process::exit(1); } } @@ -111,11 +145,13 @@ fn main() { fn run_gpu_mode(title: &str) { let event_loop = EventLoop::new().expect("Failed to create event loop"); - let window = event_loop.create_window( - Window::default_attributes() - .with_title(title) - .with_inner_size(winit::dpi::LogicalSize::new(160 * 16, 50 * 16)) - ).expect("Failed to create window"); + let window = event_loop + .create_window( + Window::default_attributes() + .with_title(title) + .with_inner_size(winit::dpi::LogicalSize::new(160 * 10, 50 * 10)), + ) + .expect("Failed to create window"); let window = Arc::new(window); let mut renderer = match R::new(Arc::clone(&window)) { @@ -140,109 +176,123 @@ fn run_gpu_mode(title: &str) { let mut accumulator = Duration::ZERO; let mut running = true; - event_loop.run(|event, ctrl| { - ctrl.set_control_flow(ControlFlow::Poll); + event_loop + .run(|event, ctrl| { + ctrl.set_control_flow(ControlFlow::Poll); - match event { - Event::WindowEvent { event, .. } => { - match event { + match event { + Event::WindowEvent { event, .. } => match event { WindowEvent::CloseRequested => { running = false; ctrl.exit(); } - WindowEvent::KeyboardInput { event: key_event, .. } => { + WindowEvent::KeyboardInput { + event: key_event, .. + } => { input.on_key_event(key_event.physical_key, key_event.state); } _ => {} - } - } - Event::AboutToWait => { - if !running { - ctrl.exit(); - return; - } + }, + Event::AboutToWait => { + if !running { + ctrl.exit(); + return; + } - let vw = renderer.grid_w(); - let vh = renderer.grid_h(); + let vw = renderer.grid_w(); + let vh = renderer.grid_h(); - let now = Instant::now(); - let frame_time = now.duration_since(last_time); - last_time = now; - accumulator += frame_time; + let now = Instant::now(); + let frame_time = now.duration_since(last_time); + last_time = now; + accumulator += frame_time; - let mut steps = 0; - while accumulator >= fixed_dt && steps < 5 { - game.fixed_update(); - accumulator -= fixed_dt; - steps += 1; - } + let mut steps = 0; + while accumulator >= fixed_dt && steps < 5 { + game.fixed_update(); + accumulator -= fixed_dt; + steps += 1; + } - input.update(); + input.update(); - if input.quit { - running = false; - ctrl.exit(); - return; - } + if input.quit { + running = false; + ctrl.exit(); + return; + } - if input.jump { - let on_ground = game.check_on_ground(); - game.player.jump(&mut game.entities, on_ground); - } + if input.jump { + let on_ground = game.check_on_ground(); + game.player.jump(&mut game.entities, on_ground); + } - if input.left { - game.player.move_left(&mut game.entities); - } else if input.right { - game.player.move_right(&mut game.entities); - } else { - game.player.stop_horizontal(&mut game.entities); - } + if input.left { + game.player.move_left(&mut game.entities); + } else if input.right { + game.player.move_right(&mut game.entities); + } else { + game.player.stop_horizontal(&mut game.entities); + } - if input.cam_left { game.cam_x -= 3; } - if input.cam_right { game.cam_x += 3; } - if input.cam_up { game.cam_y -= 3; } - if input.cam_down { game.cam_y += 3; } + if input.cam_left { + game.cam_x -= 3; + } + if input.cam_right { + game.cam_x += 3; + } + if input.cam_up { + game.cam_y -= 3; + } + if input.cam_down { + game.cam_y += 3; + } - if let Some(brush_id) = input.paint { - let mat = match brush_id { - 1 => MaterialId::Sand, - 2 => MaterialId::Water, - 3 => MaterialId::Stone, - 4 => MaterialId::Lava, - 5 => MaterialId::Wood, - 6 => MaterialId::Acid, - 7 => MaterialId::Grass, - 8 => MaterialId::Dirt, - 9 => MaterialId::Fire, - 0 => MaterialId::Flesh, - 99 => MaterialId::Empty, - _ => MaterialId::Empty, - }; - let cx = game.cam_x + (vw as i32 / 2); - let cy = game.cam_y + (vh as i32 / 2); - let r = 2; - for dy in -r..=r { - for dx in -r..=r { - if dx * dx + dy * dy <= r * r + 1 { - if mat == MaterialId::Empty { - game.grid.set(cx + dx, cy + dy, verbatim::world::cell::Cell::empty()); - } else { - game.grid.set_material(cx + dx, cy + dy, mat); + if let Some(brush_id) = input.paint { + let mat = match brush_id { + 1 => MaterialId::Sand, + 2 => MaterialId::Water, + 3 => MaterialId::Stone, + 4 => MaterialId::Lava, + 5 => MaterialId::Wood, + 6 => MaterialId::Acid, + 7 => MaterialId::Grass, + 8 => MaterialId::Dirt, + 9 => MaterialId::Fire, + 0 => MaterialId::Flesh, + 99 => MaterialId::Empty, + _ => MaterialId::Empty, + }; + let cx = game.cam_x + (vw as i32 / 2); + let cy = game.cam_y + (vh as i32 / 2); + let r = 2; + for dy in -r..=r { + for dx in -r..=r { + if dx * dx + dy * dy <= r * r + 1 { + if mat == MaterialId::Empty { + game.grid.set( + cx + dx, + cy + dy, + verbatim::world::cell::Cell::empty(), + ); + } else { + game.grid.set_material(cx + dx, cy + dy, mat); + } } } } } + + let (px, py) = game.player.center(&game.entities); + game.cam_x = px as i32 - (vw as i32 / 2); + game.cam_y = py as i32 - (vh as i32 / 2); + + renderer.render(&game.grid, &game.entities, game.cam_x, game.cam_y); } - - let (px, py) = game.player.center(&game.entities); - game.cam_x = px as i32 - (vw as i32 / 2); - game.cam_y = py as i32 - (vh as i32 / 2); - - renderer.render(&game.grid, &game.entities, game.cam_x, game.cam_y); + _ => {} } - _ => {} - } - }).expect("event loop error"); + }) + .expect("event loop error"); } fn run_test_mode(cli: &Cli) { @@ -292,8 +342,10 @@ fn run_replay_mode(cli: &Cli) { println!("=== Replay: {} events ===", player.recording().events.len()); println!("Final tick: {}", state.tick); if let Some(ref p) = state.player { - println!("Player: {} hp={:.1}/{:.1} pos=({:.1},{:.1}) alive={}", - p.kind, p.health, p.max_health, p.pos[0], p.pos[1], p.alive); + println!( + "Player: {} hp={:.1}/{:.1} pos=({:.1},{:.1}) alive={}", + p.kind, p.health, p.max_health, p.pos[0], p.pos[1], p.alive + ); } println!("Entities: {}", state.entities.len()); println!("\nFinal view:\n{}", state.view); @@ -314,8 +366,14 @@ fn run_headless(ticks: u32) { let cam_y = py as i32 - 12; let mut log = String::new(); - log.push_str(&format!("=== Verbatim Headless Run: {} ticks ===\n\n", ticks)); - log.push_str(&format!("World: {}x{}\n", game.grid.width, game.grid.height)); + log.push_str(&format!( + "=== Verbatim Headless Run: {} ticks ===\n\n", + ticks + )); + log.push_str(&format!( + "World: {}x{}\n", + game.grid.width, game.grid.height + )); log.push_str(&format!("Player start: ({:.1}, {:.1})\n", px, py)); log.push_str(&format!("Camera: ({}, {})\n\n", cam_x, cam_y)); @@ -339,9 +397,19 @@ fn run_headless(ticks: u32) { log.push_str(&format!("Player: {:?}\n", player_info(&game))); log.push_str(&format!("Entities: {}\n", game.entities.all().len())); - let alive: Vec<_> = game.entities.all().iter() + let alive: Vec<_> = game + .entities + .all() + .iter() .filter(|e| e.alive) - .map(|e| format!("{}(hp={:.0}, pos={:?})", ai::entity_kind_name(e.kind), e.health, e.center())) + .map(|e| { + format!( + "{}(hp={:.0}, pos={:?})", + ai::entity_kind_name(e.kind), + e.health, + e.center() + ) + }) .collect(); log.push_str(&format!("Alive entities: {}\n\n", alive.join(", "))); } @@ -349,16 +417,27 @@ fn run_headless(ticks: u32) { let mut f = std::fs::File::create("headless_dump.txt").expect("Cannot create dump file"); f.write_all(log.as_bytes()).expect("Cannot write dump"); - eprintln!("Headless run complete: {} ticks, dump written to headless_dump.txt", ticks); + eprintln!( + "Headless run complete: {} ticks, dump written to headless_dump.txt", + ticks + ); } -fn dump_view(grid: &verbatim::world::grid::Grid, entities: &verbatim::entity::EntityManager, cam_x: i32, cam_y: i32, vw: usize, vh: usize) -> String { +fn dump_view( + grid: &verbatim::world::grid::Grid, + entities: &verbatim::entity::EntityManager, + cam_x: i32, + cam_y: i32, + vw: usize, + vh: usize, +) -> String { ai::render_view(grid, entities, cam_x, cam_y, vw, vh) .lines() .enumerate() .map(|(i, line)| format!("{:2}{}", (cam_y + i as i32) % 100, line)) .collect::>() - .join("\n") + "\n" + .join("\n") + + "\n" } fn player_info(game: &Game) -> String { @@ -367,7 +446,17 @@ fn player_info(game: &Game) -> String { let body_count = e.bodies.iter().filter(|b| b.alive).count(); let on_fire = e.on_fire; let kind = ai::entity_kind_name(e.kind); - format!("{} hp={:.1}/{:.1} pos=({:.1},{:.1}) bodies={}/{} on_fire={}", kind, e.health, e.max_health, cx, cy, body_count, e.bodies.len(), on_fire) + format!( + "{} hp={:.1}/{:.1} pos=({:.1},{:.1}) bodies={}/{} on_fire={}", + kind, + e.health, + e.max_health, + cx, + cy, + body_count, + e.bodies.len(), + on_fire + ) } else { "None".to_string() } diff --git a/src/render/graphics.rs b/src/render/graphics.rs index 3927a47..6ad6658 100644 --- a/src/render/graphics.rs +++ b/src/render/graphics.rs @@ -2,12 +2,12 @@ use ash::vk; use std::ffi::CString; use std::sync::Arc; -use crate::entity::{EntityManager, EntityKind}; +use crate::entity::{EntityKind, EntityManager}; use crate::world::cell::MaterialId; use crate::world::grid::Grid; -const CHAR_W: u32 = 16; -const CHAR_H: u32 = 16; +const CHAR_W: u32 = 10; +const CHAR_H: u32 = 10; const MAX_FRAMES: usize = 2; #[repr(C)] @@ -69,253 +69,488 @@ pub struct GraphicsRenderer { impl GraphicsRenderer { pub fn new(window: Arc) -> Result { - let grid_w = 160usize; - let grid_h = 50usize; + let grid_w = 160usize; + let grid_h = 50usize; - let entry = unsafe { ash::Entry::load().map_err(|e| format!("Vulkan load: {e}"))? }; + let entry = unsafe { ash::Entry::load().map_err(|e| format!("Vulkan load: {e}"))? }; - use raw_window_handle::HasDisplayHandle; - let dh = window.display_handle().map_err(|e| format!("display_handle: {e}"))?; - let required_exts = ash_window::enumerate_required_extensions(dh.as_raw()) - .map_err(|e| format!("enumerate_required_extensions: {e:?}"))?; + use raw_window_handle::HasDisplayHandle; + let dh = window + .display_handle() + .map_err(|e| format!("display_handle: {e}"))?; + let required_exts = ash_window::enumerate_required_extensions(dh.as_raw()) + .map_err(|e| format!("enumerate_required_extensions: {e:?}"))?; - let app_name = CString::new("Verbatim").unwrap(); - let app_info = vk::ApplicationInfo::default() - .application_name(&app_name) - .api_version(vk::API_VERSION_1_2); - let mut ext_ptrs: Vec<*const i8> = required_exts.iter().map(|&p| p as *const i8).collect(); - let avail_exts = unsafe { entry.enumerate_instance_extension_properties(None) }.unwrap_or_default(); - let has_debug = avail_exts.iter().any(|e| { - let name = unsafe { std::ffi::CStr::from_ptr(e.extension_name.as_ptr() as *const i8) }; - name.to_str().unwrap_or("") == "VK_EXT_debug_utils" - }); - if has_debug { ext_ptrs.push(b"VK_EXT_debug_utils\0".as_ptr() as *const i8); } - let ci = vk::InstanceCreateInfo::default() - .application_info(&app_info).enabled_extension_names(&ext_ptrs); - let instance = unsafe { entry.create_instance(&ci, None) }.map_err(|e| format!("instance: {e:?}"))?; + let app_name = CString::new("Verbatim").unwrap(); + let app_info = vk::ApplicationInfo::default() + .application_name(&app_name) + .api_version(vk::API_VERSION_1_2); + let mut ext_ptrs: Vec<*const i8> = required_exts.iter().map(|&p| p as *const i8).collect(); + let avail_exts = + unsafe { entry.enumerate_instance_extension_properties(None) }.unwrap_or_default(); + let has_debug = avail_exts.iter().any(|e| { + let name = unsafe { std::ffi::CStr::from_ptr(e.extension_name.as_ptr() as *const i8) }; + name.to_str().unwrap_or("") == "VK_EXT_debug_utils" + }); + if has_debug { + ext_ptrs.push(b"VK_EXT_debug_utils\0".as_ptr() as *const i8); + } + let ci = vk::InstanceCreateInfo::default() + .application_info(&app_info) + .enabled_extension_names(&ext_ptrs); + let instance = + unsafe { entry.create_instance(&ci, None) }.map_err(|e| format!("instance: {e:?}"))?; - let surface = { - use raw_window_handle::HasWindowHandle; - let wh = window.window_handle().map_err(|e| format!("wh: {e}"))?; - let dh = window.display_handle().map_err(|e| format!("dh: {e}"))?; - unsafe { ash_window::create_surface(&entry, &instance, dh.as_raw(), wh.as_raw(), None) } - .map_err(|e| format!("surface: {e:?}"))? - }; + let surface = { + use raw_window_handle::HasWindowHandle; + let wh = window.window_handle().map_err(|e| format!("wh: {e}"))?; + let dh = window.display_handle().map_err(|e| format!("dh: {e}"))?; + unsafe { ash_window::create_surface(&entry, &instance, dh.as_raw(), wh.as_raw(), None) } + .map_err(|e| format!("surface: {e:?}"))? + }; - let sl = ash::khr::surface::Instance::new(&entry, &instance); - let devices = unsafe { instance.enumerate_physical_devices() }.map_err(|e| format!("enum: {e:?}"))?; - let mut physical_device = vk::PhysicalDevice::null(); - let mut qf = 0u32; - for &pd in &devices { - let props = unsafe { instance.get_physical_device_properties(pd) }; - if props.device_type == vk::PhysicalDeviceType::CPU { continue; } - let qfs = unsafe { instance.get_physical_device_queue_family_properties(pd) }; - for (i, q) in qfs.iter().enumerate() { - if q.queue_flags.contains(vk::QueueFlags::GRAPHICS) { - let ok = unsafe { sl.get_physical_device_surface_support(pd, i as u32, surface) }.unwrap_or(false); - if ok { physical_device = pd; qf = i as u32; break; } + let sl = ash::khr::surface::Instance::new(&entry, &instance); + let devices = + unsafe { instance.enumerate_physical_devices() }.map_err(|e| format!("enum: {e:?}"))?; + let mut physical_device = vk::PhysicalDevice::null(); + let mut qf = 0u32; + for &pd in &devices { + let props = unsafe { instance.get_physical_device_properties(pd) }; + if props.device_type == vk::PhysicalDeviceType::CPU { + continue; + } + let qfs = unsafe { instance.get_physical_device_queue_family_properties(pd) }; + for (i, q) in qfs.iter().enumerate() { + if q.queue_flags.contains(vk::QueueFlags::GRAPHICS) { + let ok = + unsafe { sl.get_physical_device_surface_support(pd, i as u32, surface) } + .unwrap_or(false); + if ok { + physical_device = pd; + qf = i as u32; + break; + } + } + } + if physical_device != vk::PhysicalDevice::null() { + break; } } - if physical_device != vk::PhysicalDevice::null() { break; } - } - if physical_device == vk::PhysicalDevice::null() { return Err("No GPU".to_string()); } + if physical_device == vk::PhysicalDevice::null() { + return Err("No GPU".to_string()); + } - let qp = [1.0f32]; - let qi = vk::DeviceQueueCreateInfo::default().queue_family_index(qf).queue_priorities(&qp); - let dev_ext_names: Vec = vec![CString::new("VK_KHR_swapchain").unwrap()]; - let dev_ext_ptrs: Vec<*const i8> = dev_ext_names.iter().map(|n| n.as_ptr()).collect(); - let dci = vk::DeviceCreateInfo::default() - .queue_create_infos(std::slice::from_ref(&qi)) - .enabled_extension_names(&dev_ext_ptrs); - let device = unsafe { instance.create_device(physical_device, &dci, None) }.map_err(|e| format!("device: {e:?}"))?; - let graphics_queue = unsafe { device.get_device_queue(qf, 0) }; + let qp = [1.0f32]; + let qi = vk::DeviceQueueCreateInfo::default() + .queue_family_index(qf) + .queue_priorities(&qp); + let dev_ext_names: Vec = vec![CString::new("VK_KHR_swapchain").unwrap()]; + let dev_ext_ptrs: Vec<*const i8> = dev_ext_names.iter().map(|n| n.as_ptr()).collect(); + let dci = vk::DeviceCreateInfo::default() + .queue_create_infos(std::slice::from_ref(&qi)) + .enabled_extension_names(&dev_ext_ptrs); + let device = unsafe { instance.create_device(physical_device, &dci, None) } + .map_err(|e| format!("device: {e:?}"))?; + let graphics_queue = unsafe { device.get_device_queue(qf, 0) }; - let swapchain_loader = ash::khr::swapchain::Device::new(&instance, &device); - let caps = unsafe { sl.get_physical_device_surface_capabilities(physical_device, surface) }.map_err(|e| format!("caps: {e:?}"))?; - let format = vk::SurfaceFormatKHR { format: vk::Format::B8G8R8A8_UNORM, color_space: vk::ColorSpaceKHR::SRGB_NONLINEAR }; - let extent = if caps.current_extent.width != u32::MAX { caps.current_extent } - else { vk::Extent2D { width: grid_w as u32 * CHAR_W, height: grid_h as u32 * CHAR_H } }; - let ic = caps.min_image_count.max(2); - let qf_slice = [qf]; - let sci = vk::SwapchainCreateInfoKHR::default() - .surface(surface).min_image_count(ic) - .image_format(format.format).image_color_space(format.color_space) - .image_extent(extent).image_array_layers(1) - .image_usage(vk::ImageUsageFlags::COLOR_ATTACHMENT) - .image_sharing_mode(vk::SharingMode::EXCLUSIVE) - .queue_family_indices(&qf_slice) - .pre_transform(caps.current_transform) - .composite_alpha(vk::CompositeAlphaFlagsKHR::OPAQUE) - .present_mode(vk::PresentModeKHR::FIFO).clipped(true); - let swapchain = unsafe { swapchain_loader.create_swapchain(&sci, None) }.map_err(|e| format!("swapchain: {e:?}"))?; - let swapchain_images = unsafe { swapchain_loader.get_swapchain_images(swapchain) }.map_err(|e| format!("images: {e:?}"))?; - let swapchain_image_views: Vec<_> = swapchain_images.iter() - .map(|&img| { - let vi = vk::ImageViewCreateInfo::default() - .image(img).view_type(vk::ImageViewType::TYPE_2D).format(format.format) - .subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, base_mip_level: 0, level_count: 1, base_array_layer: 0, layer_count: 1 }); - unsafe { device.create_image_view(&vi, None).expect("image_view") } - }).collect(); + let swapchain_loader = ash::khr::swapchain::Device::new(&instance, &device); + let caps = unsafe { sl.get_physical_device_surface_capabilities(physical_device, surface) } + .map_err(|e| format!("caps: {e:?}"))?; + let format = vk::SurfaceFormatKHR { + format: vk::Format::B8G8R8A8_UNORM, + color_space: vk::ColorSpaceKHR::SRGB_NONLINEAR, + }; + let extent = if caps.current_extent.width != u32::MAX { + caps.current_extent + } else { + vk::Extent2D { + width: grid_w as u32 * CHAR_W, + height: grid_h as u32 * CHAR_H, + } + }; + let ic = caps.min_image_count.max(2); + let qf_slice = [qf]; + let sci = vk::SwapchainCreateInfoKHR::default() + .surface(surface) + .min_image_count(ic) + .image_format(format.format) + .image_color_space(format.color_space) + .image_extent(extent) + .image_array_layers(1) + .image_usage(vk::ImageUsageFlags::COLOR_ATTACHMENT) + .image_sharing_mode(vk::SharingMode::EXCLUSIVE) + .queue_family_indices(&qf_slice) + .pre_transform(caps.current_transform) + .composite_alpha(vk::CompositeAlphaFlagsKHR::OPAQUE) + .present_mode(vk::PresentModeKHR::FIFO) + .clipped(true); + let swapchain = unsafe { swapchain_loader.create_swapchain(&sci, None) } + .map_err(|e| format!("swapchain: {e:?}"))?; + let swapchain_images = unsafe { swapchain_loader.get_swapchain_images(swapchain) } + .map_err(|e| format!("images: {e:?}"))?; + let swapchain_image_views: Vec<_> = swapchain_images + .iter() + .map(|&img| { + let vi = vk::ImageViewCreateInfo::default() + .image(img) + .view_type(vk::ImageViewType::TYPE_2D) + .format(format.format) + .subresource_range(vk::ImageSubresourceRange { + aspect_mask: vk::ImageAspectFlags::COLOR, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, + }); + unsafe { device.create_image_view(&vi, None).expect("image_view") } + }) + .collect(); - let att = vk::AttachmentDescription::default() - .format(format.format).samples(vk::SampleCountFlags::TYPE_1) - .load_op(vk::AttachmentLoadOp::CLEAR).store_op(vk::AttachmentStoreOp::STORE) - .initial_layout(vk::ImageLayout::UNDEFINED).final_layout(vk::ImageLayout::PRESENT_SRC_KHR); - let att_ref = vk::AttachmentReference::default().attachment(0).layout(vk::ImageLayout::COLOR_ATTACHMENT_OPTIMAL); - let subpass = vk::SubpassDescription::default() - .pipeline_bind_point(vk::PipelineBindPoint::GRAPHICS) - .color_attachments(std::slice::from_ref(&att_ref)); - let dep = vk::SubpassDependency::default() - .src_subpass(vk::SUBPASS_EXTERNAL).dst_subpass(0) - .src_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) - .dst_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) - .dst_access_mask(vk::AccessFlags::COLOR_ATTACHMENT_WRITE); - let rpci = vk::RenderPassCreateInfo::default() - .attachments(std::slice::from_ref(&att)) - .subpasses(std::slice::from_ref(&subpass)) - .dependencies(std::slice::from_ref(&dep)); - let render_pass = unsafe { device.create_render_pass(&rpci, None) }.map_err(|e| format!("render_pass: {e:?}"))?; + let att = vk::AttachmentDescription::default() + .format(format.format) + .samples(vk::SampleCountFlags::TYPE_1) + .load_op(vk::AttachmentLoadOp::CLEAR) + .store_op(vk::AttachmentStoreOp::STORE) + .initial_layout(vk::ImageLayout::UNDEFINED) + .final_layout(vk::ImageLayout::PRESENT_SRC_KHR); + let att_ref = vk::AttachmentReference::default() + .attachment(0) + .layout(vk::ImageLayout::COLOR_ATTACHMENT_OPTIMAL); + let subpass = vk::SubpassDescription::default() + .pipeline_bind_point(vk::PipelineBindPoint::GRAPHICS) + .color_attachments(std::slice::from_ref(&att_ref)); + let dep = vk::SubpassDependency::default() + .src_subpass(vk::SUBPASS_EXTERNAL) + .dst_subpass(0) + .src_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) + .dst_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) + .dst_access_mask(vk::AccessFlags::COLOR_ATTACHMENT_WRITE); + let rpci = vk::RenderPassCreateInfo::default() + .attachments(std::slice::from_ref(&att)) + .subpasses(std::slice::from_ref(&subpass)) + .dependencies(std::slice::from_ref(&dep)); + let render_pass = unsafe { device.create_render_pass(&rpci, None) } + .map_err(|e| format!("render_pass: {e:?}"))?; - // Pipeline — no atlas, no descriptor set, just colored quads - let vert_spv = include_bytes!("../../assets/shaders/graphics_vert.spv"); - let frag_spv = include_bytes!("../../assets/shaders/graphics_frag.spv"); - let vert_code: Vec = vert_spv.chunks_exact(4).map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])).collect(); - let frag_code: Vec = frag_spv.chunks_exact(4).map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])).collect(); - let vm = unsafe { device.create_shader_module(&vk::ShaderModuleCreateInfo::default().code(&vert_code), None) }.map_err(|e| format!("vert: {e:?}"))?; - let fm = unsafe { device.create_shader_module(&vk::ShaderModuleCreateInfo::default().code(&frag_code), None) }.map_err(|e| format!("frag: {e:?}"))?; - let main = CString::new("main").unwrap(); - let vs = vk::PipelineShaderStageCreateInfo::default().stage(vk::ShaderStageFlags::VERTEX).module(vm).name(&main); - let fs = vk::PipelineShaderStageCreateInfo::default().stage(vk::ShaderStageFlags::FRAGMENT).module(fm).name(&main); + // Pipeline — no atlas, no descriptor set, just colored quads + let vert_spv = include_bytes!("../../assets/shaders/graphics_vert.spv"); + let frag_spv = include_bytes!("../../assets/shaders/graphics_frag.spv"); + let vert_code: Vec = vert_spv + .chunks_exact(4) + .map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])) + .collect(); + let frag_code: Vec = frag_spv + .chunks_exact(4) + .map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])) + .collect(); + let vm = unsafe { + device.create_shader_module( + &vk::ShaderModuleCreateInfo::default().code(&vert_code), + None, + ) + } + .map_err(|e| format!("vert: {e:?}"))?; + let fm = unsafe { + device.create_shader_module( + &vk::ShaderModuleCreateInfo::default().code(&frag_code), + None, + ) + } + .map_err(|e| format!("frag: {e:?}"))?; + let main = CString::new("main").unwrap(); + let vs = vk::PipelineShaderStageCreateInfo::default() + .stage(vk::ShaderStageFlags::VERTEX) + .module(vm) + .name(&main); + let fs = vk::PipelineShaderStageCreateInfo::default() + .stage(vk::ShaderStageFlags::FRAGMENT) + .module(fm) + .name(&main); - let bindings = [ - vk::VertexInputBindingDescription { binding: 0, stride: 8, input_rate: vk::VertexInputRate::VERTEX }, - vk::VertexInputBindingDescription { binding: 1, stride: std::mem::size_of::() as u32, input_rate: vk::VertexInputRate::INSTANCE }, - ]; - let attrs = [ - vk::VertexInputAttributeDescription { location: 0, binding: 0, format: vk::Format::R32G32_SFLOAT, offset: 0 }, - vk::VertexInputAttributeDescription { location: 1, binding: 1, format: vk::Format::R32G32_SFLOAT, offset: 0 }, - vk::VertexInputAttributeDescription { location: 2, binding: 1, format: vk::Format::R8G8B8A8_UNORM, offset: 8 }, - ]; - let vi = vk::PipelineVertexInputStateCreateInfo::default() - .vertex_binding_descriptions(&bindings).vertex_attribute_descriptions(&attrs); - let ia = vk::PipelineInputAssemblyStateCreateInfo::default().topology(vk::PrimitiveTopology::TRIANGLE_LIST); - let dynamic_states = [vk::DynamicState::VIEWPORT, vk::DynamicState::SCISSOR]; - let dynamic_state = vk::PipelineDynamicStateCreateInfo::default().dynamic_states(&dynamic_states); - let vs_state = vk::PipelineViewportStateCreateInfo::default().viewport_count(1).scissor_count(1); - let rs = vk::PipelineRasterizationStateCreateInfo::default().line_width(1.0).cull_mode(vk::CullModeFlags::NONE); - let ms = vk::PipelineMultisampleStateCreateInfo::default().rasterization_samples(vk::SampleCountFlags::TYPE_1); - let cba = vk::PipelineColorBlendAttachmentState::default().color_write_mask(vk::ColorComponentFlags::RGBA); - let cb = vk::PipelineColorBlendStateCreateInfo::default().attachments(std::slice::from_ref(&cba)); - let pcr = vk::PushConstantRange { stage_flags: vk::ShaderStageFlags::VERTEX, offset: 0, size: std::mem::size_of::() as u32 }; - let pli = vk::PipelineLayoutCreateInfo::default().push_constant_ranges(std::slice::from_ref(&pcr)); - let pipeline_layout = unsafe { device.create_pipeline_layout(&pli, None) }.map_err(|e| format!("pipeline_layout: {e:?}"))?; - let stages = [vs, fs]; - let gpci = vk::GraphicsPipelineCreateInfo::default() - .stages(&stages).vertex_input_state(&vi).input_assembly_state(&ia) - .viewport_state(&vs_state).rasterization_state(&rs).multisample_state(&ms) - .color_blend_state(&cb).dynamic_state(&dynamic_state) - .layout(pipeline_layout).render_pass(render_pass).subpass(0); - let pipes = unsafe { device.create_graphics_pipelines(vk::PipelineCache::null(), std::slice::from_ref(&gpci), None) } + let bindings = [ + vk::VertexInputBindingDescription { + binding: 0, + stride: 8, + input_rate: vk::VertexInputRate::VERTEX, + }, + vk::VertexInputBindingDescription { + binding: 1, + stride: std::mem::size_of::() as u32, + input_rate: vk::VertexInputRate::INSTANCE, + }, + ]; + let attrs = [ + vk::VertexInputAttributeDescription { + location: 0, + binding: 0, + format: vk::Format::R32G32_SFLOAT, + offset: 0, + }, + vk::VertexInputAttributeDescription { + location: 1, + binding: 1, + format: vk::Format::R32G32_SFLOAT, + offset: 0, + }, + vk::VertexInputAttributeDescription { + location: 2, + binding: 1, + format: vk::Format::R8G8B8A8_UNORM, + offset: 8, + }, + ]; + let vi = vk::PipelineVertexInputStateCreateInfo::default() + .vertex_binding_descriptions(&bindings) + .vertex_attribute_descriptions(&attrs); + let ia = vk::PipelineInputAssemblyStateCreateInfo::default() + .topology(vk::PrimitiveTopology::TRIANGLE_LIST); + let dynamic_states = [vk::DynamicState::VIEWPORT, vk::DynamicState::SCISSOR]; + let dynamic_state = + vk::PipelineDynamicStateCreateInfo::default().dynamic_states(&dynamic_states); + let vs_state = vk::PipelineViewportStateCreateInfo::default() + .viewport_count(1) + .scissor_count(1); + let rs = vk::PipelineRasterizationStateCreateInfo::default() + .line_width(1.0) + .cull_mode(vk::CullModeFlags::NONE); + let ms = vk::PipelineMultisampleStateCreateInfo::default() + .rasterization_samples(vk::SampleCountFlags::TYPE_1); + let cba = vk::PipelineColorBlendAttachmentState::default() + .color_write_mask(vk::ColorComponentFlags::RGBA); + let cb = vk::PipelineColorBlendStateCreateInfo::default() + .attachments(std::slice::from_ref(&cba)); + let pcr = vk::PushConstantRange { + stage_flags: vk::ShaderStageFlags::VERTEX, + offset: 0, + size: std::mem::size_of::() as u32, + }; + let pli = vk::PipelineLayoutCreateInfo::default() + .push_constant_ranges(std::slice::from_ref(&pcr)); + let pipeline_layout = unsafe { device.create_pipeline_layout(&pli, None) } + .map_err(|e| format!("pipeline_layout: {e:?}"))?; + let stages = [vs, fs]; + let gpci = vk::GraphicsPipelineCreateInfo::default() + .stages(&stages) + .vertex_input_state(&vi) + .input_assembly_state(&ia) + .viewport_state(&vs_state) + .rasterization_state(&rs) + .multisample_state(&ms) + .color_blend_state(&cb) + .dynamic_state(&dynamic_state) + .layout(pipeline_layout) + .render_pass(render_pass) + .subpass(0); + let pipes = unsafe { + device.create_graphics_pipelines( + vk::PipelineCache::null(), + std::slice::from_ref(&gpci), + None, + ) + } .map_err(|(_, e)| format!("pipeline: {e:?}"))?; - unsafe { device.destroy_shader_module(vm, None); device.destroy_shader_module(fm, None); } - let pipeline = pipes[0]; - - let framebuffers: Vec<_> = swapchain_image_views.iter() - .map(|&view| { - let fci = vk::FramebufferCreateInfo::default() - .render_pass(render_pass).attachments(std::slice::from_ref(&view)) - .width(extent.width).height(extent.height).layers(1); - unsafe { device.create_framebuffer(&fci, None).expect("fb") } - }).collect(); - - let command_pool = { - let cpci = vk::CommandPoolCreateInfo::default().queue_family_index(qf).flags(vk::CommandPoolCreateFlags::RESET_COMMAND_BUFFER); - unsafe { device.create_command_pool(&cpci, None) }.map_err(|e| format!("cmd_pool: {e:?}"))? - }; - let command_buffers = { - let cai = vk::CommandBufferAllocateInfo::default().command_pool(command_pool).level(vk::CommandBufferLevel::PRIMARY).command_buffer_count(framebuffers.len() as u32); - unsafe { device.allocate_command_buffers(&cai) }.map_err(|e| format!("cmd_bufs: {e:?}"))? - }; - - let mut image_available = Vec::new(); - let mut render_finished = Vec::new(); - let mut in_flight = Vec::new(); - for _ in 0..MAX_FRAMES { unsafe { - image_available.push(device.create_semaphore(&vk::SemaphoreCreateInfo::default(), None).map_err(|e| format!("sem: {e:?}"))?); - render_finished.push(device.create_semaphore(&vk::SemaphoreCreateInfo::default(), None).map_err(|e| format!("sem: {e:?}"))?); - in_flight.push(device.create_fence(&vk::FenceCreateInfo::default().flags(vk::FenceCreateFlags::SIGNALED), None).map_err(|e| format!("fence: {e:?}"))?); + device.destroy_shader_module(vm, None); + device.destroy_shader_module(fm, None); } + let pipeline = pipes[0]; + + let framebuffers: Vec<_> = swapchain_image_views + .iter() + .map(|&view| { + let fci = vk::FramebufferCreateInfo::default() + .render_pass(render_pass) + .attachments(std::slice::from_ref(&view)) + .width(extent.width) + .height(extent.height) + .layers(1); + unsafe { device.create_framebuffer(&fci, None).expect("fb") } + }) + .collect(); + + let command_pool = { + let cpci = vk::CommandPoolCreateInfo::default() + .queue_family_index(qf) + .flags(vk::CommandPoolCreateFlags::RESET_COMMAND_BUFFER); + unsafe { device.create_command_pool(&cpci, None) } + .map_err(|e| format!("cmd_pool: {e:?}"))? + }; + let command_buffers = { + let cai = vk::CommandBufferAllocateInfo::default() + .command_pool(command_pool) + .level(vk::CommandBufferLevel::PRIMARY) + .command_buffer_count(framebuffers.len() as u32); + unsafe { device.allocate_command_buffers(&cai) } + .map_err(|e| format!("cmd_bufs: {e:?}"))? + }; + + let mut image_available = Vec::new(); + let mut render_finished = Vec::new(); + let mut in_flight = Vec::new(); + for _ in 0..MAX_FRAMES { + unsafe { + image_available.push( + device + .create_semaphore(&vk::SemaphoreCreateInfo::default(), None) + .map_err(|e| format!("sem: {e:?}"))?, + ); + render_finished.push( + device + .create_semaphore(&vk::SemaphoreCreateInfo::default(), None) + .map_err(|e| format!("sem: {e:?}"))?, + ); + in_flight.push( + device + .create_fence( + &vk::FenceCreateInfo::default().flags(vk::FenceCreateFlags::SIGNALED), + None, + ) + .map_err(|e| format!("fence: {e:?}"))?, + ); + } + } + + // Vertex + index buffers + let find_mem = |filter: u32, props: vk::MemoryPropertyFlags| -> Result { + let mp = unsafe { instance.get_physical_device_memory_properties(physical_device) }; + for (i, mt) in mp.memory_types.iter().enumerate() { + if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { + return Ok(i as u32); + } + } + Err("No memory type".to_string()) + }; + let make_buf = |data: &[u8], + usage: vk::BufferUsageFlags| + -> Result<(vk::Buffer, vk::DeviceMemory), String> { + let sz = data.len() as vk::DeviceSize; + let bi = vk::BufferCreateInfo::default() + .size(sz) + .usage(usage) + .sharing_mode(vk::SharingMode::EXCLUSIVE); + let buf = + unsafe { device.create_buffer(&bi, None) }.map_err(|e| format!("buf: {e:?}"))?; + let req = unsafe { device.get_buffer_memory_requirements(buf) }; + let mt = find_mem( + req.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + )?; + let mem = unsafe { + device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(req.size) + .memory_type_index(mt), + None, + ) + } + .map_err(|e| format!("mem: {e:?}"))?; + unsafe { + device.bind_buffer_memory(buf, mem, 0).expect("bind"); + let ptr = device + .map_memory(mem, 0, sz, vk::MemoryMapFlags::default()) + .expect("map"); + std::ptr::copy_nonoverlapping(data.as_ptr(), ptr as *mut u8, data.len()); + device.unmap_memory(mem); + } + Ok((buf, mem)) + }; + let verts: [f32; 8] = [0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0]; + let indices: [u16; 6] = [0, 1, 2, 1, 3, 2]; + let (vertex_buffer, vertex_memory) = make_buf( + bytemuck::cast_slice(&verts), + vk::BufferUsageFlags::VERTEX_BUFFER, + )?; + let (index_buffer, index_memory) = make_buf( + bytemuck::cast_slice(&indices), + vk::BufferUsageFlags::INDEX_BUFFER, + )?; + + // Instance buffer + let instance_count = grid_w * grid_h; + let inst_sz = (instance_count * std::mem::size_of::()) as vk::DeviceSize; + let ibi = vk::BufferCreateInfo::default() + .size(inst_sz) + .usage(vk::BufferUsageFlags::VERTEX_BUFFER) + .sharing_mode(vk::SharingMode::EXCLUSIVE); + let instance_buffer = + unsafe { device.create_buffer(&ibi, None) }.map_err(|e| format!("inst buf: {e:?}"))?; + let ireq = unsafe { device.get_buffer_memory_requirements(instance_buffer) }; + let imt = find_mem( + ireq.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + )?; + let instance_memory = unsafe { + device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(ireq.size) + .memory_type_index(imt), + None, + ) + } + .map_err(|e| format!("inst mem: {e:?}"))?; + let instance_ptr = unsafe { + device + .bind_buffer_memory(instance_buffer, instance_memory, 0) + .expect("bind inst"); + let ptr = device + .map_memory(instance_memory, 0, inst_sz, vk::MemoryMapFlags::default()) + .expect("map inst"); + ptr as *mut ColorInstance + }; + + Ok(Self { + grid_w, + grid_h, + entry, + instance, + surface, + physical_device, + device, + graphics_queue, + swapchain_loader, + swapchain, + swapchain_image_views, + swapchain_extent: extent, + render_pass, + pipeline, + pipeline_layout, + framebuffers, + command_pool, + command_buffers, + image_available, + render_finished, + in_flight, + frame_index: 0, + vertex_buffer, + vertex_memory, + index_buffer, + index_memory, + instance_buffer, + instance_memory, + instance_ptr, + instance_count, + window, + }) } - // Vertex + index buffers - let find_mem = |filter: u32, props: vk::MemoryPropertyFlags| -> Result { - let mp = unsafe { instance.get_physical_device_memory_properties(physical_device) }; - for (i, mt) in mp.memory_types.iter().enumerate() { - if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { return Ok(i as u32); } - } - Err("No memory type".to_string()) - }; - let make_buf = |data: &[u8], usage: vk::BufferUsageFlags| -> Result<(vk::Buffer, vk::DeviceMemory), String> { - let sz = data.len() as vk::DeviceSize; - let bi = vk::BufferCreateInfo::default().size(sz).usage(usage).sharing_mode(vk::SharingMode::EXCLUSIVE); - let buf = unsafe { device.create_buffer(&bi, None) }.map_err(|e| format!("buf: {e:?}"))?; - let req = unsafe { device.get_buffer_memory_requirements(buf) }; - let mt = find_mem(req.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT)?; - let mem = unsafe { device.allocate_memory(&vk::MemoryAllocateInfo::default().allocation_size(req.size).memory_type_index(mt), None) }.map_err(|e| format!("mem: {e:?}"))?; - unsafe { - device.bind_buffer_memory(buf, mem, 0).expect("bind"); - let ptr = device.map_memory(mem, 0, sz, vk::MemoryMapFlags::default()).expect("map"); - std::ptr::copy_nonoverlapping(data.as_ptr(), ptr as *mut u8, data.len()); - device.unmap_memory(mem); - } - Ok((buf, mem)) - }; - let verts: [f32; 8] = [0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0]; - let indices: [u16; 6] = [0, 1, 2, 1, 3, 2]; - let (vertex_buffer, vertex_memory) = make_buf(bytemuck::cast_slice(&verts), vk::BufferUsageFlags::VERTEX_BUFFER)?; - let (index_buffer, index_memory) = make_buf(bytemuck::cast_slice(&indices), vk::BufferUsageFlags::INDEX_BUFFER)?; - - // Instance buffer - let instance_count = grid_w * grid_h; - let inst_sz = (instance_count * std::mem::size_of::()) as vk::DeviceSize; - let ibi = vk::BufferCreateInfo::default().size(inst_sz).usage(vk::BufferUsageFlags::VERTEX_BUFFER).sharing_mode(vk::SharingMode::EXCLUSIVE); - let instance_buffer = unsafe { device.create_buffer(&ibi, None) }.map_err(|e| format!("inst buf: {e:?}"))?; - let ireq = unsafe { device.get_buffer_memory_requirements(instance_buffer) }; - let imt = find_mem(ireq.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT)?; - let instance_memory = unsafe { device.allocate_memory(&vk::MemoryAllocateInfo::default().allocation_size(ireq.size).memory_type_index(imt), None) }.map_err(|e| format!("inst mem: {e:?}"))?; - let instance_ptr = unsafe { - device.bind_buffer_memory(instance_buffer, instance_memory, 0).expect("bind inst"); - let ptr = device.map_memory(instance_memory, 0, inst_sz, vk::MemoryMapFlags::default()).expect("map inst"); - ptr as *mut ColorInstance - }; - - Ok(Self { - grid_w, grid_h, - entry, instance, surface, physical_device, device, graphics_queue, - swapchain_loader, swapchain, swapchain_image_views, swapchain_extent: extent, - render_pass, pipeline, pipeline_layout, framebuffers, - command_pool, command_buffers, - image_available, render_finished, in_flight, frame_index: 0, - vertex_buffer, vertex_memory, index_buffer, index_memory, - instance_buffer, instance_memory, instance_ptr, instance_count, - window, - }) -} - pub fn render(&mut self, grid: &Grid, entities: &EntityManager, cam_x: i32, cam_y: i32) { self.check_resize(); - let mut entity_map: std::collections::HashMap<(i32, i32), [u8; 4]> = std::collections::HashMap::new(); + let mut entity_map: std::collections::HashMap<(i32, i32), [u8; 4]> = + std::collections::HashMap::new(); for e in entities.all() { for b in &e.bodies { - if !b.alive { continue; } + if !b.alive { + continue; + } let sx = b.x as i32 - cam_x; let sy = b.y as i32 - cam_y; if sx >= 0 && sx < self.grid_w as i32 && sy >= 0 && sy < self.grid_h as i32 { - let fg = if e.on_fire { [255, 160, 40, 255] } - else if !e.alive { [100, 60, 60, 255] } - else { + let fg = if e.on_fire { + [255, 160, 40, 255] + } else if !e.alive { + [100, 60, 60, 255] + } else { match e.kind { EntityKind::Player => [255, 255, 100, 255], EntityKind::Goblin => [100, 220, 100, 255], @@ -327,7 +562,8 @@ impl GraphicsRenderer { } } - let instances = unsafe { std::slice::from_raw_parts_mut(self.instance_ptr, self.instance_count) }; + let instances = + unsafe { std::slice::from_raw_parts_mut(self.instance_ptr, self.instance_count) }; let bg_default = [10u8, 10, 15, 255]; for dy in 0..self.grid_h { @@ -370,10 +606,16 @@ impl GraphicsRenderer { let _ = device.reset_fences(&[self.in_flight[frame]]); let image_index = match self.swapchain_loader.acquire_next_image( - self.swapchain, u64::MAX, self.image_available[frame], vk::Fence::null() + self.swapchain, + u64::MAX, + self.image_available[frame], + vk::Fence::null(), ) { Ok((idx, _)) => idx as usize, - Err(e) => { eprintln!("acquire: {e:?}"); return; } + Err(e) => { + eprintln!("acquire: {e:?}"); + return; + } }; let cmd = self.command_buffers[frame]; @@ -381,36 +623,59 @@ impl GraphicsRenderer { let _ = device.begin_command_buffer(cmd, &vk::CommandBufferBeginInfo::default()); let clear = vk::ClearValue { - color: vk::ClearColorValue { float32: [10.0/255.0, 10.0/255.0, 15.0/255.0, 1.0] }, + color: vk::ClearColorValue { + float32: [10.0 / 255.0, 10.0 / 255.0, 15.0 / 255.0, 1.0], + }, }; let rp_info = vk::RenderPassBeginInfo::default() .render_pass(self.render_pass) .framebuffer(self.framebuffers[image_index]) - .render_area(vk::Rect2D { offset: vk::Offset2D::default(), extent: self.swapchain_extent }) + .render_area(vk::Rect2D { + offset: vk::Offset2D::default(), + extent: self.swapchain_extent, + }) .clear_values(std::slice::from_ref(&clear)); device.cmd_begin_render_pass(cmd, &rp_info, vk::SubpassContents::INLINE); device.cmd_bind_pipeline(cmd, vk::PipelineBindPoint::GRAPHICS, self.pipeline); let viewport = vk::Viewport { - x: 0.0, y: 0.0, + x: 0.0, + y: 0.0, width: self.swapchain_extent.width as f32, height: self.swapchain_extent.height as f32, - min_depth: 0.0, max_depth: 1.0, + min_depth: 0.0, + max_depth: 1.0, + }; + let scissor = vk::Rect2D { + offset: vk::Offset2D::default(), + extent: self.swapchain_extent, }; - let scissor = vk::Rect2D { offset: vk::Offset2D::default(), extent: self.swapchain_extent }; device.cmd_set_viewport(cmd, 0, std::slice::from_ref(&viewport)); device.cmd_set_scissor(cmd, 0, std::slice::from_ref(&scissor)); - device.cmd_bind_vertex_buffers(cmd, 0, &[self.vertex_buffer, self.instance_buffer], &[0, 0]); + device.cmd_bind_vertex_buffers( + cmd, + 0, + &[self.vertex_buffer, self.instance_buffer], + &[0, 0], + ); device.cmd_bind_index_buffer(cmd, self.index_buffer, 0, vk::IndexType::UINT16); let pc = PushConstants { - screen_size: [self.swapchain_extent.width as f32, self.swapchain_extent.height as f32], + screen_size: [ + self.swapchain_extent.width as f32, + self.swapchain_extent.height as f32, + ], cell_size: [CHAR_W as f32, CHAR_H as f32], }; - device.cmd_push_constants(cmd, self.pipeline_layout, vk::ShaderStageFlags::VERTEX, - 0, bytemuck::bytes_of(&pc)); + device.cmd_push_constants( + cmd, + self.pipeline_layout, + vk::ShaderStageFlags::VERTEX, + 0, + bytemuck::bytes_of(&pc), + ); device.cmd_draw_indexed(cmd, 6, self.instance_count as u32, 0, 0, 0); device.cmd_end_render_pass(cmd); @@ -422,25 +687,37 @@ impl GraphicsRenderer { .wait_dst_stage_mask(&wait_stages) .command_buffers(std::slice::from_ref(&cmd)) .signal_semaphores(std::slice::from_ref(&self.render_finished[frame])); - let _ = device.queue_submit(self.graphics_queue, std::slice::from_ref(&submit_info), self.in_flight[frame]); + let _ = device.queue_submit( + self.graphics_queue, + std::slice::from_ref(&submit_info), + self.in_flight[frame], + ); let img_idx = image_index as u32; let present_info = vk::PresentInfoKHR::default() .wait_semaphores(std::slice::from_ref(&self.render_finished[frame])) .swapchains(std::slice::from_ref(&self.swapchain)) .image_indices(std::slice::from_ref(&img_idx)); - let _ = self.swapchain_loader.queue_present(self.graphics_queue, &present_info); + let _ = self + .swapchain_loader + .queue_present(self.graphics_queue, &present_info); } self.frame_index = (self.frame_index + 1) % MAX_FRAMES; } - pub fn grid_w(&self) -> usize { self.grid_w } - pub fn grid_h(&self) -> usize { self.grid_h } + pub fn grid_w(&self) -> usize { + self.grid_w + } + pub fn grid_h(&self) -> usize { + self.grid_h + } fn check_resize(&mut self) { let sl = ash::khr::surface::Instance::new(&self.entry, &self.instance); - let caps = match unsafe { sl.get_physical_device_surface_capabilities(self.physical_device, self.surface) } { + let caps = match unsafe { + sl.get_physical_device_surface_capabilities(self.physical_device, self.surface) + } { Ok(c) => c, Err(_) => return, }; @@ -457,7 +734,8 @@ impl GraphicsRenderer { }; if new_extent.width == self.swapchain_extent.width - && new_extent.height == self.swapchain_extent.height { + && new_extent.height == self.swapchain_extent.height + { return; } @@ -465,11 +743,21 @@ impl GraphicsRenderer { return; } - unsafe { let _ = self.device.device_wait_idle(); } + unsafe { + let _ = self.device.device_wait_idle(); + } // Destroy old swapchain resources - for &fb in &self.framebuffers { unsafe { self.device.destroy_framebuffer(fb, None); } } - for &v in &self.swapchain_image_views { unsafe { self.device.destroy_image_view(v, None); } } + for &fb in &self.framebuffers { + unsafe { + self.device.destroy_framebuffer(fb, None); + } + } + for &v in &self.swapchain_image_views { + unsafe { + self.device.destroy_image_view(v, None); + } + } // Recreate swapchain let sci = vk::SwapchainCreateInfoKHR::default() @@ -492,40 +780,61 @@ impl GraphicsRenderer { Err(_) => return, }; - let new_images = match unsafe { self.swapchain_loader.get_swapchain_images(new_swapchain) } { + let new_images = match unsafe { self.swapchain_loader.get_swapchain_images(new_swapchain) } + { Ok(i) => i, Err(_) => return, }; - let new_views: Vec<_> = new_images.iter() + let new_views: Vec<_> = new_images + .iter() .map(|&img| { let vi = vk::ImageViewCreateInfo::default() - .image(img).view_type(vk::ImageViewType::TYPE_2D) + .image(img) + .view_type(vk::ImageViewType::TYPE_2D) .format(vk::Format::B8G8R8A8_UNORM) .subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, - base_mip_level: 0, level_count: 1, - base_array_layer: 0, layer_count: 1, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, }); - unsafe { self.device.create_image_view(&vi, None).expect("image_view") } - }).collect(); + unsafe { + self.device + .create_image_view(&vi, None) + .expect("image_view") + } + }) + .collect(); - let new_framebuffers: Vec<_> = new_views.iter() + let new_framebuffers: Vec<_> = new_views + .iter() .map(|&view| { let fci = vk::FramebufferCreateInfo::default() .render_pass(self.render_pass) .attachments(std::slice::from_ref(&view)) - .width(new_extent.width).height(new_extent.height).layers(1); + .width(new_extent.width) + .height(new_extent.height) + .layers(1); unsafe { self.device.create_framebuffer(&fci, None).expect("fb") } - }).collect(); + }) + .collect(); // Reallocate command buffers for new count - unsafe { self.device.free_command_buffers(self.command_pool, &self.command_buffers); } + unsafe { + self.device + .free_command_buffers(self.command_pool, &self.command_buffers); + } let cai = vk::CommandBufferAllocateInfo::default() .command_pool(self.command_pool) .level(vk::CommandBufferLevel::PRIMARY) .command_buffer_count(new_framebuffers.len() as u32); - let new_cmd_bufs = unsafe { self.device.allocate_command_buffers(&cai).expect("cmd_bufs") }; + let new_cmd_bufs = unsafe { + self.device + .allocate_command_buffers(&cai) + .expect("cmd_bufs") + }; // Reallocate instance buffer if grid size changed let new_grid_w = (new_extent.width / CHAR_W) as usize; @@ -544,30 +853,61 @@ impl GraphicsRenderer { .size(inst_sz) .usage(vk::BufferUsageFlags::VERTEX_BUFFER) .sharing_mode(vk::SharingMode::EXCLUSIVE); - self.instance_buffer = unsafe { self.device.create_buffer(&ibi, None) }.expect("inst buf"); - let ireq = unsafe { self.device.get_buffer_memory_requirements(self.instance_buffer) }; + self.instance_buffer = + unsafe { self.device.create_buffer(&ibi, None) }.expect("inst buf"); + let ireq = unsafe { + self.device + .get_buffer_memory_requirements(self.instance_buffer) + }; let find_mem = |filter: u32, props: vk::MemoryPropertyFlags| -> u32 { - let mp = unsafe { self.instance.get_physical_device_memory_properties(self.physical_device) }; + let mp = unsafe { + self.instance + .get_physical_device_memory_properties(self.physical_device) + }; for (i, mt) in mp.memory_types.iter().enumerate() { - if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { return i as u32; } + if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { + return i as u32; + } } 0 }; - let imt = find_mem(ireq.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT); - self.instance_memory = unsafe { self.device.allocate_memory( - &vk::MemoryAllocateInfo::default().allocation_size(ireq.size).memory_type_index(imt), None) - }.expect("inst mem"); + let imt = find_mem( + ireq.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + ); + self.instance_memory = unsafe { + self.device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(ireq.size) + .memory_type_index(imt), + None, + ) + } + .expect("inst mem"); self.instance_ptr = unsafe { - self.device.bind_buffer_memory(self.instance_buffer, self.instance_memory, 0).expect("bind"); - let ptr = self.device.map_memory(self.instance_memory, 0, inst_sz, vk::MemoryMapFlags::default()).expect("map"); + self.device + .bind_buffer_memory(self.instance_buffer, self.instance_memory, 0) + .expect("bind"); + let ptr = self + .device + .map_memory( + self.instance_memory, + 0, + inst_sz, + vk::MemoryMapFlags::default(), + ) + .expect("map"); ptr as *mut ColorInstance }; self.instance_count = new_count; } // Destroy old swapchain - unsafe { self.swapchain_loader.destroy_swapchain(self.swapchain, None); } + unsafe { + self.swapchain_loader + .destroy_swapchain(self.swapchain, None); + } self.swapchain = new_swapchain; self.swapchain_image_views = new_views; @@ -583,13 +923,22 @@ impl Drop for GraphicsRenderer { fn drop(&mut self) { unsafe { let _ = self.device.device_wait_idle(); - for &f in &self.in_flight { self.device.destroy_fence(f, None); } - for &s in &self.image_available { self.device.destroy_semaphore(s, None); } - for &s in &self.render_finished { self.device.destroy_semaphore(s, None); } + for &f in &self.in_flight { + self.device.destroy_fence(f, None); + } + for &s in &self.image_available { + self.device.destroy_semaphore(s, None); + } + for &s in &self.render_finished { + self.device.destroy_semaphore(s, None); + } self.device.destroy_command_pool(self.command_pool, None); - for &fb in &self.framebuffers { self.device.destroy_framebuffer(fb, None); } + for &fb in &self.framebuffers { + self.device.destroy_framebuffer(fb, None); + } self.device.destroy_pipeline(self.pipeline, None); - self.device.destroy_pipeline_layout(self.pipeline_layout, None); + self.device + .destroy_pipeline_layout(self.pipeline_layout, None); self.device.destroy_render_pass(self.render_pass, None); self.device.destroy_buffer(self.instance_buffer, None); self.device.free_memory(self.instance_memory, None); @@ -597,8 +946,11 @@ impl Drop for GraphicsRenderer { self.device.free_memory(self.vertex_memory, None); self.device.destroy_buffer(self.index_buffer, None); self.device.free_memory(self.index_memory, None); - for &v in &self.swapchain_image_views { self.device.destroy_image_view(v, None); } - self.swapchain_loader.destroy_swapchain(self.swapchain, None); + for &v in &self.swapchain_image_views { + self.device.destroy_image_view(v, None); + } + self.swapchain_loader + .destroy_swapchain(self.swapchain, None); let sl = ash::khr::surface::Instance::new(&self.entry, &self.instance); sl.destroy_surface(self.surface, None); self.device.destroy_device(None); diff --git a/src/render/vulkan.rs b/src/render/vulkan.rs index 73275b0..6f3ce27 100644 --- a/src/render/vulkan.rs +++ b/src/render/vulkan.rs @@ -3,12 +3,12 @@ use fontdue::{Font, FontSettings}; use std::ffi::CString; use std::sync::Arc; -use crate::entity::{EntityManager, EntityKind}; +use crate::entity::{EntityKind, EntityManager}; use crate::world::cell::MaterialId; use crate::world::grid::Grid; -const CHAR_W: u32 = 16; -const CHAR_H: u32 = 16; +const CHAR_W: u32 = 10; +const CHAR_H: u32 = 10; const ATLAS_COLS: usize = 16; const ATLAS_ROWS: usize = 16; const ATLAS_W: u32 = (ATLAS_COLS as u32) * CHAR_W; @@ -97,7 +97,9 @@ impl VulkanRenderer { // Get required instance extensions from the window's display handle (platform-agnostic) use raw_window_handle::HasDisplayHandle; - let dh = window.display_handle().map_err(|e| format!("display_handle: {e}"))?; + let dh = window + .display_handle() + .map_err(|e| format!("display_handle: {e}"))?; let required_exts = ash_window::enumerate_required_extensions(dh.as_raw()) .map_err(|e| format!("enumerate_required_extensions: {e:?}"))?; @@ -107,23 +109,31 @@ impl VulkanRenderer { let surface_loader = ash::khr::surface::Instance::new(&entry, &instance); let (physical_device, queue_family) = pick_physical_device(&instance, &surface_loader, surface)?; - let (device, graphics_queue) = - create_device(&instance, physical_device, queue_family)?; + let (device, graphics_queue) = create_device(&instance, physical_device, queue_family)?; let swapchain_loader = ash::khr::swapchain::Device::new(&instance, &device); - let (swapchain, swapchain_images, swapchain_format, swapchain_extent) = - create_swapchain(&device, &swapchain_loader, &surface_loader, - physical_device, surface, queue_family, pixel_w, pixel_h)?; + let (swapchain, swapchain_images, swapchain_format, swapchain_extent) = create_swapchain( + &device, + &swapchain_loader, + &surface_loader, + physical_device, + surface, + queue_family, + pixel_w, + pixel_h, + )?; - let swapchain_image_views: Vec<_> = swapchain_images.iter() + let swapchain_image_views: Vec<_> = swapchain_images + .iter() .map(|&img| create_image_view(&device, img, swapchain_format)) .collect(); let render_pass = create_render_pass(&device, swapchain_format)?; - let (descriptor_set_layout, descriptor_pool, descriptor_set) = - create_descriptor(&device)?; - let (pipeline_layout, pipeline) = create_pipeline(&device, render_pass, descriptor_set_layout)?; - let framebuffers: Vec<_> = swapchain_image_views.iter() + let (descriptor_set_layout, descriptor_pool, descriptor_set) = create_descriptor(&device)?; + let (pipeline_layout, pipeline) = + create_pipeline(&device, render_pass, descriptor_set_layout)?; + let framebuffers: Vec<_> = swapchain_image_views + .iter() .map(|&view| create_framebuffer(&device, render_pass, view, swapchain_extent)) .collect(); let command_pool = create_command_pool(&device, queue_family)?; @@ -134,7 +144,13 @@ impl VulkanRenderer { create_vertex_index_buffers(&device, &instance, physical_device)?; let (atlas_image, atlas_memory, atlas_view, atlas_sampler, atlas_map) = - create_atlas_texture(&device, &instance, physical_device, &graphics_queue, command_pool)?; + create_atlas_texture( + &device, + &instance, + physical_device, + &graphics_queue, + command_pool, + )?; let instance_count = grid_w * grid_h; let (instance_buffer, instance_memory, instance_ptr) = @@ -143,18 +159,44 @@ impl VulkanRenderer { update_descriptor_set(&device, descriptor_set, atlas_view, atlas_sampler); Ok(Self { - grid_w, grid_h, - entry, instance, surface, physical_device, device, + grid_w, + grid_h, + entry, + instance, + surface, + physical_device, + device, graphics_queue, - swapchain_loader, swapchain, swapchain_image_views, + swapchain_loader, + swapchain, + swapchain_image_views, swapchain_extent, - render_pass, pipeline, pipeline_layout, framebuffers, - command_pool, command_buffers, - image_available, render_finished, in_flight, frame_index: 0, - vertex_buffer, vertex_memory, index_buffer, index_memory, - atlas_image, atlas_memory, atlas_view, atlas_sampler, atlas_map, - instance_buffer, instance_memory, instance_ptr, instance_count, - descriptor_pool, descriptor_set, descriptor_set_layout, + render_pass, + pipeline, + pipeline_layout, + framebuffers, + command_pool, + command_buffers, + image_available, + render_finished, + in_flight, + frame_index: 0, + vertex_buffer, + vertex_memory, + index_buffer, + index_memory, + atlas_image, + atlas_memory, + atlas_view, + atlas_sampler, + atlas_map, + instance_buffer, + instance_memory, + instance_ptr, + instance_count, + descriptor_pool, + descriptor_set, + descriptor_set_layout, window, }) } @@ -162,10 +204,13 @@ impl VulkanRenderer { pub fn render(&mut self, grid: &Grid, entities: &EntityManager, cam_x: i32, cam_y: i32) { self.check_resize(); - let mut entity_map: std::collections::HashMap<(i32, i32), (char, [u8; 4])> = std::collections::HashMap::new(); + let mut entity_map: std::collections::HashMap<(i32, i32), (char, [u8; 4])> = + std::collections::HashMap::new(); for e in entities.all() { for b in &e.bodies { - if !b.alive { continue; } + if !b.alive { + continue; + } let sx = b.x as i32 - cam_x; let sy = b.y as i32 - cam_y; if sx >= 0 && sx < self.grid_w as i32 && sy >= 0 && sy < self.grid_h as i32 { @@ -174,9 +219,11 @@ impl VulkanRenderer { EntityKind::Goblin if e.alive => 'g', _ => '%', }; - let fg = if e.on_fire { [255, 160, 40, 255] } - else if !e.alive { [100, 60, 60, 255] } - else { + let fg = if e.on_fire { + [255, 160, 40, 255] + } else if !e.alive { + [100, 60, 60, 255] + } else { match e.kind { EntityKind::Player => [255, 255, 100, 255], EntityKind::Goblin => [100, 220, 100, 255], @@ -188,7 +235,8 @@ impl VulkanRenderer { } } - let instances = unsafe { std::slice::from_raw_parts_mut(self.instance_ptr, self.instance_count) }; + let instances = + unsafe { std::slice::from_raw_parts_mut(self.instance_ptr, self.instance_count) }; let bg_default = [10u8, 10, 15, 255]; for dy in 0..self.grid_h { @@ -197,7 +245,8 @@ impl VulkanRenderer { let wx = cam_x + dx as i32; let wy = cam_y + dy as i32; - let (ch, fg, bg) = if let Some(&(ec, ef)) = entity_map.get(&(dx as i32, dy as i32)) { + let (ch, fg, bg) = if let Some(&(ec, ef)) = entity_map.get(&(dx as i32, dy as i32)) + { (ec, ef, bg_default) } else if !grid.in_bounds(wx, wy) { ('?', [80, 80, 80, 255], bg_default) @@ -217,11 +266,20 @@ impl VulkanRenderer { } }; - let (au, av, aw, ah) = self.atlas_map.get(&ch).copied().unwrap_or((0.0, 0.0, 0.0, 0.0)); + let (au, av, aw, ah) = self + .atlas_map + .get(&ch) + .copied() + .unwrap_or((0.0, 0.0, 0.0, 0.0)); instances[idx] = CellInstance { - grid_x: dx as f32, grid_y: dy as f32, - atlas_u: au, atlas_v: av, atlas_w: aw, atlas_h: ah, - fg, bg, + grid_x: dx as f32, + grid_y: dy as f32, + atlas_u: au, + atlas_v: av, + atlas_w: aw, + atlas_h: ah, + fg, + bg, }; } } @@ -234,10 +292,16 @@ impl VulkanRenderer { let _ = device.reset_fences(&[self.in_flight[frame]]); let image_index = match self.swapchain_loader.acquire_next_image( - self.swapchain, u64::MAX, self.image_available[frame], vk::Fence::null() + self.swapchain, + u64::MAX, + self.image_available[frame], + vk::Fence::null(), ) { Ok((idx, _)) => idx as usize, - Err(e) => { eprintln!("acquire: {e:?}"); return; } + Err(e) => { + eprintln!("acquire: {e:?}"); + return; + } }; let cmd = self.command_buffers[frame]; @@ -245,22 +309,29 @@ impl VulkanRenderer { let _ = device.begin_command_buffer(cmd, &vk::CommandBufferBeginInfo::default()); let clear = vk::ClearValue { - color: vk::ClearColorValue { float32: [10.0/255.0, 10.0/255.0, 15.0/255.0, 1.0] }, + color: vk::ClearColorValue { + float32: [10.0 / 255.0, 10.0 / 255.0, 15.0 / 255.0, 1.0], + }, }; let rp_info = vk::RenderPassBeginInfo::default() .render_pass(self.render_pass) .framebuffer(self.framebuffers[image_index]) - .render_area(vk::Rect2D { offset: vk::Offset2D::default(), extent: self.swapchain_extent }) + .render_area(vk::Rect2D { + offset: vk::Offset2D::default(), + extent: self.swapchain_extent, + }) .clear_values(std::slice::from_ref(&clear)); device.cmd_begin_render_pass(cmd, &rp_info, vk::SubpassContents::INLINE); device.cmd_bind_pipeline(cmd, vk::PipelineBindPoint::GRAPHICS, self.pipeline); let viewport = vk::Viewport { - x: 0.0, y: 0.0, + x: 0.0, + y: 0.0, width: self.swapchain_extent.width as f32, height: self.swapchain_extent.height as f32, - min_depth: 0.0, max_depth: 1.0, + min_depth: 0.0, + max_depth: 1.0, }; let scissor = vk::Rect2D { offset: vk::Offset2D::default(), @@ -269,17 +340,36 @@ impl VulkanRenderer { device.cmd_set_viewport(cmd, 0, std::slice::from_ref(&viewport)); device.cmd_set_scissor(cmd, 0, std::slice::from_ref(&scissor)); - device.cmd_bind_vertex_buffers(cmd, 0, &[self.vertex_buffer, self.instance_buffer], &[0, 0]); + device.cmd_bind_vertex_buffers( + cmd, + 0, + &[self.vertex_buffer, self.instance_buffer], + &[0, 0], + ); device.cmd_bind_index_buffer(cmd, self.index_buffer, 0, vk::IndexType::UINT16); - device.cmd_bind_descriptor_sets(cmd, vk::PipelineBindPoint::GRAPHICS, - self.pipeline_layout, 0, &[self.descriptor_set], &[]); + device.cmd_bind_descriptor_sets( + cmd, + vk::PipelineBindPoint::GRAPHICS, + self.pipeline_layout, + 0, + &[self.descriptor_set], + &[], + ); let pc = PushConstants { - screen_size: [self.swapchain_extent.width as f32, self.swapchain_extent.height as f32], + screen_size: [ + self.swapchain_extent.width as f32, + self.swapchain_extent.height as f32, + ], cell_size: [CHAR_W as f32, CHAR_H as f32], }; - device.cmd_push_constants(cmd, self.pipeline_layout, vk::ShaderStageFlags::VERTEX, - 0, bytemuck::bytes_of(&pc)); + device.cmd_push_constants( + cmd, + self.pipeline_layout, + vk::ShaderStageFlags::VERTEX, + 0, + bytemuck::bytes_of(&pc), + ); device.cmd_draw_indexed(cmd, 6, self.instance_count as u32, 0, 0, 0); device.cmd_end_render_pass(cmd); @@ -291,25 +381,37 @@ impl VulkanRenderer { .wait_dst_stage_mask(&wait_stages) .command_buffers(std::slice::from_ref(&cmd)) .signal_semaphores(std::slice::from_ref(&self.render_finished[frame])); - let _ = device.queue_submit(self.graphics_queue, std::slice::from_ref(&submit_info), self.in_flight[frame]); + let _ = device.queue_submit( + self.graphics_queue, + std::slice::from_ref(&submit_info), + self.in_flight[frame], + ); let img_idx = image_index as u32; let present_info = vk::PresentInfoKHR::default() .wait_semaphores(std::slice::from_ref(&self.render_finished[frame])) .swapchains(std::slice::from_ref(&self.swapchain)) .image_indices(std::slice::from_ref(&img_idx)); - let _ = self.swapchain_loader.queue_present(self.graphics_queue, &present_info); + let _ = self + .swapchain_loader + .queue_present(self.graphics_queue, &present_info); } self.frame_index = (self.frame_index + 1) % MAX_FRAMES; } - pub fn grid_w(&self) -> usize { self.grid_w } - pub fn grid_h(&self) -> usize { self.grid_h } + pub fn grid_w(&self) -> usize { + self.grid_w + } + pub fn grid_h(&self) -> usize { + self.grid_h + } fn check_resize(&mut self) { let sl = ash::khr::surface::Instance::new(&self.entry, &self.instance); - let caps = match unsafe { sl.get_physical_device_surface_capabilities(self.physical_device, self.surface) } { + let caps = match unsafe { + sl.get_physical_device_surface_capabilities(self.physical_device, self.surface) + } { Ok(c) => c, Err(_) => return, }; @@ -326,7 +428,8 @@ impl VulkanRenderer { }; if new_extent.width == self.swapchain_extent.width - && new_extent.height == self.swapchain_extent.height { + && new_extent.height == self.swapchain_extent.height + { return; } @@ -334,10 +437,20 @@ impl VulkanRenderer { return; } - unsafe { let _ = self.device.device_wait_idle(); } + unsafe { + let _ = self.device.device_wait_idle(); + } - for &fb in &self.framebuffers { unsafe { self.device.destroy_framebuffer(fb, None); } } - for &v in &self.swapchain_image_views { unsafe { self.device.destroy_image_view(v, None); } } + for &fb in &self.framebuffers { + unsafe { + self.device.destroy_framebuffer(fb, None); + } + } + for &v in &self.swapchain_image_views { + unsafe { + self.device.destroy_image_view(v, None); + } + } let sci = vk::SwapchainCreateInfoKHR::default() .surface(self.surface) @@ -359,39 +472,60 @@ impl VulkanRenderer { Err(_) => return, }; - let new_images = match unsafe { self.swapchain_loader.get_swapchain_images(new_swapchain) } { + let new_images = match unsafe { self.swapchain_loader.get_swapchain_images(new_swapchain) } + { Ok(i) => i, Err(_) => return, }; - let new_views: Vec<_> = new_images.iter() + let new_views: Vec<_> = new_images + .iter() .map(|&img| { let vi = vk::ImageViewCreateInfo::default() - .image(img).view_type(vk::ImageViewType::TYPE_2D) + .image(img) + .view_type(vk::ImageViewType::TYPE_2D) .format(vk::Format::B8G8R8A8_UNORM) .subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, - base_mip_level: 0, level_count: 1, - base_array_layer: 0, layer_count: 1, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, }); - unsafe { self.device.create_image_view(&vi, None).expect("image_view") } - }).collect(); + unsafe { + self.device + .create_image_view(&vi, None) + .expect("image_view") + } + }) + .collect(); - let new_framebuffers: Vec<_> = new_views.iter() + let new_framebuffers: Vec<_> = new_views + .iter() .map(|&view| { let fci = vk::FramebufferCreateInfo::default() .render_pass(self.render_pass) .attachments(std::slice::from_ref(&view)) - .width(new_extent.width).height(new_extent.height).layers(1); + .width(new_extent.width) + .height(new_extent.height) + .layers(1); unsafe { self.device.create_framebuffer(&fci, None).expect("fb") } - }).collect(); + }) + .collect(); - unsafe { self.device.free_command_buffers(self.command_pool, &self.command_buffers); } + unsafe { + self.device + .free_command_buffers(self.command_pool, &self.command_buffers); + } let cai = vk::CommandBufferAllocateInfo::default() .command_pool(self.command_pool) .level(vk::CommandBufferLevel::PRIMARY) .command_buffer_count(new_framebuffers.len() as u32); - let new_cmd_bufs = unsafe { self.device.allocate_command_buffers(&cai).expect("cmd_bufs") }; + let new_cmd_bufs = unsafe { + self.device + .allocate_command_buffers(&cai) + .expect("cmd_bufs") + }; let new_grid_w = (new_extent.width / CHAR_W) as usize; let new_grid_h = (new_extent.height / CHAR_H) as usize; @@ -406,31 +540,63 @@ impl VulkanRenderer { let inst_sz = (new_count * std::mem::size_of::()) as vk::DeviceSize; let ibi = vk::BufferCreateInfo::default() - .size(inst_sz).usage(vk::BufferUsageFlags::VERTEX_BUFFER) + .size(inst_sz) + .usage(vk::BufferUsageFlags::VERTEX_BUFFER) .sharing_mode(vk::SharingMode::EXCLUSIVE); - self.instance_buffer = unsafe { self.device.create_buffer(&ibi, None) }.expect("inst buf"); - let ireq = unsafe { self.device.get_buffer_memory_requirements(self.instance_buffer) }; + self.instance_buffer = + unsafe { self.device.create_buffer(&ibi, None) }.expect("inst buf"); + let ireq = unsafe { + self.device + .get_buffer_memory_requirements(self.instance_buffer) + }; let find_mem = |filter: u32, props: vk::MemoryPropertyFlags| -> u32 { - let mp = unsafe { self.instance.get_physical_device_memory_properties(self.physical_device) }; + let mp = unsafe { + self.instance + .get_physical_device_memory_properties(self.physical_device) + }; for (i, mt) in mp.memory_types.iter().enumerate() { - if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { return i as u32; } + if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { + return i as u32; + } } 0 }; - let imt = find_mem(ireq.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT); - self.instance_memory = unsafe { self.device.allocate_memory( - &vk::MemoryAllocateInfo::default().allocation_size(ireq.size).memory_type_index(imt), None) - }.expect("inst mem"); + let imt = find_mem( + ireq.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + ); + self.instance_memory = unsafe { + self.device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(ireq.size) + .memory_type_index(imt), + None, + ) + } + .expect("inst mem"); self.instance_ptr = unsafe { - self.device.bind_buffer_memory(self.instance_buffer, self.instance_memory, 0).expect("bind"); - let ptr = self.device.map_memory(self.instance_memory, 0, inst_sz, vk::MemoryMapFlags::default()).expect("map"); + self.device + .bind_buffer_memory(self.instance_buffer, self.instance_memory, 0) + .expect("bind"); + let ptr = self + .device + .map_memory( + self.instance_memory, + 0, + inst_sz, + vk::MemoryMapFlags::default(), + ) + .expect("map"); ptr as *mut CellInstance }; self.instance_count = new_count; } - unsafe { self.swapchain_loader.destroy_swapchain(self.swapchain, None); } + unsafe { + self.swapchain_loader + .destroy_swapchain(self.swapchain, None); + } self.swapchain = new_swapchain; self.swapchain_image_views = new_views; @@ -446,13 +612,22 @@ impl Drop for VulkanRenderer { fn drop(&mut self) { unsafe { let _ = self.device.device_wait_idle(); - for &f in &self.in_flight { self.device.destroy_fence(f, None); } - for &s in &self.image_available { self.device.destroy_semaphore(s, None); } - for &s in &self.render_finished { self.device.destroy_semaphore(s, None); } + for &f in &self.in_flight { + self.device.destroy_fence(f, None); + } + for &s in &self.image_available { + self.device.destroy_semaphore(s, None); + } + for &s in &self.render_finished { + self.device.destroy_semaphore(s, None); + } self.device.destroy_command_pool(self.command_pool, None); - for &fb in &self.framebuffers { self.device.destroy_framebuffer(fb, None); } + for &fb in &self.framebuffers { + self.device.destroy_framebuffer(fb, None); + } self.device.destroy_pipeline(self.pipeline, None); - self.device.destroy_pipeline_layout(self.pipeline_layout, None); + self.device + .destroy_pipeline_layout(self.pipeline_layout, None); self.device.destroy_render_pass(self.render_pass, None); self.device.destroy_sampler(self.atlas_sampler, None); self.device.destroy_image_view(self.atlas_view, None); @@ -464,10 +639,15 @@ impl Drop for VulkanRenderer { self.device.free_memory(self.vertex_memory, None); self.device.destroy_buffer(self.index_buffer, None); self.device.free_memory(self.index_memory, None); - self.device.destroy_descriptor_pool(self.descriptor_pool, None); - self.device.destroy_descriptor_set_layout(self.descriptor_set_layout, None); - for &v in &self.swapchain_image_views { self.device.destroy_image_view(v, None); } - self.swapchain_loader.destroy_swapchain(self.swapchain, None); + self.device + .destroy_descriptor_pool(self.descriptor_pool, None); + self.device + .destroy_descriptor_set_layout(self.descriptor_set_layout, None); + for &v in &self.swapchain_image_views { + self.device.destroy_image_view(v, None); + } + self.swapchain_loader + .destroy_swapchain(self.swapchain, None); let sl = ash::khr::surface::Instance::new(&self.entry, &self.instance); sl.destroy_surface(self.surface, None); self.device.destroy_device(None); @@ -476,7 +656,10 @@ impl Drop for VulkanRenderer { } } -fn create_instance(entry: &ash::Entry, required_exts: &'static [*const std::ffi::c_char]) -> Result { +fn create_instance( + entry: &ash::Entry, + required_exts: &'static [*const std::ffi::c_char], +) -> Result { let app_name = CString::new("Verbatim").unwrap(); let app_info = vk::ApplicationInfo::default() .application_name(&app_name) @@ -486,7 +669,8 @@ fn create_instance(entry: &ash::Entry, required_exts: &'static [*const std::ffi: let mut ext_ptrs: Vec<*const i8> = required_exts.iter().map(|&p| p as *const i8).collect(); // Add debug utils extension if available - let avail_exts = unsafe { entry.enumerate_instance_extension_properties(None) }.unwrap_or_default(); + let avail_exts = + unsafe { entry.enumerate_instance_extension_properties(None) }.unwrap_or_default(); let has_debug_utils = avail_exts.iter().any(|e| { let name = unsafe { std::ffi::CStr::from_ptr(e.extension_name.as_ptr() as *const i8) }; name.to_str().unwrap_or("") == "VK_EXT_debug_utils" @@ -498,11 +682,19 @@ fn create_instance(entry: &ash::Entry, required_exts: &'static [*const std::ffi: let create_info = vk::InstanceCreateInfo::default() .application_info(&app_info) .enabled_extension_names(&ext_ptrs); - unsafe { entry.create_instance(&create_info, None).map_err(|e| format!("instance: {e:?}")) } + unsafe { + entry + .create_instance(&create_info, None) + .map_err(|e| format!("instance: {e:?}")) + } } -fn create_surface(entry: &ash::Entry, instance: &ash::Instance, window: &winit::window::Window) -> Result { - use raw_window_handle::{HasWindowHandle, HasDisplayHandle}; +fn create_surface( + entry: &ash::Entry, + instance: &ash::Instance, + window: &winit::window::Window, +) -> Result { + use raw_window_handle::{HasDisplayHandle, HasWindowHandle}; let wh = window.window_handle().map_err(|e| format!("wh: {e}"))?; let dh = window.display_handle().map_err(|e| format!("dh: {e}"))?; let wh_raw = wh.as_raw(); @@ -518,31 +710,48 @@ fn pick_physical_device( sl: &ash::khr::surface::Instance, surface: vk::SurfaceKHR, ) -> Result<(vk::PhysicalDevice, u32), String> { - let devices = unsafe { instance.enumerate_physical_devices().map_err(|e| format!("enum: {e:?}"))? }; + let devices = unsafe { + instance + .enumerate_physical_devices() + .map_err(|e| format!("enum: {e:?}"))? + }; for &pd in &devices { let props = unsafe { instance.get_physical_device_properties(pd) }; - if props.device_type == vk::PhysicalDeviceType::CPU { continue; } + if props.device_type == vk::PhysicalDeviceType::CPU { + continue; + } let qfs = unsafe { instance.get_physical_device_queue_family_properties(pd) }; for (i, qf) in qfs.iter().enumerate() { if qf.queue_flags.contains(vk::QueueFlags::GRAPHICS) { - let ok = unsafe { sl.get_physical_device_surface_support(pd, i as u32, surface) }.unwrap_or(false); - if ok { return Ok((pd, i as u32)); } + let ok = unsafe { sl.get_physical_device_surface_support(pd, i as u32, surface) } + .unwrap_or(false); + if ok { + return Ok((pd, i as u32)); + } } } } Err("No GPU".to_string()) } -fn create_device(instance: &ash::Instance, pd: vk::PhysicalDevice, qf: u32) -> Result<(ash::Device, vk::Queue), String> { +fn create_device( + instance: &ash::Instance, + pd: vk::PhysicalDevice, + qf: u32, +) -> Result<(ash::Device, vk::Queue), String> { let qp = [1.0f32]; - let qi = vk::DeviceQueueCreateInfo::default().queue_family_index(qf).queue_priorities(&qp); + let qi = vk::DeviceQueueCreateInfo::default() + .queue_family_index(qf) + .queue_priorities(&qp); let ext_names: Vec = vec![CString::new("VK_KHR_swapchain").unwrap()]; let ext_ptrs: Vec<*const i8> = ext_names.iter().map(|n| n.as_ptr()).collect(); let ci = vk::DeviceCreateInfo::default() .queue_create_infos(std::slice::from_ref(&qi)) .enabled_extension_names(&ext_ptrs); unsafe { - let device = instance.create_device(pd, &ci, None).map_err(|e| format!("device: {e:?}"))?; + let device = instance + .create_device(pd, &ci, None) + .map_err(|e| format!("device: {e:?}"))?; let queue = device.get_device_queue(qf, 0); Ok((device, queue)) } @@ -555,7 +764,8 @@ fn create_swapchain( pd: vk::PhysicalDevice, surface: vk::SurfaceKHR, qf: u32, - pw: u32, ph: u32, + pw: u32, + ph: u32, ) -> Result<(vk::SwapchainKHR, Vec, vk::Format, vk::Extent2D), String> { let caps = unsafe { surface_loader.get_physical_device_surface_capabilities(pd, surface) } .map_err(|e| format!("caps: {e:?}"))?; @@ -563,8 +773,14 @@ fn create_swapchain( format: vk::Format::B8G8R8A8_UNORM, color_space: vk::ColorSpaceKHR::SRGB_NONLINEAR, }; - let extent = if caps.current_extent.width != u32::MAX { caps.current_extent } - else { vk::Extent2D { width: pw, height: ph } }; + let extent = if caps.current_extent.width != u32::MAX { + caps.current_extent + } else { + vk::Extent2D { + width: pw, + height: ph, + } + }; let ic = caps.min_image_count.max(2); let qf_slice = [qf]; let ci = vk::SwapchainCreateInfoKHR::default() @@ -581,32 +797,45 @@ fn create_swapchain( .composite_alpha(vk::CompositeAlphaFlagsKHR::OPAQUE) .present_mode(vk::PresentModeKHR::FIFO) .clipped(true); - let swapchain = unsafe { sl.create_swapchain(&ci, None) }.map_err(|e| format!("swapchain: {e:?}"))?; - let images = unsafe { sl.get_swapchain_images(swapchain) }.map_err(|e| format!("images: {e:?}"))?; + let swapchain = + unsafe { sl.create_swapchain(&ci, None) }.map_err(|e| format!("swapchain: {e:?}"))?; + let images = + unsafe { sl.get_swapchain_images(swapchain) }.map_err(|e| format!("images: {e:?}"))?; Ok((swapchain, images, format.format, extent)) } fn create_image_view(device: &ash::Device, image: vk::Image, format: vk::Format) -> vk::ImageView { let ci = vk::ImageViewCreateInfo::default() - .image(image).view_type(vk::ImageViewType::TYPE_2D).format(format) + .image(image) + .view_type(vk::ImageViewType::TYPE_2D) + .format(format) .subresource_range(vk::ImageSubresourceRange { - aspect_mask: vk::ImageAspectFlags::COLOR, base_mip_level: 0, - level_count: 1, base_array_layer: 0, layer_count: 1, + aspect_mask: vk::ImageAspectFlags::COLOR, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, }); unsafe { device.create_image_view(&ci, None).expect("image_view") } } fn create_render_pass(device: &ash::Device, format: vk::Format) -> Result { let att = vk::AttachmentDescription::default() - .format(format).samples(vk::SampleCountFlags::TYPE_1) - .load_op(vk::AttachmentLoadOp::CLEAR).store_op(vk::AttachmentStoreOp::STORE) - .initial_layout(vk::ImageLayout::UNDEFINED).final_layout(vk::ImageLayout::PRESENT_SRC_KHR); - let att_ref = vk::AttachmentReference::default().attachment(0).layout(vk::ImageLayout::COLOR_ATTACHMENT_OPTIMAL); + .format(format) + .samples(vk::SampleCountFlags::TYPE_1) + .load_op(vk::AttachmentLoadOp::CLEAR) + .store_op(vk::AttachmentStoreOp::STORE) + .initial_layout(vk::ImageLayout::UNDEFINED) + .final_layout(vk::ImageLayout::PRESENT_SRC_KHR); + let att_ref = vk::AttachmentReference::default() + .attachment(0) + .layout(vk::ImageLayout::COLOR_ATTACHMENT_OPTIMAL); let subpass = vk::SubpassDescription::default() .pipeline_bind_point(vk::PipelineBindPoint::GRAPHICS) .color_attachments(std::slice::from_ref(&att_ref)); let dep = vk::SubpassDependency::default() - .src_subpass(vk::SUBPASS_EXTERNAL).dst_subpass(0) + .src_subpass(vk::SUBPASS_EXTERNAL) + .dst_subpass(0) .src_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) .dst_stage_mask(vk::PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT) .dst_access_mask(vk::AccessFlags::COLOR_ATTACHMENT_WRITE); @@ -614,124 +843,302 @@ fn create_render_pass(device: &ash::Device, format: vk::Format) -> Result Result<(vk::DescriptorSetLayout, vk::DescriptorPool, vk::DescriptorSet), String> { +fn create_descriptor( + device: &ash::Device, +) -> Result< + ( + vk::DescriptorSetLayout, + vk::DescriptorPool, + vk::DescriptorSet, + ), + String, +> { let binding = vk::DescriptorSetLayoutBinding::default() - .binding(0).descriptor_type(vk::DescriptorType::COMBINED_IMAGE_SAMPLER) - .descriptor_count(1).stage_flags(vk::ShaderStageFlags::FRAGMENT); + .binding(0) + .descriptor_type(vk::DescriptorType::COMBINED_IMAGE_SAMPLER) + .descriptor_count(1) + .stage_flags(vk::ShaderStageFlags::FRAGMENT); let li = vk::DescriptorSetLayoutCreateInfo::default().bindings(std::slice::from_ref(&binding)); - let layout = unsafe { device.create_descriptor_set_layout(&li, None) }.map_err(|e| format!("ds_layout: {e:?}"))?; - let ps = vk::DescriptorPoolSize { ty: vk::DescriptorType::COMBINED_IMAGE_SAMPLER, descriptor_count: 1 }; - let pi = vk::DescriptorPoolCreateInfo::default().pool_sizes(std::slice::from_ref(&ps)).max_sets(1); - let pool = unsafe { device.create_descriptor_pool(&pi, None) }.map_err(|e| format!("ds_pool: {e:?}"))?; - let ai = vk::DescriptorSetAllocateInfo::default().descriptor_pool(pool).set_layouts(std::slice::from_ref(&layout)); - let sets = unsafe { device.allocate_descriptor_sets(&ai) }.map_err(|e| format!("alloc_ds: {e:?}"))?; + let layout = unsafe { device.create_descriptor_set_layout(&li, None) } + .map_err(|e| format!("ds_layout: {e:?}"))?; + let ps = vk::DescriptorPoolSize { + ty: vk::DescriptorType::COMBINED_IMAGE_SAMPLER, + descriptor_count: 1, + }; + let pi = vk::DescriptorPoolCreateInfo::default() + .pool_sizes(std::slice::from_ref(&ps)) + .max_sets(1); + let pool = unsafe { device.create_descriptor_pool(&pi, None) } + .map_err(|e| format!("ds_pool: {e:?}"))?; + let ai = vk::DescriptorSetAllocateInfo::default() + .descriptor_pool(pool) + .set_layouts(std::slice::from_ref(&layout)); + let sets = + unsafe { device.allocate_descriptor_sets(&ai) }.map_err(|e| format!("alloc_ds: {e:?}"))?; Ok((layout, pool, sets[0])) } -fn create_pipeline(device: &ash::Device, rp: vk::RenderPass, ds_layout: vk::DescriptorSetLayout) -> Result<(vk::PipelineLayout, vk::Pipeline), String> { +fn create_pipeline( + device: &ash::Device, + rp: vk::RenderPass, + ds_layout: vk::DescriptorSetLayout, +) -> Result<(vk::PipelineLayout, vk::Pipeline), String> { let vert_spv = include_bytes!("../../assets/shaders/cell_vert.spv"); let frag_spv = include_bytes!("../../assets/shaders/cell_frag.spv"); - let vert_code: Vec = vert_spv.chunks_exact(4).map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])).collect(); - let frag_code: Vec = frag_spv.chunks_exact(4).map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])).collect(); - let vm = unsafe { device.create_shader_module(&vk::ShaderModuleCreateInfo::default().code(&vert_code), None) }.map_err(|e| format!("vert: {e:?}"))?; - let fm = unsafe { device.create_shader_module(&vk::ShaderModuleCreateInfo::default().code(&frag_code), None) }.map_err(|e| format!("frag: {e:?}"))?; + let vert_code: Vec = vert_spv + .chunks_exact(4) + .map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])) + .collect(); + let frag_code: Vec = frag_spv + .chunks_exact(4) + .map(|c| u32::from_ne_bytes([c[0], c[1], c[2], c[3]])) + .collect(); + let vm = unsafe { + device.create_shader_module( + &vk::ShaderModuleCreateInfo::default().code(&vert_code), + None, + ) + } + .map_err(|e| format!("vert: {e:?}"))?; + let fm = unsafe { + device.create_shader_module( + &vk::ShaderModuleCreateInfo::default().code(&frag_code), + None, + ) + } + .map_err(|e| format!("frag: {e:?}"))?; let main = CString::new("main").unwrap(); - let vs = vk::PipelineShaderStageCreateInfo::default().stage(vk::ShaderStageFlags::VERTEX).module(vm).name(&main); - let fs = vk::PipelineShaderStageCreateInfo::default().stage(vk::ShaderStageFlags::FRAGMENT).module(fm).name(&main); + let vs = vk::PipelineShaderStageCreateInfo::default() + .stage(vk::ShaderStageFlags::VERTEX) + .module(vm) + .name(&main); + let fs = vk::PipelineShaderStageCreateInfo::default() + .stage(vk::ShaderStageFlags::FRAGMENT) + .module(fm) + .name(&main); let bindings = [ - vk::VertexInputBindingDescription { binding: 0, stride: 8, input_rate: vk::VertexInputRate::VERTEX }, - vk::VertexInputBindingDescription { binding: 1, stride: std::mem::size_of::() as u32, input_rate: vk::VertexInputRate::INSTANCE }, + vk::VertexInputBindingDescription { + binding: 0, + stride: 8, + input_rate: vk::VertexInputRate::VERTEX, + }, + vk::VertexInputBindingDescription { + binding: 1, + stride: std::mem::size_of::() as u32, + input_rate: vk::VertexInputRate::INSTANCE, + }, ]; let attrs = [ - vk::VertexInputAttributeDescription { location: 0, binding: 0, format: vk::Format::R32G32_SFLOAT, offset: 0 }, - vk::VertexInputAttributeDescription { location: 1, binding: 1, format: vk::Format::R32G32_SFLOAT, offset: 0 }, - vk::VertexInputAttributeDescription { location: 2, binding: 1, format: vk::Format::R32G32B32A32_SFLOAT, offset: 8 }, - vk::VertexInputAttributeDescription { location: 3, binding: 1, format: vk::Format::R8G8B8A8_UNORM, offset: 24 }, - vk::VertexInputAttributeDescription { location: 4, binding: 1, format: vk::Format::R8G8B8A8_UNORM, offset: 28 }, + vk::VertexInputAttributeDescription { + location: 0, + binding: 0, + format: vk::Format::R32G32_SFLOAT, + offset: 0, + }, + vk::VertexInputAttributeDescription { + location: 1, + binding: 1, + format: vk::Format::R32G32_SFLOAT, + offset: 0, + }, + vk::VertexInputAttributeDescription { + location: 2, + binding: 1, + format: vk::Format::R32G32B32A32_SFLOAT, + offset: 8, + }, + vk::VertexInputAttributeDescription { + location: 3, + binding: 1, + format: vk::Format::R8G8B8A8_UNORM, + offset: 24, + }, + vk::VertexInputAttributeDescription { + location: 4, + binding: 1, + format: vk::Format::R8G8B8A8_UNORM, + offset: 28, + }, ]; let vi = vk::PipelineVertexInputStateCreateInfo::default() - .vertex_binding_descriptions(&bindings).vertex_attribute_descriptions(&attrs); - let ia = vk::PipelineInputAssemblyStateCreateInfo::default().topology(vk::PrimitiveTopology::TRIANGLE_LIST); + .vertex_binding_descriptions(&bindings) + .vertex_attribute_descriptions(&attrs); + let ia = vk::PipelineInputAssemblyStateCreateInfo::default() + .topology(vk::PrimitiveTopology::TRIANGLE_LIST); let dynamic_states = [vk::DynamicState::VIEWPORT, vk::DynamicState::SCISSOR]; - let dynamic_state = vk::PipelineDynamicStateCreateInfo::default().dynamic_states(&dynamic_states); + let dynamic_state = + vk::PipelineDynamicStateCreateInfo::default().dynamic_states(&dynamic_states); let vs_state = vk::PipelineViewportStateCreateInfo::default() .viewport_count(1) .scissor_count(1); - let rs = vk::PipelineRasterizationStateCreateInfo::default().line_width(1.0).cull_mode(vk::CullModeFlags::NONE); - let ms = vk::PipelineMultisampleStateCreateInfo::default().rasterization_samples(vk::SampleCountFlags::TYPE_1); - let cba = vk::PipelineColorBlendAttachmentState::default().color_write_mask(vk::ColorComponentFlags::RGBA); - let cb = vk::PipelineColorBlendStateCreateInfo::default().attachments(std::slice::from_ref(&cba)); - let pcr = vk::PushConstantRange { stage_flags: vk::ShaderStageFlags::VERTEX, offset: 0, size: std::mem::size_of::() as u32 }; + let rs = vk::PipelineRasterizationStateCreateInfo::default() + .line_width(1.0) + .cull_mode(vk::CullModeFlags::NONE); + let ms = vk::PipelineMultisampleStateCreateInfo::default() + .rasterization_samples(vk::SampleCountFlags::TYPE_1); + let cba = vk::PipelineColorBlendAttachmentState::default() + .color_write_mask(vk::ColorComponentFlags::RGBA); + let cb = + vk::PipelineColorBlendStateCreateInfo::default().attachments(std::slice::from_ref(&cba)); + let pcr = vk::PushConstantRange { + stage_flags: vk::ShaderStageFlags::VERTEX, + offset: 0, + size: std::mem::size_of::() as u32, + }; let li = vk::PipelineLayoutCreateInfo::default() .set_layouts(std::slice::from_ref(&ds_layout)) .push_constant_ranges(std::slice::from_ref(&pcr)); - let layout = unsafe { device.create_pipeline_layout(&li, None) }.map_err(|e| format!("pipeline_layout: {e:?}"))?; + let layout = unsafe { device.create_pipeline_layout(&li, None) } + .map_err(|e| format!("pipeline_layout: {e:?}"))?; let stages = [vs, fs]; let pi = vk::GraphicsPipelineCreateInfo::default() - .stages(&stages).vertex_input_state(&vi).input_assembly_state(&ia) - .viewport_state(&vs_state).rasterization_state(&rs).multisample_state(&ms) - .color_blend_state(&cb).dynamic_state(&dynamic_state) - .layout(layout).render_pass(rp).subpass(0); - let pipes = unsafe { device.create_graphics_pipelines(vk::PipelineCache::null(), std::slice::from_ref(&pi), None) } - .map_err(|(_, e)| format!("pipeline: {e:?}"))?; - unsafe { device.destroy_shader_module(vm, None); device.destroy_shader_module(fm, None); } + .stages(&stages) + .vertex_input_state(&vi) + .input_assembly_state(&ia) + .viewport_state(&vs_state) + .rasterization_state(&rs) + .multisample_state(&ms) + .color_blend_state(&cb) + .dynamic_state(&dynamic_state) + .layout(layout) + .render_pass(rp) + .subpass(0); + let pipes = unsafe { + device.create_graphics_pipelines(vk::PipelineCache::null(), std::slice::from_ref(&pi), None) + } + .map_err(|(_, e)| format!("pipeline: {e:?}"))?; + unsafe { + device.destroy_shader_module(vm, None); + device.destroy_shader_module(fm, None); + } Ok((layout, pipes[0])) } -fn create_framebuffer(device: &ash::Device, rp: vk::RenderPass, view: vk::ImageView, ext: vk::Extent2D) -> vk::Framebuffer { - let ci = vk::FramebufferCreateInfo::default().render_pass(rp).attachments(std::slice::from_ref(&view)) - .width(ext.width).height(ext.height).layers(1); +fn create_framebuffer( + device: &ash::Device, + rp: vk::RenderPass, + view: vk::ImageView, + ext: vk::Extent2D, +) -> vk::Framebuffer { + let ci = vk::FramebufferCreateInfo::default() + .render_pass(rp) + .attachments(std::slice::from_ref(&view)) + .width(ext.width) + .height(ext.height) + .layers(1); unsafe { device.create_framebuffer(&ci, None).expect("fb") } } fn create_command_pool(device: &ash::Device, qf: u32) -> Result { - let ci = vk::CommandPoolCreateInfo::default().queue_family_index(qf).flags(vk::CommandPoolCreateFlags::RESET_COMMAND_BUFFER); - unsafe { device.create_command_pool(&ci, None).map_err(|e| format!("cmd_pool: {e:?}")) } + let ci = vk::CommandPoolCreateInfo::default() + .queue_family_index(qf) + .flags(vk::CommandPoolCreateFlags::RESET_COMMAND_BUFFER); + unsafe { + device + .create_command_pool(&ci, None) + .map_err(|e| format!("cmd_pool: {e:?}")) + } } -fn create_command_buffers(device: &ash::Device, pool: vk::CommandPool, count: usize) -> Result, String> { - let ai = vk::CommandBufferAllocateInfo::default().command_pool(pool).level(vk::CommandBufferLevel::PRIMARY).command_buffer_count(count as u32); - unsafe { device.allocate_command_buffers(&ai).map_err(|e| format!("cmd_bufs: {e:?}")) } +fn create_command_buffers( + device: &ash::Device, + pool: vk::CommandPool, + count: usize, +) -> Result, String> { + let ai = vk::CommandBufferAllocateInfo::default() + .command_pool(pool) + .level(vk::CommandBufferLevel::PRIMARY) + .command_buffer_count(count as u32); + unsafe { + device + .allocate_command_buffers(&ai) + .map_err(|e| format!("cmd_bufs: {e:?}")) + } } -fn create_sync(device: &ash::Device) -> Result<(Vec, Vec, Vec), String> { - let mut ia = Vec::new(); let mut rf = Vec::new(); let mut ifl = Vec::new(); +fn create_sync( + device: &ash::Device, +) -> Result<(Vec, Vec, Vec), String> { + let mut ia = Vec::new(); + let mut rf = Vec::new(); + let mut ifl = Vec::new(); for _ in 0..MAX_FRAMES { unsafe { - ia.push(device.create_semaphore(&vk::SemaphoreCreateInfo::default(), None).map_err(|e| format!("sem: {e:?}"))?); - rf.push(device.create_semaphore(&vk::SemaphoreCreateInfo::default(), None).map_err(|e| format!("sem: {e:?}"))?); - ifl.push(device.create_fence(&vk::FenceCreateInfo::default().flags(vk::FenceCreateFlags::SIGNALED), None).map_err(|e| format!("fence: {e:?}"))?); + ia.push( + device + .create_semaphore(&vk::SemaphoreCreateInfo::default(), None) + .map_err(|e| format!("sem: {e:?}"))?, + ); + rf.push( + device + .create_semaphore(&vk::SemaphoreCreateInfo::default(), None) + .map_err(|e| format!("sem: {e:?}"))?, + ); + ifl.push( + device + .create_fence( + &vk::FenceCreateInfo::default().flags(vk::FenceCreateFlags::SIGNALED), + None, + ) + .map_err(|e| format!("fence: {e:?}"))?, + ); } } Ok((ia, rf, ifl)) } -fn find_mem_type(instance: &ash::Instance, pd: vk::PhysicalDevice, filter: u32, props: vk::MemoryPropertyFlags) -> Result { +fn find_mem_type( + instance: &ash::Instance, + pd: vk::PhysicalDevice, + filter: u32, + props: vk::MemoryPropertyFlags, +) -> Result { let mp = unsafe { instance.get_physical_device_memory_properties(pd) }; for (i, mt) in mp.memory_types.iter().enumerate() { - if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { return Ok(i as u32); } + if (filter & (1 << i)) != 0 && mt.property_flags.contains(props) { + return Ok(i as u32); + } } Err("No memory type".to_string()) } fn create_buffer_with_data( - device: &ash::Device, instance: &ash::Instance, pd: vk::PhysicalDevice, - data: &[T], usage: vk::BufferUsageFlags, + device: &ash::Device, + instance: &ash::Instance, + pd: vk::PhysicalDevice, + data: &[T], + usage: vk::BufferUsageFlags, ) -> Result<(vk::Buffer, vk::DeviceMemory), String> { let size = (data.len() * std::mem::size_of::()) as vk::DeviceSize; - let bi = vk::BufferCreateInfo::default().size(size).usage(usage).sharing_mode(vk::SharingMode::EXCLUSIVE); + let bi = vk::BufferCreateInfo::default() + .size(size) + .usage(usage) + .sharing_mode(vk::SharingMode::EXCLUSIVE); let buf = unsafe { device.create_buffer(&bi, None) }.map_err(|e| format!("buf: {e:?}"))?; let req = unsafe { device.get_buffer_memory_requirements(buf) }; - let mt = find_mem_type(instance, pd, req.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT)?; - let ai = vk::MemoryAllocateInfo::default().allocation_size(req.size).memory_type_index(mt); + let mt = find_mem_type( + instance, + pd, + req.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + )?; + let ai = vk::MemoryAllocateInfo::default() + .allocation_size(req.size) + .memory_type_index(mt); let mem = unsafe { device.allocate_memory(&ai, None) }.map_err(|e| format!("mem: {e:?}"))?; unsafe { device.bind_buffer_memory(buf, mem, 0).expect("bind"); - let ptr = device.map_memory(mem, 0, size, vk::MemoryMapFlags::default()).expect("map"); + let ptr = device + .map_memory(mem, 0, size, vk::MemoryMapFlags::default()) + .expect("map"); std::ptr::copy_nonoverlapping(data.as_ptr() as *const u8, ptr as *mut u8, size as usize); device.unmap_memory(mem); } @@ -739,41 +1146,82 @@ fn create_buffer_with_data( } fn create_vertex_index_buffers( - device: &ash::Device, instance: &ash::Instance, pd: vk::PhysicalDevice, + device: &ash::Device, + instance: &ash::Instance, + pd: vk::PhysicalDevice, ) -> Result<(vk::Buffer, vk::DeviceMemory, vk::Buffer, vk::DeviceMemory), String> { let verts: [f32; 8] = [0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0]; let indices: [u16; 6] = [0, 1, 2, 1, 3, 2]; - let (vb, vm) = create_buffer_with_data(device, instance, pd, &verts, vk::BufferUsageFlags::VERTEX_BUFFER)?; - let (ib, im) = create_buffer_with_data(device, instance, pd, &indices, vk::BufferUsageFlags::INDEX_BUFFER)?; + let (vb, vm) = create_buffer_with_data( + device, + instance, + pd, + &verts, + vk::BufferUsageFlags::VERTEX_BUFFER, + )?; + let (ib, im) = create_buffer_with_data( + device, + instance, + pd, + &indices, + vk::BufferUsageFlags::INDEX_BUFFER, + )?; Ok((vb, vm, ib, im)) } fn create_atlas_texture( - device: &ash::Device, instance: &ash::Instance, pd: vk::PhysicalDevice, - queue: &vk::Queue, pool: vk::CommandPool, -) -> Result<(vk::Image, vk::DeviceMemory, vk::ImageView, vk::Sampler, std::collections::HashMap), String> { + device: &ash::Device, + instance: &ash::Instance, + pd: vk::PhysicalDevice, + queue: &vk::Queue, + pool: vk::CommandPool, +) -> Result< + ( + vk::Image, + vk::DeviceMemory, + vk::ImageView, + vk::Sampler, + std::collections::HashMap, + ), + String, +> { let font_bytes: &[u8] = include_bytes!("../../assets/DejaVuSansMono.ttf"); - let font = Font::from_bytes(font_bytes, FontSettings { collection_index: 0, scale: CHAR_H as f32, load_substitutions: false }).expect("font"); + let font = Font::from_bytes( + font_bytes, + FontSettings { + collection_index: 0, + scale: CHAR_H as f32, + load_substitutions: false, + }, + ) + .expect("font"); let mut atlas_data = vec![0u8; (ATLAS_W * ATLAS_H) as usize]; let mut atlas_map = std::collections::HashMap::new(); let chars: Vec = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~?".chars().collect(); for (i, &ch) in chars.iter().enumerate() { - let col = i % ATLAS_COLS; let row = i / ATLAS_COLS; - atlas_map.insert(ch, ( - (col as f32 * CHAR_W as f32) / ATLAS_W as f32, - (row as f32 * CHAR_H as f32) / ATLAS_H as f32, - CHAR_W as f32 / ATLAS_W as f32, - CHAR_H as f32 / ATLAS_H as f32, - )); + let col = i % ATLAS_COLS; + let row = i / ATLAS_COLS; + atlas_map.insert( + ch, + ( + (col as f32 * CHAR_W as f32) / ATLAS_W as f32, + (row as f32 * CHAR_H as f32) / ATLAS_H as f32, + CHAR_W as f32 / ATLAS_W as f32, + CHAR_H as f32 / ATLAS_H as f32, + ), + ); let (metrics, bitmap) = font.rasterize(ch, CHAR_H as f32); for y in 0..metrics.height.min(CHAR_H as usize) { for x in 0..metrics.width.min(CHAR_W as usize) { let a = bitmap[y * metrics.width + x]; if a > 0 { let px = (x as i32 + metrics.xmin).max(0) as usize; - let py = (y as i32 + CHAR_H as i32 - metrics.height as i32 - metrics.ymin).max(0) as usize; + let py = (y as i32 + CHAR_H as i32 - metrics.height as i32 - metrics.ymin) + .max(0) as usize; if px < CHAR_W as usize && py < CHAR_H as usize { - atlas_data[(row * CHAR_H as usize + py) * ATLAS_W as usize + col * CHAR_W as usize + px] = a; + atlas_data[(row * CHAR_H as usize + py) * ATLAS_W as usize + + col * CHAR_W as usize + + px] = a; } } } @@ -782,56 +1230,166 @@ fn create_atlas_texture( let ii = vk::ImageCreateInfo::default() .image_type(vk::ImageType::TYPE_2D) - .extent(vk::Extent3D { width: ATLAS_W, height: ATLAS_H, depth: 1 }) - .mip_levels(1).array_layers(1).format(vk::Format::R8_UNORM) - .tiling(vk::ImageTiling::OPTIMAL).initial_layout(vk::ImageLayout::UNDEFINED) + .extent(vk::Extent3D { + width: ATLAS_W, + height: ATLAS_H, + depth: 1, + }) + .mip_levels(1) + .array_layers(1) + .format(vk::Format::R8_UNORM) + .tiling(vk::ImageTiling::OPTIMAL) + .initial_layout(vk::ImageLayout::UNDEFINED) .usage(vk::ImageUsageFlags::TRANSFER_DST | vk::ImageUsageFlags::SAMPLED) - .samples(vk::SampleCountFlags::TYPE_1).sharing_mode(vk::SharingMode::EXCLUSIVE); + .samples(vk::SampleCountFlags::TYPE_1) + .sharing_mode(vk::SharingMode::EXCLUSIVE); let image = unsafe { device.create_image(&ii, None) }.map_err(|e| format!("img: {e:?}"))?; let req = unsafe { device.get_image_memory_requirements(image) }; - let mt = find_mem_type(instance, pd, req.memory_type_bits, vk::MemoryPropertyFlags::DEVICE_LOCAL)?; - let mem = unsafe { device.allocate_memory(&vk::MemoryAllocateInfo::default().allocation_size(req.size).memory_type_index(mt), None) }.map_err(|e| format!("img mem: {e:?}"))?; - unsafe { device.bind_image_memory(image, mem, 0).expect("bind img"); } + let mt = find_mem_type( + instance, + pd, + req.memory_type_bits, + vk::MemoryPropertyFlags::DEVICE_LOCAL, + )?; + let mem = unsafe { + device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(req.size) + .memory_type_index(mt), + None, + ) + } + .map_err(|e| format!("img mem: {e:?}"))?; + unsafe { + device.bind_image_memory(image, mem, 0).expect("bind img"); + } // Staging let sz = atlas_data.len() as vk::DeviceSize; - let sbi = vk::BufferCreateInfo::default().size(sz).usage(vk::BufferUsageFlags::TRANSFER_SRC).sharing_mode(vk::SharingMode::EXCLUSIVE); + let sbi = vk::BufferCreateInfo::default() + .size(sz) + .usage(vk::BufferUsageFlags::TRANSFER_SRC) + .sharing_mode(vk::SharingMode::EXCLUSIVE); let sbuf = unsafe { device.create_buffer(&sbi, None) }.expect("staging buf"); let sreq = unsafe { device.get_buffer_memory_requirements(sbuf) }; - let smt = find_mem_type(instance, pd, sreq.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT)?; - let smem = unsafe { device.allocate_memory(&vk::MemoryAllocateInfo::default().allocation_size(sreq.size).memory_type_index(smt), None) }.expect("staging mem"); + let smt = find_mem_type( + instance, + pd, + sreq.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + )?; + let smem = unsafe { + device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(sreq.size) + .memory_type_index(smt), + None, + ) + } + .expect("staging mem"); unsafe { - device.bind_buffer_memory(sbuf, smem, 0).expect("bind staging"); - let ptr = device.map_memory(smem, 0, sz, vk::MemoryMapFlags::default()).expect("map staging"); + device + .bind_buffer_memory(sbuf, smem, 0) + .expect("bind staging"); + let ptr = device + .map_memory(smem, 0, sz, vk::MemoryMapFlags::default()) + .expect("map staging"); std::ptr::copy_nonoverlapping(atlas_data.as_ptr(), ptr as *mut u8, atlas_data.len()); device.unmap_memory(smem); } // Copy let cmd = unsafe { - let c = device.allocate_command_buffers(&vk::CommandBufferAllocateInfo::default() - .command_pool(pool).level(vk::CommandBufferLevel::PRIMARY).command_buffer_count(1)).expect("alloc")[0]; - device.begin_command_buffer(c, &vk::CommandBufferBeginInfo::default().flags(vk::CommandBufferUsageFlags::ONE_TIME_SUBMIT)).expect("begin"); + let c = device + .allocate_command_buffers( + &vk::CommandBufferAllocateInfo::default() + .command_pool(pool) + .level(vk::CommandBufferLevel::PRIMARY) + .command_buffer_count(1), + ) + .expect("alloc")[0]; + device + .begin_command_buffer( + c, + &vk::CommandBufferBeginInfo::default() + .flags(vk::CommandBufferUsageFlags::ONE_TIME_SUBMIT), + ) + .expect("begin"); let b1 = vk::ImageMemoryBarrier::default() - .old_layout(vk::ImageLayout::UNDEFINED).new_layout(vk::ImageLayout::TRANSFER_DST_OPTIMAL) - .src_queue_family_index(vk::QUEUE_FAMILY_IGNORED).dst_queue_family_index(vk::QUEUE_FAMILY_IGNORED) - .image(image).subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, base_mip_level: 0, level_count: 1, base_array_layer: 0, layer_count: 1 }) - .src_access_mask(vk::AccessFlags::default()).dst_access_mask(vk::AccessFlags::TRANSFER_WRITE); - device.cmd_pipeline_barrier(c, vk::PipelineStageFlags::TOP_OF_PIPE, vk::PipelineStageFlags::TRANSFER, vk::DependencyFlags::default(), &[], &[], std::slice::from_ref(&b1)); - device.cmd_copy_buffer_to_image(c, sbuf, image, vk::ImageLayout::TRANSFER_DST_OPTIMAL, - std::slice::from_ref(&vk::BufferImageCopy::default() - .buffer_row_length(ATLAS_W).buffer_image_height(ATLAS_H) - .image_subresource(vk::ImageSubresourceLayers { aspect_mask: vk::ImageAspectFlags::COLOR, mip_level: 0, base_array_layer: 0, layer_count: 1 }) - .image_extent(vk::Extent3D { width: ATLAS_W, height: ATLAS_H, depth: 1 }))); + .old_layout(vk::ImageLayout::UNDEFINED) + .new_layout(vk::ImageLayout::TRANSFER_DST_OPTIMAL) + .src_queue_family_index(vk::QUEUE_FAMILY_IGNORED) + .dst_queue_family_index(vk::QUEUE_FAMILY_IGNORED) + .image(image) + .subresource_range(vk::ImageSubresourceRange { + aspect_mask: vk::ImageAspectFlags::COLOR, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, + }) + .src_access_mask(vk::AccessFlags::default()) + .dst_access_mask(vk::AccessFlags::TRANSFER_WRITE); + device.cmd_pipeline_barrier( + c, + vk::PipelineStageFlags::TOP_OF_PIPE, + vk::PipelineStageFlags::TRANSFER, + vk::DependencyFlags::default(), + &[], + &[], + std::slice::from_ref(&b1), + ); + device.cmd_copy_buffer_to_image( + c, + sbuf, + image, + vk::ImageLayout::TRANSFER_DST_OPTIMAL, + std::slice::from_ref( + &vk::BufferImageCopy::default() + .buffer_row_length(ATLAS_W) + .buffer_image_height(ATLAS_H) + .image_subresource(vk::ImageSubresourceLayers { + aspect_mask: vk::ImageAspectFlags::COLOR, + mip_level: 0, + base_array_layer: 0, + layer_count: 1, + }) + .image_extent(vk::Extent3D { + width: ATLAS_W, + height: ATLAS_H, + depth: 1, + }), + ), + ); let b2 = vk::ImageMemoryBarrier::default() - .old_layout(vk::ImageLayout::TRANSFER_DST_OPTIMAL).new_layout(vk::ImageLayout::SHADER_READ_ONLY_OPTIMAL) - .src_queue_family_index(vk::QUEUE_FAMILY_IGNORED).dst_queue_family_index(vk::QUEUE_FAMILY_IGNORED) - .image(image).subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, base_mip_level: 0, level_count: 1, base_array_layer: 0, layer_count: 1 }) - .src_access_mask(vk::AccessFlags::TRANSFER_WRITE).dst_access_mask(vk::AccessFlags::SHADER_READ); - device.cmd_pipeline_barrier(c, vk::PipelineStageFlags::TRANSFER, vk::PipelineStageFlags::FRAGMENT_SHADER, vk::DependencyFlags::default(), &[], &[], std::slice::from_ref(&b2)); + .old_layout(vk::ImageLayout::TRANSFER_DST_OPTIMAL) + .new_layout(vk::ImageLayout::SHADER_READ_ONLY_OPTIMAL) + .src_queue_family_index(vk::QUEUE_FAMILY_IGNORED) + .dst_queue_family_index(vk::QUEUE_FAMILY_IGNORED) + .image(image) + .subresource_range(vk::ImageSubresourceRange { + aspect_mask: vk::ImageAspectFlags::COLOR, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, + }) + .src_access_mask(vk::AccessFlags::TRANSFER_WRITE) + .dst_access_mask(vk::AccessFlags::SHADER_READ); + device.cmd_pipeline_barrier( + c, + vk::PipelineStageFlags::TRANSFER, + vk::PipelineStageFlags::FRAGMENT_SHADER, + vk::DependencyFlags::default(), + &[], + &[], + std::slice::from_ref(&b2), + ); device.end_command_buffer(c).expect("end"); let si = vk::SubmitInfo::default().command_buffers(std::slice::from_ref(&c)); - device.queue_submit(*queue, std::slice::from_ref(&si), vk::Fence::null()).expect("submit"); + device + .queue_submit(*queue, std::slice::from_ref(&si), vk::Fence::null()) + .expect("submit"); device.queue_wait_idle(*queue).expect("wait"); c }; @@ -842,36 +1400,82 @@ fn create_atlas_texture( } let vi = vk::ImageViewCreateInfo::default() - .image(image).view_type(vk::ImageViewType::TYPE_2D).format(vk::Format::R8_UNORM) - .subresource_range(vk::ImageSubresourceRange { aspect_mask: vk::ImageAspectFlags::COLOR, base_mip_level: 0, level_count: 1, base_array_layer: 0, layer_count: 1 }); + .image(image) + .view_type(vk::ImageViewType::TYPE_2D) + .format(vk::Format::R8_UNORM) + .subresource_range(vk::ImageSubresourceRange { + aspect_mask: vk::ImageAspectFlags::COLOR, + base_mip_level: 0, + level_count: 1, + base_array_layer: 0, + layer_count: 1, + }); let view = unsafe { device.create_image_view(&vi, None) }.expect("atlas view"); let si = vk::SamplerCreateInfo::default() - .mag_filter(vk::Filter::LINEAR).min_filter(vk::Filter::LINEAR) - .address_mode_u(vk::SamplerAddressMode::CLAMP_TO_EDGE).address_mode_v(vk::SamplerAddressMode::CLAMP_TO_EDGE).address_mode_w(vk::SamplerAddressMode::CLAMP_TO_EDGE) - .border_color(vk::BorderColor::INT_OPAQUE_BLACK).unnormalized_coordinates(false); + .mag_filter(vk::Filter::LINEAR) + .min_filter(vk::Filter::LINEAR) + .address_mode_u(vk::SamplerAddressMode::CLAMP_TO_EDGE) + .address_mode_v(vk::SamplerAddressMode::CLAMP_TO_EDGE) + .address_mode_w(vk::SamplerAddressMode::CLAMP_TO_EDGE) + .border_color(vk::BorderColor::INT_OPAQUE_BLACK) + .unnormalized_coordinates(false); let sampler = unsafe { device.create_sampler(&si, None) }.expect("sampler"); Ok((image, mem, view, sampler, atlas_map)) } fn create_instance_buffer( - device: &ash::Device, instance: &ash::Instance, pd: vk::PhysicalDevice, count: usize, + device: &ash::Device, + instance: &ash::Instance, + pd: vk::PhysicalDevice, + count: usize, ) -> Result<(vk::Buffer, vk::DeviceMemory, *mut CellInstance), String> { let sz = (count * std::mem::size_of::()) as vk::DeviceSize; - let bi = vk::BufferCreateInfo::default().size(sz).usage(vk::BufferUsageFlags::VERTEX_BUFFER).sharing_mode(vk::SharingMode::EXCLUSIVE); + let bi = vk::BufferCreateInfo::default() + .size(sz) + .usage(vk::BufferUsageFlags::VERTEX_BUFFER) + .sharing_mode(vk::SharingMode::EXCLUSIVE); let buf = unsafe { device.create_buffer(&bi, None) }.map_err(|e| format!("inst buf: {e:?}"))?; let req = unsafe { device.get_buffer_memory_requirements(buf) }; - let mt = find_mem_type(instance, pd, req.memory_type_bits, vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT)?; - let mem = unsafe { device.allocate_memory(&vk::MemoryAllocateInfo::default().allocation_size(req.size).memory_type_index(mt), None) }.map_err(|e| format!("inst mem: {e:?}"))?; + let mt = find_mem_type( + instance, + pd, + req.memory_type_bits, + vk::MemoryPropertyFlags::HOST_VISIBLE | vk::MemoryPropertyFlags::HOST_COHERENT, + )?; + let mem = unsafe { + device.allocate_memory( + &vk::MemoryAllocateInfo::default() + .allocation_size(req.size) + .memory_type_index(mt), + None, + ) + } + .map_err(|e| format!("inst mem: {e:?}"))?; unsafe { device.bind_buffer_memory(buf, mem, 0).expect("bind inst"); - let ptr = device.map_memory(mem, 0, sz, vk::MemoryMapFlags::default()).expect("map inst"); + let ptr = device + .map_memory(mem, 0, sz, vk::MemoryMapFlags::default()) + .expect("map inst"); Ok((buf, mem, ptr as *mut CellInstance)) } } -fn update_descriptor_set(device: &ash::Device, set: vk::DescriptorSet, view: vk::ImageView, sampler: vk::Sampler) { - let ii = vk::DescriptorImageInfo::default().image_layout(vk::ImageLayout::SHADER_READ_ONLY_OPTIMAL).image_view(view).sampler(sampler); - let w = vk::WriteDescriptorSet::default().dst_set(set).dst_binding(0) - .descriptor_type(vk::DescriptorType::COMBINED_IMAGE_SAMPLER).image_info(std::slice::from_ref(&ii)); - unsafe { device.update_descriptor_sets(std::slice::from_ref(&w), &[]); } +fn update_descriptor_set( + device: &ash::Device, + set: vk::DescriptorSet, + view: vk::ImageView, + sampler: vk::Sampler, +) { + let ii = vk::DescriptorImageInfo::default() + .image_layout(vk::ImageLayout::SHADER_READ_ONLY_OPTIMAL) + .image_view(view) + .sampler(sampler); + let w = vk::WriteDescriptorSet::default() + .dst_set(set) + .dst_binding(0) + .descriptor_type(vk::DescriptorType::COMBINED_IMAGE_SAMPLER) + .image_info(std::slice::from_ref(&ii)); + unsafe { + device.update_descriptor_sets(std::slice::from_ref(&w), &[]); + } }