Files
Odoo-Modules/fusion_accounting_core/graphify-out/graph.html
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

257 lines
63 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>graphify - /Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/graphify-out/graph.html</title>
<script src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0f0f1a; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; display: flex; height: 100vh; overflow: hidden; }
#graph { flex: 1; }
#sidebar { width: 280px; background: #1a1a2e; border-left: 1px solid #2a2a4e; display: flex; flex-direction: column; overflow: hidden; }
#search-wrap { padding: 12px; border-bottom: 1px solid #2a2a4e; }
#search { width: 100%; background: #0f0f1a; border: 1px solid #3a3a5e; color: #e0e0e0; padding: 7px 10px; border-radius: 6px; font-size: 13px; outline: none; }
#search:focus { border-color: #4E79A7; }
#search-results { max-height: 140px; overflow-y: auto; padding: 4px 12px; border-bottom: 1px solid #2a2a4e; display: none; }
.search-item { padding: 4px 6px; cursor: pointer; border-radius: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item:hover { background: #2a2a4e; }
#info-panel { padding: 14px; border-bottom: 1px solid #2a2a4e; min-height: 140px; }
#info-panel h3 { font-size: 13px; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
#info-content { font-size: 13px; color: #ccc; line-height: 1.6; }
#info-content .field { margin-bottom: 5px; }
#info-content .field b { color: #e0e0e0; }
#info-content .empty { color: #555; font-style: italic; }
.neighbor-link { display: block; padding: 2px 6px; margin: 2px 0; border-radius: 3px; cursor: pointer; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid #333; }
.neighbor-link:hover { background: #2a2a4e; }
#neighbors-list { max-height: 160px; overflow-y: auto; margin-top: 4px; }
#legend-wrap { flex: 1; overflow-y: auto; padding: 12px; }
#legend-wrap h3 { font-size: 13px; color: #aaa; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.legend-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; border-radius: 4px; font-size: 12px; }
.legend-item:hover { background: #2a2a4e; padding-left: 4px; }
.legend-item.dimmed { opacity: 0.35; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-count { color: #666; font-size: 11px; }
#stats { padding: 10px 14px; border-top: 1px solid #2a2a4e; font-size: 11px; color: #555; }
</style>
</head>
<body>
<div id="graph"></div>
<div id="sidebar">
<div id="search-wrap">
<input id="search" type="text" placeholder="Search nodes..." autocomplete="off">
<div id="search-results"></div>
</div>
<div id="info-panel">
<h3>Node Info</h3>
<div id="info-content"><span class="empty">Click a node to inspect it</span></div>
</div>
<div id="legend-wrap">
<h3>Communities</h3>
<div id="legend"></div>
</div>
<div id="stats">66 nodes &middot; 62 edges &middot; 17 communities</div>
</div>
<script>
const RAW_NODES = [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_init_py", "label": "__init__.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": "__init__.py", "community": 6, "community_name": "Community 6", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/__init__.py", "file_type": "code", "degree": 3}, {"id": "init_post_init_hook", "label": "post_init_hook()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": "post_init_hook()", "community": 6, "community_name": "Community 6", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/__init__.py", "file_type": "code", "degree": 3}, {"id": "init_rationale_5", "label": "Initialize coexistence group membership based on current Enterprise install stat", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Initialize coexistence group membership based on current Enterprise install stat", "community": 6, "community_name": "Community 6", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/__init__.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_manifest_py", "label": "__manifest__.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__manifest__.py", "community": 13, "community_name": "Community 13", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/__manifest__.py", "file_type": "code", "degree": 0}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_pre_migration_py", "label": "pre-migration.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "pre-migration.py", "community": 4, "community_name": "Community 4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/pre-migration.py", "file_type": "code", "degree": 2}, {"id": "pre_migration_migrate", "label": "migrate()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "migrate()", "community": 4, "community_name": "Community 4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/pre-migration.py", "file_type": "code", "degree": 1}, {"id": "pre_migration_rationale_1", "label": "Rehome the fusion security xml-ids to fusion_accounting_core BEFORE data-load.", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Rehome the fusion security xml-ids to fusion_accounting_core BEFORE data-load.", "community": 4, "community_name": "Community 4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/pre-migration.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_post_migration_py", "label": "post-migration.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "post-migration.py", "community": 5, "community_name": "Community 5", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/post-migration.py", "file_type": "code", "degree": 2}, {"id": "post_migration_migrate", "label": "migrate()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "migrate()", "community": 5, "community_name": "Community 5", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/post-migration.py", "file_type": "code", "degree": 1}, {"id": "post_migration_rationale_1", "label": "Safety-net reassignment of security xml-ids to fusion_accounting_core. The actu", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Safety-net reassignment of security xml-ids to fusion_accounting_core. The actu", "community": 5, "community_name": "Community 5", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/migrations/19.0.1.0.0/post-migration.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_init_py", "label": "__init__.py", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "__init__.py", "community": 11, "community_name": "Community 11", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/__init__.py", "file_type": "code", "degree": 2}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_shared_field_bank_statement_py", "label": "test_shared_field_bank_statement.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "test_shared_field_bank_statement.py", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_bank_statement.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_bank_statement_testsharedfieldbankstatementline", "label": "TestSharedFieldBankStatementLine", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 25.0, "font": {"size": 12, "color": "#ffffff"}, "title": "TestSharedFieldBankStatementLine", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_bank_statement.py", "file_type": "code", "degree": 4}, {"id": "transactioncase", "label": "TransactionCase", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 25.0, "font": {"size": 12, "color": "#ffffff"}, "title": "TransactionCase", "community": 0, "community_name": "Community 0", "source_file": "", "file_type": "code", "degree": 4}, {"id": "test_shared_field_bank_statement_testsharedfieldbankstatementline_test_cron_last_check_field_exists", "label": ".test_cron_last_check_field_exists()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_cron_last_check_field_exists()", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_bank_statement.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_bank_statement_rationale_6", "label": "Verify fusion_accounting_core declares the Enterprise extension fields on ac", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Verify fusion_accounting_core declares the Enterprise extension fields on ac", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_bank_statement.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_shared_field_ownership_py", "label": "test_shared_field_ownership.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "test_shared_field_ownership.py", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_ownership_testsharedfieldownership", "label": "TestSharedFieldOwnership", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "TestSharedFieldOwnership", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 8}, {"id": "test_shared_field_ownership_testsharedfieldownership_test_account_move_deferred_fields_exist", "label": ".test_account_move_deferred_fields_exist()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_account_move_deferred_fields_exist()", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_ownership_testsharedfieldownership_test_account_move_signing_user_exists", "label": ".test_account_move_signing_user_exists()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_account_move_signing_user_exists()", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_ownership_testsharedfieldownership_test_account_move_payment_state_before_switch_exists", "label": ".test_account_move_payment_state_before_switch_exists()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_account_move_payment_state_before_switch_exists()", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_ownership_testsharedfieldownership_test_account_reconcile_model_created_automatically_exists", "label": ".test_account_reconcile_model_created_automatically_exists()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_account_reconcile_model_created_automatically_exists()", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 1}, {"id": "test_shared_field_ownership_testsharedfieldownership_test_deferred_relation_table_name_matches_enterprise", "label": ".test_deferred_relation_table_name_matches_enterprise()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": ".test_deferred_relation_table_name_matches_enterprise()", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "code", "degree": 2}, {"id": "test_shared_field_ownership_rationale_6", "label": "Verify fusion_accounting_core declares the Enterprise extension fields on ac", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Verify fusion_accounting_core declares the Enterprise extension fields on ac", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "rationale", "degree": 1}, {"id": "test_shared_field_ownership_rationale_27", "label": "The shared M2M relation table must be named identically to Enterprise's", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "The shared M2M relation table must be named identically to Enterprise&#x27;s", "community": 2, "community_name": "Community 2", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_shared_field_ownership.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_coexistence_group_py", "label": "test_coexistence_group.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "test_coexistence_group.py", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "code", "degree": 1}, {"id": "test_coexistence_group_testcoexistencegroup", "label": "TestCoexistenceGroup", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 32.5, "font": {"size": 12, "color": "#ffffff"}, "title": "TestCoexistenceGroup", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "code", "degree": 6}, {"id": "test_coexistence_group_testcoexistencegroup_test_group_exists", "label": ".test_group_exists()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": ".test_group_exists()", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "code", "degree": 1}, {"id": "test_coexistence_group_testcoexistencegroup_test_membership_matches_enterprise_state", "label": ".test_membership_matches_enterprise_state()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": ".test_membership_matches_enterprise_state()", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "code", "degree": 3}, {"id": "test_coexistence_group_testcoexistencegroup_test_recompute_method_exists", "label": ".test_recompute_method_exists()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": ".test_recompute_method_exists()", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "code", "degree": 2}, {"id": "test_coexistence_group_rationale_6", "label": "The 'show when Enterprise absent' group must exist and have computed membership.", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "The &#x27;show when Enterprise absent&#x27; group must exist and have computed membership.", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "rationale", "degree": 1}, {"id": "test_coexistence_group_rationale_16", "label": "A user is in the group iff Enterprise accounting is NOT installed. We c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "A user is in the group iff Enterprise accounting is NOT installed. We c", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "rationale", "degree": 1}, {"id": "test_coexistence_group_rationale_39", "label": "The recompute helper must be callable on res.users.", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "The recompute helper must be callable on res.users.", "community": 0, "community_name": "Community 0", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_coexistence_group.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_enterprise_detection_py", "label": "test_enterprise_detection.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "test_enterprise_detection.py", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "code", "degree": 1}, {"id": "test_enterprise_detection_testenterprisedetection", "label": "TestEnterpriseDetection", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 28.8, "font": {"size": 12, "color": "#ffffff"}, "title": "TestEnterpriseDetection", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "code", "degree": 5}, {"id": "test_enterprise_detection_testenterprisedetection_test_helper_returns_bool", "label": ".test_helper_returns_bool()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": ".test_helper_returns_bool()", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "code", "degree": 2}, {"id": "test_enterprise_detection_testenterprisedetection_test_helper_matches_actual_state", "label": ".test_helper_matches_actual_state()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": ".test_helper_matches_actual_state()", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "code", "degree": 3}, {"id": "test_enterprise_detection_rationale_6", "label": "Verify the helper that detects Odoo Enterprise accounting installs.", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Verify the helper that detects Odoo Enterprise accounting installs.", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "rationale", "degree": 1}, {"id": "test_enterprise_detection_rationale_13", "label": "Helper should return True iff one of the known Enterprise modules is installed.", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Helper should return True iff one of the known Enterprise modules is installed.", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/tests/test_enterprise_detection.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_ir_module_module_py", "label": "ir_module_module.py", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": "ir_module_module.py", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 3}, {"id": "ir_module_module_irmodulemodule", "label": "IrModuleModule", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 25.0, "font": {"size": 12, "color": "#ffffff"}, "title": "IrModuleModule", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 4}, {"id": "ir_module_module_fusion_is_enterprise_accounting_installed", "label": "_fusion_is_enterprise_accounting_installed()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 28.8, "font": {"size": 12, "color": "#ffffff"}, "title": "_fusion_is_enterprise_accounting_installed()", "community": 3, "community_name": "Community 3", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 5}, {"id": "ir_module_module_fusion_is_module_installed", "label": "_fusion_is_module_installed()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "_fusion_is_module_installed()", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 1}, {"id": "ir_module_module_irmodulemodule_button_immediate_install", "label": ".button_immediate_install()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": ".button_immediate_install()", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 3}, {"id": "ir_module_module_irmodulemodule_button_immediate_uninstall", "label": ".button_immediate_uninstall()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": ".button_immediate_uninstall()", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 3}, {"id": "ir_module_module_irmodulemodule_module_uninstall", "label": ".module_uninstall()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": ".module_uninstall()", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "code", "degree": 3}, {"id": "ir_module_module_rationale_20", "label": "True if any Odoo Enterprise accounting module is installed in this DB.", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "True if any Odoo Enterprise accounting module is installed in this DB.", "community": 14, "community_name": "Community 14", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "rationale", "degree": 0}, {"id": "ir_module_module_rationale_28", "label": "True if a specific module is installed.", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "True if a specific module is installed.", "community": 15, "community_name": "Community 15", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "rationale", "degree": 0}, {"id": "ir_module_module_rationale_35", "label": "Recompute the coexistence group after install state changes.", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Recompute the coexistence group after install state changes.", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "rationale", "degree": 1}, {"id": "ir_module_module_rationale_41", "label": "Recompute the coexistence group after uninstall state changes. The MRO", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Recompute the coexistence group after uninstall state changes. The MRO", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "rationale", "degree": 1}, {"id": "ir_module_module_rationale_52", "label": "Recompute the coexistence group after the lower-level uninstall.", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Recompute the coexistence group after the lower-level uninstall.", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/ir_module_module.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_move_py", "label": "account_move.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "account_move.py", "community": 7, "community_name": "Community 7", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_move.py", "file_type": "code", "degree": 2}, {"id": "account_move_accountmove", "label": "AccountMove", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "AccountMove", "community": 7, "community_name": "Community 7", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_move.py", "file_type": "code", "degree": 1}, {"id": "account_move_rationale_1", "label": "Shared-field-ownership declarations for account.move. Per the roadmap (Section", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Shared-field-ownership declarations for account.move. Per the roadmap (Section", "community": 7, "community_name": "Community 7", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_move.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_reconcile_model_py", "label": "account_reconcile_model.py", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "account_reconcile_model.py", "community": 8, "community_name": "Community 8", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_reconcile_model.py", "file_type": "code", "degree": 2}, {"id": "account_reconcile_model_accountreconcilemodel", "label": "AccountReconcileModel", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "AccountReconcileModel", "community": 8, "community_name": "Community 8", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_reconcile_model.py", "file_type": "code", "degree": 1}, {"id": "account_reconcile_model_rationale_1", "label": "Shared-field-ownership for account.reconcile.model. Mirrors the single field En", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Shared-field-ownership for account.reconcile.model. Mirrors the single field En", "community": 8, "community_name": "Community 8", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_reconcile_model.py", "file_type": "rationale", "degree": 1}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_init_py", "label": "__init__.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "__init__.py", "community": 12, "community_name": "Community 12", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/__init__.py", "file_type": "code", "degree": 2}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_res_users_py", "label": "res_users.py", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 21.2, "font": {"size": 12, "color": "#ffffff"}, "title": "res_users.py", "community": 9, "community_name": "Community 9", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/res_users.py", "file_type": "code", "degree": 3}, {"id": "res_users_resusers", "label": "ResUsers", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "ResUsers", "community": 9, "community_name": "Community 9", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/res_users.py", "file_type": "code", "degree": 1}, {"id": "res_users_fusion_recompute_coexistence_group", "label": "_fusion_recompute_coexistence_group()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 32.5, "font": {"size": 12, "color": "#ffffff"}, "title": "_fusion_recompute_coexistence_group()", "community": 1, "community_name": "Community 1", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/res_users.py", "file_type": "code", "degree": 6}, {"id": "res_users_rationale_1", "label": "Coexistence group membership recomputation.", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Coexistence group membership recomputation.", "community": 9, "community_name": "Community 9", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/res_users.py", "file_type": "rationale", "degree": 1}, {"id": "res_users_rationale_11", "label": "Maintain the two coexistence groups based on Enterprise presence. - ``g", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "Maintain the two coexistence groups based on Enterprise presence. - ``g", "community": 16, "community_name": "Community 16", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/res_users.py", "file_type": "rationale", "degree": 0}, {"id": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_bank_statement_line_py", "label": "account_bank_statement_line.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 17.5, "font": {"size": 12, "color": "#ffffff"}, "title": "account_bank_statement_line.py", "community": 10, "community_name": "Community 10", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_bank_statement_line.py", "file_type": "code", "degree": 2}, {"id": "account_bank_statement_line_accountbankstatementline", "label": "AccountBankStatementLine", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "AccountBankStatementLine", "community": 10, "community_name": "Community 10", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_bank_statement_line.py", "file_type": "code", "degree": 1}, {"id": "account_bank_statement_line_rationale_1", "label": "Shared-field-ownership for account.bank.statement.line. Enterprise's account_ac", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 13.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Shared-field-ownership for account.bank.statement.line. Enterprise&#x27;s account_ac", "community": 10, "community_name": "Community 10", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_core/models/account_bank_statement_line.py", "file_type": "rationale", "degree": 1}];
const RAW_EDGES = [{"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_init_py", "to": "users_gurpreet_github_odoo_modules_fusion_accounting_core_init_py", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_init_py", "to": "init_post_init_hook", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "init_post_init_hook", "to": "init_rationale_5", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "init_post_init_hook", "to": "res_users_fusion_recompute_coexistence_group", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_pre_migration_py", "to": "pre_migration_migrate", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_pre_migration_py", "to": "pre_migration_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_post_migration_py", "to": "post_migration_migrate", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_migrations_19_0_1_0_0_post_migration_py", "to": "post_migration_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_init_py", "to": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_init_py", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_shared_field_bank_statement_py", "to": "test_shared_field_bank_statement_testsharedfieldbankstatementline", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_bank_statement_testsharedfieldbankstatementline", "to": "transactioncase", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_bank_statement_testsharedfieldbankstatementline", "to": "test_shared_field_bank_statement_testsharedfieldbankstatementline_test_cron_last_check_field_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_bank_statement_testsharedfieldbankstatementline", "to": "test_shared_field_bank_statement_rationale_6", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "transactioncase", "to": "test_shared_field_ownership_testsharedfieldownership", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "transactioncase", "to": "test_coexistence_group_testcoexistencegroup", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "transactioncase", "to": "test_enterprise_detection_testenterprisedetection", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_shared_field_ownership_py", "to": "test_shared_field_ownership_testsharedfieldownership", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_testsharedfieldownership_test_account_move_deferred_fields_exist", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_testsharedfieldownership_test_account_move_signing_user_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_testsharedfieldownership_test_account_move_payment_state_before_switch_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_testsharedfieldownership_test_account_reconcile_model_created_automatically_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_testsharedfieldownership_test_deferred_relation_table_name_matches_enterprise", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership", "to": "test_shared_field_ownership_rationale_6", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_shared_field_ownership_testsharedfieldownership_test_deferred_relation_table_name_matches_enterprise", "to": "test_shared_field_ownership_rationale_27", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_coexistence_group_py", "to": "test_coexistence_group_testcoexistencegroup", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup", "to": "test_coexistence_group_testcoexistencegroup_test_group_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup", "to": "test_coexistence_group_testcoexistencegroup_test_membership_matches_enterprise_state", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup", "to": "test_coexistence_group_testcoexistencegroup_test_recompute_method_exists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup", "to": "test_coexistence_group_rationale_6", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup_test_membership_matches_enterprise_state", "to": "test_coexistence_group_rationale_16", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_coexistence_group_testcoexistencegroup_test_membership_matches_enterprise_state", "to": "ir_module_module_fusion_is_enterprise_accounting_installed", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "test_coexistence_group_testcoexistencegroup_test_recompute_method_exists", "to": "test_coexistence_group_rationale_39", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_tests_test_enterprise_detection_py", "to": "test_enterprise_detection_testenterprisedetection", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_enterprise_detection_testenterprisedetection", "to": "test_enterprise_detection_testenterprisedetection_test_helper_returns_bool", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_enterprise_detection_testenterprisedetection", "to": "test_enterprise_detection_testenterprisedetection_test_helper_matches_actual_state", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_enterprise_detection_testenterprisedetection", "to": "test_enterprise_detection_rationale_6", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_enterprise_detection_testenterprisedetection_test_helper_returns_bool", "to": "ir_module_module_fusion_is_enterprise_accounting_installed", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "test_enterprise_detection_testenterprisedetection_test_helper_matches_actual_state", "to": "test_enterprise_detection_rationale_13", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "test_enterprise_detection_testenterprisedetection_test_helper_matches_actual_state", "to": "ir_module_module_fusion_is_enterprise_accounting_installed", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_ir_module_module_py", "to": "ir_module_module_irmodulemodule", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_ir_module_module_py", "to": "ir_module_module_fusion_is_enterprise_accounting_installed", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_ir_module_module_py", "to": "ir_module_module_fusion_is_module_installed", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule", "to": "ir_module_module_irmodulemodule_button_immediate_install", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule", "to": "ir_module_module_irmodulemodule_button_immediate_uninstall", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule", "to": "ir_module_module_irmodulemodule_module_uninstall", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_fusion_is_enterprise_accounting_installed", "to": "res_users_fusion_recompute_coexistence_group", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ir_module_module_irmodulemodule_button_immediate_install", "to": "ir_module_module_rationale_35", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule_button_immediate_install", "to": "res_users_fusion_recompute_coexistence_group", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ir_module_module_irmodulemodule_button_immediate_uninstall", "to": "ir_module_module_rationale_41", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule_button_immediate_uninstall", "to": "res_users_fusion_recompute_coexistence_group", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ir_module_module_irmodulemodule_module_uninstall", "to": "ir_module_module_rationale_52", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ir_module_module_irmodulemodule_module_uninstall", "to": "res_users_fusion_recompute_coexistence_group", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_move_py", "to": "account_move_accountmove", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_move_py", "to": "account_move_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_reconcile_model_py", "to": "account_reconcile_model_accountreconcilemodel", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_reconcile_model_py", "to": "account_reconcile_model_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_init_py", "to": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_init_py", "label": "imports_from", "title": "imports_from [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_res_users_py", "to": "res_users_resusers", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_res_users_py", "to": "res_users_fusion_recompute_coexistence_group", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_res_users_py", "to": "res_users_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_bank_statement_line_py", "to": "account_bank_statement_line_accountbankstatementline", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "users_gurpreet_github_odoo_modules_fusion_accounting_core_models_account_bank_statement_line_py", "to": "account_bank_statement_line_rationale_1", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}];
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Community 0", "count": 11}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 10}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 9}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 9}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 3}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 3}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 3}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 3}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 3}, {"cid": 9, "color": "#BAB0AC", "label": "Community 9", "count": 3}, {"cid": 10, "color": "#4E79A7", "label": "Community 10", "count": 3}, {"cid": 11, "color": "#F28E2B", "label": "Community 11", "count": 1}, {"cid": 12, "color": "#E15759", "label": "Community 12", "count": 1}, {"cid": 13, "color": "#76B7B2", "label": "Community 13", "count": 1}, {"cid": 14, "color": "#59A14F", "label": "Community 14", "count": 1}, {"cid": 15, "color": "#EDC948", "label": "Community 15", "count": 1}, {"cid": 16, "color": "#B07AA1", "label": "Community 16", "count": 1}];
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) {
return String(s).replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');
}
// Build vis datasets
const nodesDS = new vis.DataSet(RAW_NODES.map(n => ({
id: n.id, label: n.label, color: n.color, size: n.size,
font: n.font, title: n.title,
_community: n.community, _community_name: n.community_name,
_source_file: n.source_file, _file_type: n.file_type, _degree: n.degree,
})));
const edgesDS = new vis.DataSet(RAW_EDGES.map((e, i) => ({
id: i, from: e.from, to: e.to,
label: '',
title: e.title,
dashes: e.dashes,
width: e.width,
color: e.color,
arrows: { to: { enabled: true, scaleFactor: 0.5 } },
})));
const container = document.getElementById('graph');
const network = new vis.Network(container, { nodes: nodesDS, edges: edgesDS }, {
physics: {
enabled: true,
solver: 'forceAtlas2Based',
forceAtlas2Based: {
gravitationalConstant: -60,
centralGravity: 0.005,
springLength: 120,
springConstant: 0.08,
damping: 0.4,
avoidOverlap: 0.8,
},
stabilization: { iterations: 200, fit: true },
},
interaction: {
hover: true,
tooltipDelay: 100,
hideEdgesOnDrag: true,
navigationButtons: false,
keyboard: false,
},
nodes: { shape: 'dot', borderWidth: 1.5 },
edges: { smooth: { type: 'continuous', roundness: 0.2 }, selectionWidth: 3 },
});
network.once('stabilizationIterationsDone', () => {
network.setOptions({ physics: { enabled: false } });
});
function showInfo(nodeId) {
const n = nodesDS.get(nodeId);
if (!n) return;
const neighborIds = network.getConnectedNodes(nodeId);
const neighborItems = neighborIds.map(nid => {
const nb = nodesDS.get(nid);
const color = nb ? nb.color.background : '#555';
return `<span class="neighbor-link" style="border-left-color:${esc(color)}" onclick="focusNode(${JSON.stringify(nid)})">${esc(nb ? nb.label : nid)}</span>`;
}).join('');
document.getElementById('info-content').innerHTML = `
<div class="field"><b>${esc(n.label)}</b></div>
<div class="field">Type: ${esc(n._file_type || 'unknown')}</div>
<div class="field">Community: ${esc(n._community_name)}</div>
<div class="field">Source: ${esc(n._source_file || '-')}</div>
<div class="field">Degree: ${n._degree}</div>
${neighborIds.length ? `<div class="field" style="margin-top:8px;color:#aaa;font-size:11px">Neighbors (${neighborIds.length})</div><div id="neighbors-list">${neighborItems}</div>` : ''}
`;
}
function focusNode(nodeId) {
network.focus(nodeId, { scale: 1.4, animation: true });
network.selectNodes([nodeId]);
showInfo(nodeId);
}
// Track hovered node — hover detection is more reliable than click params
let hoveredNodeId = null;
network.on('hoverNode', params => {
hoveredNodeId = params.node;
container.style.cursor = 'pointer';
});
network.on('blurNode', () => {
hoveredNodeId = null;
container.style.cursor = 'default';
});
container.addEventListener('click', () => {
if (hoveredNodeId !== null) {
showInfo(hoveredNodeId);
network.selectNodes([hoveredNodeId]);
}
});
network.on('click', params => {
if (params.nodes.length > 0) {
showInfo(params.nodes[0]);
} else if (hoveredNodeId === null) {
document.getElementById('info-content').innerHTML = '<span class="empty">Click a node to inspect it</span>';
}
});
const searchInput = document.getElementById('search');
const searchResults = document.getElementById('search-results');
searchInput.addEventListener('input', () => {
const q = searchInput.value.toLowerCase().trim();
searchResults.innerHTML = '';
if (!q) { searchResults.style.display = 'none'; return; }
const matches = RAW_NODES.filter(n => n.label.toLowerCase().includes(q)).slice(0, 20);
if (!matches.length) { searchResults.style.display = 'none'; return; }
searchResults.style.display = 'block';
matches.forEach(n => {
const el = document.createElement('div');
el.className = 'search-item';
el.textContent = n.label;
el.style.borderLeft = `3px solid ${n.color.background}`;
el.style.paddingLeft = '8px';
el.onclick = () => {
network.focus(n.id, { scale: 1.5, animation: true });
network.selectNodes([n.id]);
showInfo(n.id);
searchResults.style.display = 'none';
searchInput.value = '';
};
searchResults.appendChild(el);
});
});
document.addEventListener('click', e => {
if (!searchResults.contains(e.target) && e.target !== searchInput)
searchResults.style.display = 'none';
});
const hiddenCommunities = new Set();
const legendEl = document.getElementById('legend');
LEGEND.forEach(c => {
const item = document.createElement('div');
item.className = 'legend-item';
item.innerHTML = `<div class="legend-dot" style="background:${c.color}"></div>
<span class="legend-label">${c.label}</span>
<span class="legend-count">${c.count}</span>`;
item.onclick = () => {
if (hiddenCommunities.has(c.cid)) {
hiddenCommunities.delete(c.cid);
item.classList.remove('dimmed');
} else {
hiddenCommunities.add(c.cid);
item.classList.add('dimmed');
}
const updates = RAW_NODES
.filter(n => n.community === c.cid)
.map(n => ({ id: n.id, hidden: hiddenCommunities.has(c.cid) }));
nodesDS.update(updates);
};
legendEl.appendChild(item);
});
</script>
<script>
// Render hyperedges as shaded regions
const hyperedges = [];
// afterDrawing passes ctx already transformed to network coordinate space.
// Draw node positions raw — no manual pan/zoom/DPR math needed.
network.on('afterDrawing', function(ctx) {
hyperedges.forEach(h => {
const positions = h.nodes
.map(nid => network.getPositions([nid])[nid])
.filter(p => p !== undefined);
if (positions.length < 2) return;
ctx.save();
ctx.globalAlpha = 0.12;
ctx.fillStyle = '#6366f1';
ctx.strokeStyle = '#6366f1';
ctx.lineWidth = 2;
ctx.beginPath();
// Centroid and expanded hull in network coordinates
const cx = positions.reduce((s, p) => s + p.x, 0) / positions.length;
const cy = positions.reduce((s, p) => s + p.y, 0) / positions.length;
const expanded = positions.map(p => ({
x: cx + (p.x - cx) * 1.15,
y: cy + (p.y - cy) * 1.15
}));
ctx.moveTo(expanded[0].x, expanded[0].y);
expanded.slice(1).forEach(p => ctx.lineTo(p.x, p.y));
ctx.closePath();
ctx.fill();
ctx.globalAlpha = 0.4;
ctx.stroke();
// Label
ctx.globalAlpha = 0.8;
ctx.fillStyle = '#4f46e5';
ctx.font = 'bold 11px sans-serif';
ctx.textAlign = 'center';
ctx.fillText(h.label, cx, cy - 5);
ctx.restore();
});
});
</script>
</body>
</html>