305 lines
No EOL
112 KiB
HTML
305 lines
No EOL
112 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>graphify - /Users/ai_leed/Documents/Projects/Oliver/DevOps_Click_UP_sync/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; }
|
|
#legend-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 4px 0; }
|
|
#legend-controls label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; color: #aaa; user-select: none; }
|
|
#legend-controls label:hover { color: #e0e0e0; }
|
|
.legend-cb, #select-all-cb { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; border: 1.5px solid #3a3a5e; border-radius: 3px; background: #0f0f1a; cursor: pointer; position: relative; flex-shrink: 0; }
|
|
.legend-cb:checked, #select-all-cb:checked { background: #4E79A7; border-color: #4E79A7; }
|
|
.legend-cb:checked::after, #select-all-cb:checked::after { content: ''; position: absolute; left: 3.5px; top: 1px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
|
|
#select-all-cb:indeterminate { background: #4E79A7; border-color: #4E79A7; }
|
|
#select-all-cb:indeterminate::after { content: ''; position: absolute; left: 2px; top: 5px; width: 8px; height: 2px; background: #fff; border: none; transform: none; }
|
|
</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-controls">
|
|
<label><input type="checkbox" id="select-all-cb" checked onchange="toggleAllCommunities(!this.checked)">Select All</label>
|
|
</div>
|
|
<div id="legend"></div>
|
|
</div>
|
|
<div id="stats">149 nodes · 197 edges · 16 communities</div>
|
|
</div>
|
|
<script>
|
|
const RAW_NODES = [{"id": "frontend_app_js", "label": "app.js", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "app.js", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 22}, {"id": "frontend_app_adourl", "label": "adoUrl", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "adoUrl", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_loadadoprojectslist", "label": "loadAdoProjectsList()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "loadAdoProjectsList()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_selectalladoprojects", "label": "selectAllAdoProjects()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "selectAllAdoProjects()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_deselectalladoprojects", "label": "deselectAllAdoProjects()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "deselectAllAdoProjects()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_loadstatus", "label": "loadStatus()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "loadStatus()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_loadmappings", "label": "loadMappings()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "loadMappings()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_deletemapping", "label": "deleteMapping()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "deleteMapping()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_loadlog", "label": "loadLog()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "loadLog()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 5}, {"id": "frontend_app_logprev", "label": "logPrev()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "logPrev()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 2}, {"id": "frontend_app_lognext", "label": "logNext()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "logNext()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 2}, {"id": "frontend_app_stopinitialsync", "label": "stopInitialSync()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "stopInitialSync()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_syncdone", "label": "_syncDone()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_syncDone()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_pollinitialsync", "label": "pollInitialSync()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "pollInitialSync()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 5}, {"id": "frontend_app_openmappingmodal", "label": "openMappingModal()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "openMappingModal()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_closemappingmodal", "label": "closeMappingModal()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "closeMappingModal()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 2}, {"id": "frontend_app_loadculists", "label": "loadCULists()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "loadCULists()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "frontend_app_savemapping", "label": "saveMapping()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "saveMapping()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_settext", "label": "setText()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "setText()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 3}, {"id": "frontend_app_esc", "label": "esc()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "esc()", "community": 1, "community_name": "Community 1", "source_file": "frontend/app.js", "file_type": "code", "degree": 1}, {"id": "claude_settings_local_json", "label": "settings.local.json", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "settings.local.json", "community": 9, "community_name": "Community 9", "source_file": ".claude/settings.local.json", "file_type": "code", "degree": 1}, {"id": "claude_settings_local_permissions", "label": "permissions", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "permissions", "community": 9, "community_name": "Community 9", "source_file": ".claude/settings.local.json", "file_type": "code", "degree": 2}, {"id": "claude_settings_local_permissions_allow", "label": "allow", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "allow", "community": 9, "community_name": "Community 9", "source_file": ".claude/settings.local.json", "file_type": "code", "degree": 1}, {"id": "src_config_py", "label": "config.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "config.py", "community": 10, "community_name": "Community 10", "source_file": "src/config.py", "file_type": "code", "degree": 1}, {"id": "src_config_settings", "label": "Settings", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "Settings", "community": 10, "community_name": "Community 10", "source_file": "src/config.py", "file_type": "code", "degree": 2}, {"id": "basesettings", "label": "BaseSettings", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "BaseSettings", "community": 10, "community_name": "Community 10", "source_file": "", "file_type": "code", "degree": 1}, {"id": "src_database_py", "label": "database.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 19.5, "font": {"size": 12, "color": "#ffffff"}, "title": "database.py", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 7}, {"id": "src_database_base", "label": "Base", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "Base", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 6}, {"id": "declarativebase", "label": "DeclarativeBase", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "DeclarativeBase", "community": 5, "community_name": "Community 5", "source_file": "", "file_type": "code", "degree": 1}, {"id": "src_database_syncmap", "label": "SyncMap", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "SyncMap", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 5}, {"id": "src_database_projectmap", "label": "ProjectMap", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "ProjectMap", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 4}, {"id": "src_database_commentmap", "label": "CommentMap", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "CommentMap", "community": 2, "community_name": "Community 2", "source_file": "src/database.py", "file_type": "code", "degree": 4}, {"id": "src_database_synclog", "label": "SyncLog", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "SyncLog", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 3}, {"id": "src_database_init_db", "label": "init_db()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "init_db()", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 2}, {"id": "src_database_get_db", "label": "get_db()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_db()", "community": 5, "community_name": "Community 5", "source_file": "src/database.py", "file_type": "code", "degree": 1}, {"id": "src_init_py", "label": "__init__.py", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 11, "community_name": "Community 11", "source_file": "src/__init__.py", "file_type": "code", "degree": 0}, {"id": "src_main_py", "label": "main.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "main.py", "community": 5, "community_name": "Community 5", "source_file": "src/main.py", "file_type": "code", "degree": 3}, {"id": "src_main_lifespan", "label": "lifespan()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "lifespan()", "community": 5, "community_name": "Community 5", "source_file": "src/main.py", "file_type": "code", "degree": 2}, {"id": "src_main_index", "label": "index()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "index()", "community": 5, "community_name": "Community 5", "source_file": "src/main.py", "file_type": "code", "degree": 1}, {"id": "src_main_rationale_1", "label": "FastAPI application entry point.", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "FastAPI application entry point.", "community": 5, "community_name": "Community 5", "source_file": "src/main.py", "file_type": "rationale", "degree": 1}, {"id": "src_clients_ado_py", "label": "ado.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "ado.py", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_auth_header", "label": "_auth_header()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "_auth_header()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 4}, {"id": "clients_ado_adoclient", "label": "ADOClient", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 33.2, "font": {"size": 12, "color": "#ffffff"}, "title": "ADOClient", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 17}, {"id": "clients_ado_adoclient_init", "label": ".__init__()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".__init__()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_get_work_item", "label": ".get_work_item()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_work_item()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_get_work_items_batch", "label": ".get_work_items_batch()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_work_items_batch()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_query_work_items", "label": ".query_work_items()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".query_work_items()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_create_work_item", "label": ".create_work_item()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".create_work_item()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_update_work_item", "label": ".update_work_item()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".update_work_item()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_get_work_item_comments", "label": ".get_work_item_comments()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_work_item_comments()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_add_comment", "label": ".add_comment()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".add_comment()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_get_attachments", "label": ".get_attachments()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_attachments()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_upload_attachment", "label": ".upload_attachment()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".upload_attachment()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_add_attachment_link", "label": ".add_attachment_link()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".add_attachment_link()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_download_attachment", "label": ".download_attachment()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": ".download_attachment()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 2}, {"id": "clients_ado_adoclient_get_projects", "label": ".get_projects()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_projects()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_create_service_hook", "label": ".create_service_hook()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".create_service_hook()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_list_service_hooks", "label": ".list_service_hooks()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".list_service_hooks()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "clients_ado_adoclient_delete_service_hook", "label": ".delete_service_hook()", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".delete_service_hook()", "community": 3, "community_name": "Community 3", "source_file": "src/clients/ado.py", "file_type": "code", "degree": 1}, {"id": "src_clients_init_py", "label": "__init__.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 12, "community_name": "Community 12", "source_file": "src/clients/__init__.py", "file_type": "code", "degree": 0}, {"id": "src_clients_clickup_py", "label": "clickup.py", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "clickup.py", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient", "label": "ClickUpClient", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 38.6, "font": {"size": 12, "color": "#ffffff"}, "title": "ClickUpClient", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 21}, {"id": "clients_clickup_clickupclient_init", "label": ".__init__()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".__init__()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_spaces", "label": ".get_spaces()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_spaces()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_lists", "label": ".get_lists()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_lists()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_folders", "label": ".get_folders()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_folders()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_folder_lists", "label": ".get_folder_lists()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_folder_lists()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_task", "label": ".get_task()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_task()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_tasks", "label": ".get_tasks()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_tasks()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_create_task", "label": ".create_task()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".create_task()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_update_task", "label": ".update_task()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".update_task()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_task_comments", "label": ".get_task_comments()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_task_comments()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_add_comment", "label": ".add_comment()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".add_comment()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_members", "label": ".get_members()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_members()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_list_members", "label": ".get_list_members()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_list_members()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_upload_attachment", "label": ".upload_attachment()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".upload_attachment()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_download_attachment", "label": ".download_attachment()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".download_attachment()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_custom_fields", "label": ".get_custom_fields()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_custom_fields()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_set_custom_field", "label": ".set_custom_field()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".set_custom_field()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_create_webhook", "label": ".create_webhook()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".create_webhook()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_get_webhooks", "label": ".get_webhooks()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".get_webhooks()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "clients_clickup_clickupclient_delete_webhook", "label": ".delete_webhook()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": ".delete_webhook()", "community": 0, "community_name": "Community 0", "source_file": "src/clients/clickup.py", "file_type": "code", "degree": 1}, {"id": "src_models_ado_py", "label": "ado.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "ado.py", "community": 6, "community_name": "Community 6", "source_file": "src/models/ado.py", "file_type": "code", "degree": 2}, {"id": "models_ado_adoresource", "label": "ADOResource", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "ADOResource", "community": 6, "community_name": "Community 6", "source_file": "src/models/ado.py", "file_type": "code", "degree": 2}, {"id": "basemodel", "label": "BaseModel", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "BaseModel", "community": 6, "community_name": "Community 6", "source_file": "", "file_type": "code", "degree": 4}, {"id": "models_ado_adowebhookpayload", "label": "ADOWebhookPayload", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "ADOWebhookPayload", "community": 6, "community_name": "Community 6", "source_file": "src/models/ado.py", "file_type": "code", "degree": 3}, {"id": "src_models_init_py", "label": "__init__.py", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 13, "community_name": "Community 13", "source_file": "src/models/__init__.py", "file_type": "code", "degree": 0}, {"id": "src_models_clickup_py", "label": "clickup.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "clickup.py", "community": 6, "community_name": "Community 6", "source_file": "src/models/clickup.py", "file_type": "code", "degree": 1}, {"id": "models_clickup_clickupwebhookpayload", "label": "ClickUpWebhookPayload", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "ClickUpWebhookPayload", "community": 6, "community_name": "Community 6", "source_file": "src/models/clickup.py", "file_type": "code", "degree": 3}, {"id": "src_api_init_py", "label": "__init__.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 14, "community_name": "Community 14", "source_file": "src/api/__init__.py", "file_type": "code", "degree": 0}, {"id": "src_api_dashboard_py", "label": "dashboard.py", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 19.5, "font": {"size": 12, "color": "#ffffff"}, "title": "dashboard.py", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 7}, {"id": "api_dashboard_health", "label": "health()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "health()", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 1}, {"id": "api_dashboard_status", "label": "status()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "status()", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 1}, {"id": "api_dashboard_sync_log", "label": "sync_log()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "sync_log()", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 1}, {"id": "api_dashboard_get_mappings", "label": "get_mappings()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_mappings()", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 1}, {"id": "api_dashboard_get_task_mappings", "label": "get_task_mappings()", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_task_mappings()", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "code", "degree": 1}, {"id": "api_dashboard_rationale_1", "label": "Dashboard API endpoints.", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Dashboard API endpoints.", "community": 8, "community_name": "Community 8", "source_file": "src/api/dashboard.py", "file_type": "rationale", "degree": 1}, {"id": "src_api_setup_py", "label": "setup.py", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 26.4, "font": {"size": 12, "color": "#ffffff"}, "title": "setup.py", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 12}, {"id": "api_setup_projectmappingrequest", "label": "ProjectMappingRequest", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "ProjectMappingRequest", "community": 6, "community_name": "Community 6", "source_file": "src/api/setup.py", "file_type": "code", "degree": 3}, {"id": "api_setup_create_mapping", "label": "create_mapping()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "create_mapping()", "community": 5, "community_name": "Community 5", "source_file": "src/api/setup.py", "file_type": "code", "degree": 2}, {"id": "api_setup_start_initial_sync", "label": "start_initial_sync()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "start_initial_sync()", "community": 1, "community_name": "Community 1", "source_file": "src/api/setup.py", "file_type": "code", "degree": 4}, {"id": "api_setup_cancel_initial_sync", "label": "cancel_initial_sync()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "cancel_initial_sync()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 2}, {"id": "api_setup_initial_sync_status", "label": "initial_sync_status()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "initial_sync_status()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 1}, {"id": "api_setup_get_ado_projects", "label": "get_ado_projects()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_ado_projects()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 1}, {"id": "api_setup_get_clickup_spaces", "label": "get_clickup_spaces()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_clickup_spaces()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 1}, {"id": "api_setup_get_clickup_lists", "label": "get_clickup_lists()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "get_clickup_lists()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 1}, {"id": "api_setup_setup_webhooks", "label": "setup_webhooks()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "setup_webhooks()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 3}, {"id": "api_setup_setup_ado_webhooks", "label": "setup_ado_webhooks()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "setup_ado_webhooks()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 3}, {"id": "api_setup_list_ado_webhooks", "label": "list_ado_webhooks()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "list_ado_webhooks()", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "code", "degree": 2}, {"id": "api_setup_rationale_1", "label": "Setup and configuration endpoints.", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Setup and configuration endpoints.", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "rationale", "degree": 1}, {"id": "api_setup_rationale_174", "label": "Register ClickUp webhook pointing to this service.", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Register ClickUp webhook pointing to this service.", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "rationale", "degree": 1}, {"id": "api_setup_rationale_193", "label": "Register ADO Service Hooks for all projects (or specified ones). Creates sub", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Register ADO Service Hooks for all projects (or specified ones). Creates sub", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "rationale", "degree": 1}, {"id": "api_setup_rationale_249", "label": "List all existing ADO Service Hook subscriptions.", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "List all existing ADO Service Hook subscriptions.", "community": 4, "community_name": "Community 4", "source_file": "src/api/setup.py", "file_type": "rationale", "degree": 1}, {"id": "src_api_webhooks_py", "label": "webhooks.py", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "webhooks.py", "community": 6, "community_name": "Community 6", "source_file": "src/api/webhooks.py", "file_type": "code", "degree": 3}, {"id": "api_webhooks_ado_webhook", "label": "ado_webhook()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "ado_webhook()", "community": 6, "community_name": "Community 6", "source_file": "src/api/webhooks.py", "file_type": "code", "degree": 2}, {"id": "api_webhooks_clickup_webhook", "label": "clickup_webhook()", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "clickup_webhook()", "community": 6, "community_name": "Community 6", "source_file": "src/api/webhooks.py", "file_type": "code", "degree": 2}, {"id": "api_webhooks_rationale_1", "label": "Webhook endpoints for ADO and ClickUp.", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Webhook endpoints for ADO and ClickUp.", "community": 6, "community_name": "Community 6", "source_file": "src/api/webhooks.py", "file_type": "rationale", "degree": 1}, {"id": "src_sync_mapper_py", "label": "mapper.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "mapper.py", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "code", "degree": 5}, {"id": "sync_mapper_html_to_markdown", "label": "html_to_markdown()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "html_to_markdown()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "code", "degree": 2}, {"id": "sync_mapper_ado_work_item_to_clickup_task", "label": "ado_work_item_to_clickup_task()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "ado_work_item_to_clickup_task()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "code", "degree": 5}, {"id": "sync_mapper_clickup_task_to_ado_patch", "label": "clickup_task_to_ado_patch()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "clickup_task_to_ado_patch()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "code", "degree": 2}, {"id": "sync_mapper_priority_name_to_int", "label": "_priority_name_to_int()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "_priority_name_to_int()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "code", "degree": 2}, {"id": "sync_mapper_rationale_1", "label": "Field mapping between Azure DevOps and ClickUp.", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Field mapping between Azure DevOps and ClickUp.", "community": 7, "community_name": "Community 7", "source_file": "src/sync/mapper.py", "file_type": "rationale", "degree": 1}, {"id": "src_sync_init_py", "label": "__init__.py", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "__init__.py", "community": 15, "community_name": "Community 15", "source_file": "src/sync/__init__.py", "file_type": "code", "degree": 0}, {"id": "src_sync_initial_py", "label": "initial.py", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "initial.py", "community": 7, "community_name": "Community 7", "source_file": "src/sync/initial.py", "file_type": "code", "degree": 4}, {"id": "sync_initial_request_cancel", "label": "request_cancel()", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "request_cancel()", "community": 4, "community_name": "Community 4", "source_file": "src/sync/initial.py", "file_type": "code", "degree": 2}, {"id": "sync_initial_reset_cancel", "label": "reset_cancel()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "reset_cancel()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/initial.py", "file_type": "code", "degree": 2}, {"id": "sync_initial_run_initial_sync", "label": "run_initial_sync()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.8, "font": {"size": 12, "color": "#ffffff"}, "title": "run_initial_sync()", "community": 7, "community_name": "Community 7", "source_file": "src/sync/initial.py", "file_type": "code", "degree": 5}, {"id": "sync_initial_rationale_1", "label": "Bulk initial sync: import work items assigned to the configured user.", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Bulk initial sync: import work items assigned to the configured user.", "community": 7, "community_name": "Community 7", "source_file": "src/sync/initial.py", "file_type": "rationale", "degree": 1}, {"id": "src_sync_engine_py", "label": "engine.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 27.7, "font": {"size": 12, "color": "#ffffff"}, "title": "engine.py", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 13}, {"id": "sync_engine_is_assigned_to_me", "label": "_is_assigned_to_me()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_is_assigned_to_me()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 3}, {"id": "sync_engine_find_list_for_ado_project", "label": "_find_list_for_ado_project()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "_find_list_for_ado_project()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 2}, {"id": "sync_engine_find_clickup_user_id", "label": "_find_clickup_user_id()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.7, "font": {"size": 0, "color": "#ffffff"}, "title": "_find_clickup_user_id()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 2}, {"id": "sync_engine_get_sync_map_by_ado", "label": "_get_sync_map_by_ado()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "_get_sync_map_by_ado()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 3}, {"id": "sync_engine_get_sync_map_by_clickup", "label": "_get_sync_map_by_clickup()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "_get_sync_map_by_clickup()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 4}, {"id": "sync_engine_handle_ado_event", "label": "handle_ado_event()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "handle_ado_event()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 3}, {"id": "sync_engine_handle_ado_workitem", "label": "_handle_ado_workitem()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 23.6, "font": {"size": 12, "color": "#ffffff"}, "title": "_handle_ado_workitem()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 10}, {"id": "sync_engine_handle_ado_comment", "label": "_handle_ado_comment()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "_handle_ado_comment()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 6}, {"id": "sync_engine_handle_clickup_event", "label": "handle_clickup_event()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "handle_clickup_event()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 4}, {"id": "sync_engine_handle_clickup_task", "label": "_handle_clickup_task()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 19.5, "font": {"size": 12, "color": "#ffffff"}, "title": "_handle_clickup_task()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 7}, {"id": "sync_engine_handle_clickup_comment", "label": "_handle_clickup_comment()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "_handle_clickup_comment()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 6}, {"id": "sync_engine_handle_clickup_attachment", "label": "_handle_clickup_attachment()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "_handle_clickup_attachment()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "code", "degree": 4}, {"id": "sync_engine_rationale_1", "label": "Core sync logic: handle events from ADO and ClickUp.", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Core sync logic: handle events from ADO and ClickUp.", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "rationale", "degree": 1}, {"id": "sync_engine_rationale_25", "label": "Check if work item is assigned to the configured user. If filter is empty \u2014 allo", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Check if work item is assigned to the configured user. If filter is empty \u2014 allo", "community": 2, "community_name": "Community 2", "source_file": "src/sync/engine.py", "file_type": "rationale", "degree": 1}, {"id": "src_sync_dedup_py", "label": "dedup.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 14.1, "font": {"size": 0, "color": "#ffffff"}, "title": "dedup.py", "community": 2, "community_name": "Community 2", "source_file": "src/sync/dedup.py", "file_type": "code", "degree": 3}, {"id": "sync_dedup_is_echo_event", "label": "is_echo_event()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "is_echo_event()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/dedup.py", "file_type": "code", "degree": 6}, {"id": "sync_dedup_log_sync_event", "label": "log_sync_event()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 20.9, "font": {"size": 12, "color": "#ffffff"}, "title": "log_sync_event()", "community": 2, "community_name": "Community 2", "source_file": "src/sync/dedup.py", "file_type": "code", "degree": 8}, {"id": "sync_dedup_rationale_1", "label": "Loop prevention: detect echo events caused by our own sync writes.", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Loop prevention: detect echo events caused by our own sync writes.", "community": 2, "community_name": "Community 2", "source_file": "src/sync/dedup.py", "file_type": "rationale", "degree": 1}, {"id": "sync_dedup_rationale_18", "label": "Returns True if we recently synced this entity in the OPPOSITE direction, me", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Returns True if we recently synced this entity in the OPPOSITE direction, me", "community": 2, "community_name": "Community 2", "source_file": "src/sync/dedup.py", "file_type": "rationale", "degree": 1}];
|
|
const RAW_EDGES = [{"from": "frontend_app_js", "to": "frontend_app_adourl", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_loadadoprojectslist", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_selectalladoprojects", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_deselectalladoprojects", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_loadstatus", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_loadmappings", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_deletemapping", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_loadlog", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_logprev", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_lognext", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "api_setup_start_initial_sync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_stopinitialsync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_syncdone", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_pollinitialsync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "api_setup_setup_ado_webhooks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "api_setup_setup_webhooks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_openmappingmodal", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_closemappingmodal", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_loadculists", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_savemapping", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_settext", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_js", "to": "frontend_app_esc", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_loadstatus", "to": "frontend_app_settext", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_pollinitialsync", "to": "frontend_app_loadstatus", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_deletemapping", "to": "frontend_app_loadmappings", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_savemapping", "to": "frontend_app_loadmappings", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_dashboard_py", "to": "frontend_app_deletemapping", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_loadlog", "to": "frontend_app_settext", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_logprev", "to": "frontend_app_loadlog", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_lognext", "to": "frontend_app_loadlog", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_pollinitialsync", "to": "frontend_app_loadlog", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_start_initial_sync", "to": "frontend_app_syncdone", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_pollinitialsync", "to": "frontend_app_syncdone", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_start_initial_sync", "to": "frontend_app_pollinitialsync", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "frontend_app_savemapping", "to": "frontend_app_closemappingmodal", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "claude_settings_local_json", "to": "claude_settings_local_permissions", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "claude_settings_local_permissions", "to": "claude_settings_local_permissions_allow", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_config_py", "to": "src_config_settings", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_config_settings", "to": "basesettings", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_base", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_syncmap", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_projectmap", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_commentmap", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_synclog", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_init_db", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_py", "to": "src_database_get_db", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_base", "to": "declarativebase", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_syncmap", "to": "src_database_base", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_projectmap", "to": "src_database_base", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_commentmap", "to": "src_database_base", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_database_synclog", "to": "src_database_base", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_initial_run_initial_sync", "to": "src_database_syncmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_workitem", "to": "src_database_syncmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_task", "to": "src_database_syncmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "api_setup_projectmappingrequest", "to": "src_database_projectmap", "label": "uses", "title": "uses [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "api_setup_create_mapping", "to": "src_database_projectmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_comment", "to": "src_database_commentmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_comment", "to": "src_database_commentmap", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_dedup_log_sync_event", "to": "src_database_synclog", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_main_lifespan", "to": "src_database_init_db", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_main_py", "to": "src_main_lifespan", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_py", "to": "src_main_index", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_main_rationale_1", "to": "src_main_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_clients_ado_py", "to": "clients_ado_auth_header", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_clients_ado_py", "to": "clients_ado_adoclient", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient_init", "to": "clients_ado_auth_header", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient_upload_attachment", "to": "clients_ado_auth_header", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient_download_attachment", "to": "clients_ado_auth_header", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_init", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_get_work_item", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_get_work_items_batch", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_query_work_items", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_create_work_item", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_update_work_item", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_get_work_item_comments", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_add_comment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_get_attachments", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_upload_attachment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_add_attachment_link", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_download_attachment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_get_projects", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_create_service_hook", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_list_service_hooks", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient", "to": "clients_ado_adoclient_delete_service_hook", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient_get_attachments", "to": "clients_ado_adoclient_get_work_item", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_ado_adoclient_add_attachment_link", "to": "clients_ado_adoclient_update_work_item", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_clients_clickup_py", "to": "clients_clickup_clickupclient", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_init", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_spaces", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_lists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_folders", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_folder_lists", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_task", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_tasks", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_create_task", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_update_task", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_task_comments", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_add_comment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_members", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_list_members", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_upload_attachment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_download_attachment", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_custom_fields", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_set_custom_field", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_create_webhook", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_get_webhooks", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "clients_clickup_clickupclient", "to": "clients_clickup_clickupclient_delete_webhook", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_models_ado_py", "to": "models_ado_adoresource", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_models_ado_py", "to": "models_ado_adowebhookpayload", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "models_ado_adoresource", "to": "basemodel", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "models_ado_adowebhookpayload", "to": "basemodel", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "models_clickup_clickupwebhookpayload", "to": "basemodel", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_projectmappingrequest", "to": "basemodel", "label": "inherits", "title": "inherits [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_webhooks_ado_webhook", "to": "models_ado_adowebhookpayload", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_models_clickup_py", "to": "models_clickup_clickupwebhookpayload", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_webhooks_clickup_webhook", "to": "models_clickup_clickupwebhookpayload", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_api_dashboard_py", "to": "api_dashboard_health", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_dashboard_py", "to": "api_dashboard_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_dashboard_py", "to": "api_dashboard_sync_log", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_dashboard_py", "to": "api_dashboard_get_mappings", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_dashboard_py", "to": "api_dashboard_get_task_mappings", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_dashboard_rationale_1", "to": "src_api_dashboard_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_projectmappingrequest", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_create_mapping", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_start_initial_sync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_cancel_initial_sync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_initial_sync_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_get_ado_projects", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_get_clickup_spaces", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_get_clickup_lists", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_setup_webhooks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_setup_ado_webhooks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_setup_py", "to": "api_setup_list_ado_webhooks", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_rationale_1", "to": "src_api_setup_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_cancel_initial_sync", "to": "sync_initial_request_cancel", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "api_setup_rationale_174", "to": "api_setup_setup_webhooks", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_rationale_193", "to": "api_setup_setup_ado_webhooks", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_setup_rationale_249", "to": "api_setup_list_ado_webhooks", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_webhooks_py", "to": "api_webhooks_ado_webhook", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_api_webhooks_py", "to": "api_webhooks_clickup_webhook", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "api_webhooks_rationale_1", "to": "src_api_webhooks_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_mapper_py", "to": "sync_mapper_html_to_markdown", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_mapper_py", "to": "sync_mapper_ado_work_item_to_clickup_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_mapper_py", "to": "sync_mapper_clickup_task_to_ado_patch", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_mapper_py", "to": "sync_mapper_priority_name_to_int", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_mapper_rationale_1", "to": "src_sync_mapper_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_mapper_ado_work_item_to_clickup_task", "to": "sync_mapper_html_to_markdown", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_mapper_ado_work_item_to_clickup_task", "to": "sync_mapper_priority_name_to_int", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_initial_run_initial_sync", "to": "sync_mapper_ado_work_item_to_clickup_task", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_mapper_ado_work_item_to_clickup_task", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_task", "to": "sync_mapper_clickup_task_to_ado_patch", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_sync_initial_py", "to": "sync_initial_request_cancel", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_initial_py", "to": "sync_initial_reset_cancel", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_initial_py", "to": "sync_initial_run_initial_sync", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_initial_rationale_1", "to": "src_sync_initial_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_initial_run_initial_sync", "to": "sync_initial_reset_cancel", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_initial_run_initial_sync", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_sync_engine_py", "to": "sync_engine_is_assigned_to_me", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_find_list_for_ado_project", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_find_clickup_user_id", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_get_sync_map_by_ado", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_get_sync_map_by_clickup", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_ado_event", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_ado_workitem", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_ado_comment", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_clickup_event", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_clickup_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_clickup_comment", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_engine_py", "to": "sync_engine_handle_clickup_attachment", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_rationale_1", "to": "src_sync_engine_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_engine_is_assigned_to_me", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_rationale_25", "to": "sync_engine_is_assigned_to_me", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_engine_find_list_for_ado_project", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_engine_find_clickup_user_id", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_engine_get_sync_map_by_ado", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_comment", "to": "sync_engine_get_sync_map_by_ado", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_task", "to": "sync_engine_get_sync_map_by_clickup", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_comment", "to": "sync_engine_get_sync_map_by_clickup", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_attachment", "to": "sync_engine_get_sync_map_by_clickup", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_event", "to": "sync_engine_handle_ado_workitem", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_event", "to": "sync_engine_handle_ado_comment", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_dedup_is_echo_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_workitem", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_comment", "to": "sync_dedup_is_echo_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_ado_comment", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_event", "to": "sync_engine_handle_clickup_task", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_event", "to": "sync_engine_handle_clickup_comment", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_event", "to": "sync_engine_handle_clickup_attachment", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_engine_handle_clickup_task", "to": "sync_dedup_is_echo_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_task", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_comment", "to": "sync_dedup_is_echo_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_comment", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "sync_engine_handle_clickup_attachment", "to": "sync_dedup_log_sync_event", "label": "calls", "title": "calls [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "src_sync_dedup_py", "to": "sync_dedup_is_echo_event", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "src_sync_dedup_py", "to": "sync_dedup_log_sync_event", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_dedup_rationale_1", "to": "src_sync_dedup_py", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sync_dedup_rationale_18", "to": "sync_dedup_is_echo_event", "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": 22}, {"cid": 1, "color": "#F28E2B", "label": "Community 1", "count": 21}, {"cid": 2, "color": "#E15759", "label": "Community 2", "count": 21}, {"cid": 3, "color": "#76B7B2", "label": "Community 3", "count": 19}, {"cid": 4, "color": "#59A14F", "label": "Community 4", "count": 14}, {"cid": 5, "color": "#EDC948", "label": "Community 5", "count": 13}, {"cid": 6, "color": "#B07AA1", "label": "Community 6", "count": 11}, {"cid": 7, "color": "#FF9DA7", "label": "Community 7", "count": 10}, {"cid": 8, "color": "#9C755F", "label": "Community 8", "count": 7}, {"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}];
|
|
|
|
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
|
function esc(s) {
|
|
return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
|
}
|
|
|
|
// 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 selectAllCb = document.getElementById('select-all-cb');
|
|
|
|
function updateSelectAllState() {
|
|
const total = LEGEND.length;
|
|
const hidden = hiddenCommunities.size;
|
|
selectAllCb.checked = hidden === 0;
|
|
selectAllCb.indeterminate = hidden > 0 && hidden < total;
|
|
}
|
|
|
|
function toggleAllCommunities(hide) {
|
|
document.querySelectorAll('.legend-item').forEach(item => {
|
|
hide ? item.classList.add('dimmed') : item.classList.remove('dimmed');
|
|
});
|
|
document.querySelectorAll('.legend-cb').forEach(cb => {
|
|
cb.checked = !hide;
|
|
});
|
|
LEGEND.forEach(c => {
|
|
if (hide) hiddenCommunities.add(c.cid); else hiddenCommunities.delete(c.cid);
|
|
});
|
|
const updates = RAW_NODES.map(n => ({ id: n.id, hidden: hide }));
|
|
nodesDS.update(updates);
|
|
updateSelectAllState();
|
|
}
|
|
|
|
const legendEl = document.getElementById('legend');
|
|
LEGEND.forEach(c => {
|
|
const item = document.createElement('div');
|
|
item.className = 'legend-item';
|
|
const cb = document.createElement('input');
|
|
cb.type = 'checkbox';
|
|
cb.className = 'legend-cb';
|
|
cb.checked = true;
|
|
cb.addEventListener('change', (e) => {
|
|
e.stopPropagation();
|
|
if (cb.checked) {
|
|
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: !cb.checked }));
|
|
nodesDS.update(updates);
|
|
updateSelectAllState();
|
|
});
|
|
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.prepend(cb);
|
|
item.onclick = (e) => {
|
|
if (e.target === cb) return;
|
|
cb.checked = !cb.checked;
|
|
cb.dispatchEvent(new Event('change'));
|
|
};
|
|
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> |