@peter.naydenov/notice 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +9 -0
- package/Changelog.md +8 -0
- package/coverage/lcov-report/block-navigation.js +1 -1
- package/coverage/lcov-report/index.html +20 -20
- package/coverage/lcov-report/main.js.html +171 -168
- package/coverage/lcov-report/sorter.js +21 -7
- package/coverage/lcov.info +136 -218
- package/graphify-out/.graphify_ast.json +1003 -0
- package/graphify-out/.graphify_detect.json +1 -0
- package/graphify-out/.graphify_python +1 -0
- package/graphify-out/.graphify_uncached.txt +15 -0
- package/graphify-out/GRAPH_REPORT.md +143 -0
- package/graphify-out/cache/0851b0e27934e7cb51d3d94f9e4d981e83b80e7047ebea01d717486978255d66.json +1 -0
- package/graphify-out/cache/313b49fbec137bd0ec64660ace8991e0ed210d1782fec8e86ca1a131901ff58d.json +1 -0
- package/graphify-out/cache/324c4626d3d3315ed33b0eec6c2158c55fcc53bb501ffe6a852f6e17e8164667.json +1 -0
- package/graphify-out/cache/3335588971cea52118dc77fccba5c33701442c573224f845a638cabe71c34240.json +1 -0
- package/graphify-out/cache/362bc8f53fda674a6b0ef29bda4b1be41833ddda276e0a3262ac101a5b5bba83.json +1 -0
- package/graphify-out/cache/3cd7d97905369ba8190edae73532006c760e252754e064ea6d9fffa261b552e6.json +1 -0
- package/graphify-out/cache/5d53ce3027d393c8fe8b1763ed54a0262ba10e18988e26cf273bcb179522bf4d.json +1 -0
- package/graphify-out/cache/68e13aab864f52d3708a714958556b7e25ff8233ab8173893de892b323e26d1a.json +1 -0
- package/graphify-out/cache/6f0048e5fcf58195aa0c14d4bcbcb2193f818dfe56904f151fd5cc8c406e2ffa.json +1 -0
- package/graphify-out/cache/8218f61ff570b6f101de672ba486677b4fb579677ce88ef537f21b9a40f9728d.json +1 -0
- package/graphify-out/cache/a65de5e681850c06dc779842b61d7468c9816b72a92417e3c6a8c7eaa005ecb6.json +1 -0
- package/graphify-out/cache/a97f881a55f97de2392f6fa86d8dd11ff9e0e0d40ec302ab9d240ec175bce333.json +1 -0
- package/graphify-out/cache/ab5f5634b51fc23275d76e77db87f37c1fec389b14b0228b0c8dbe70d0683c84.json +1 -0
- package/graphify-out/cache/ast/v0.8.39/234d10784603a5cf5a6f44fe83948a6c3a014590660e4ea32e3ef72f7b485a4b.json +1 -0
- package/graphify-out/cache/ast/v0.8.39/74c9623e575baefe69331b1ab4d1ad96ac2bc0f6552f04e59ff556f95a6dd2a7.json +1 -0
- package/graphify-out/cache/c7df89e129098aa0a6723787757bd7c58c92f7a50d365f16f92b44391a6a3256.json +1 -0
- package/graphify-out/cache/eda9833c7da551691f85741b4b2ac73e9eca5578b842c62002cd120c7bc70eb2.json +1 -0
- package/graphify-out/cache/stat-index.json +1 -0
- package/graphify-out/cost.json +12 -0
- package/graphify-out/graph.html +266 -0
- package/graphify-out/graph.json +2470 -0
- package/graphify-out/manifest.json +17 -0
- package/package.json +12 -27
- package/src/main.js +8 -6
- package/vitest.config.js +12 -0
- package/coverage/tmp/coverage-46509-1760816753149-0.json +0 -1
- package/coverage/tmp/coverage-46510-1760816753116-0.json +0 -1
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>graphify - graphify-out/graph.html</title>
|
|
6
|
+
<script src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
|
|
7
|
+
<style>
|
|
8
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
body { background: #0f0f1a; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; display: flex; height: 100vh; overflow: hidden; }
|
|
10
|
+
#graph { flex: 1; }
|
|
11
|
+
#sidebar { width: 280px; background: #1a1a2e; border-left: 1px solid #2a2a4e; display: flex; flex-direction: column; overflow: hidden; }
|
|
12
|
+
#search-wrap { padding: 12px; border-bottom: 1px solid #2a2a4e; }
|
|
13
|
+
#search { width: 100%; background: #0f0f1a; border: 1px solid #3a3a5e; color: #e0e0e0; padding: 7px 10px; border-radius: 6px; font-size: 13px; outline: none; }
|
|
14
|
+
#search:focus { border-color: #4E79A7; }
|
|
15
|
+
#search-results { max-height: 140px; overflow-y: auto; padding: 4px 12px; border-bottom: 1px solid #2a2a4e; display: none; }
|
|
16
|
+
.search-item { padding: 4px 6px; cursor: pointer; border-radius: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
17
|
+
.search-item:hover { background: #2a2a4e; }
|
|
18
|
+
#info-panel { padding: 14px; border-bottom: 1px solid #2a2a4e; min-height: 140px; }
|
|
19
|
+
#info-panel h3 { font-size: 13px; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
20
|
+
#info-content { font-size: 13px; color: #ccc; line-height: 1.6; }
|
|
21
|
+
#info-content .field { margin-bottom: 5px; }
|
|
22
|
+
#info-content .field b { color: #e0e0e0; }
|
|
23
|
+
#info-content .empty { color: #555; font-style: italic; }
|
|
24
|
+
.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; }
|
|
25
|
+
.neighbor-link:hover { background: #2a2a4e; }
|
|
26
|
+
#neighbors-list { max-height: 160px; overflow-y: auto; margin-top: 4px; }
|
|
27
|
+
#legend-wrap { flex: 1; overflow-y: auto; padding: 12px; }
|
|
28
|
+
#legend-wrap h3 { font-size: 13px; color: #aaa; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
29
|
+
.legend-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; border-radius: 4px; font-size: 12px; }
|
|
30
|
+
.legend-item:hover { background: #2a2a4e; padding-left: 4px; }
|
|
31
|
+
.legend-item.dimmed { opacity: 0.35; }
|
|
32
|
+
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
|
|
33
|
+
.legend-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
34
|
+
.legend-count { color: #666; font-size: 11px; }
|
|
35
|
+
#stats { padding: 10px 14px; border-top: 1px solid #2a2a4e; font-size: 11px; color: #555; }
|
|
36
|
+
</style>
|
|
37
|
+
</head>
|
|
38
|
+
<body>
|
|
39
|
+
<div id="graph"></div>
|
|
40
|
+
<div id="sidebar">
|
|
41
|
+
<div id="search-wrap">
|
|
42
|
+
<input id="search" type="text" placeholder="Search nodes..." autocomplete="off">
|
|
43
|
+
<div id="search-results"></div>
|
|
44
|
+
</div>
|
|
45
|
+
<div id="info-panel">
|
|
46
|
+
<h3>Node Info</h3>
|
|
47
|
+
<div id="info-content"><span class="empty">Click a node to inspect it</span></div>
|
|
48
|
+
</div>
|
|
49
|
+
<div id="legend-wrap">
|
|
50
|
+
<h3>Communities</h3>
|
|
51
|
+
<div id="legend"></div>
|
|
52
|
+
</div>
|
|
53
|
+
<div id="stats">88 nodes · 119 edges · 18 communities</div>
|
|
54
|
+
</div>
|
|
55
|
+
<script>
|
|
56
|
+
const RAW_NODES = [{"id": "rollup_config", "label": "rollup.config.js", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "rollup.config.js", "community": 14, "community_name": "Rollup Config (orphaned)", "source_file": "rollup.config.js", "file_type": "code", "degree": 0}, {"id": "main_d", "label": "main.d.ts", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "main.d.ts", "community": 15, "community_name": "TypeScript Declarations (orphaned)", "source_file": "types/src/main.d.ts", "file_type": "code", "degree": 0}, {"id": "01_notice", "label": "01-notice.js", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "01-notice.js", "community": 7, "community_name": "Test Suite", "source_file": "test/01-notice.js", "file_type": "code", "degree": 3}, {"id": "01_notice_fn1", "label": "fn1()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "fn1()", "community": 7, "community_name": "Test Suite", "source_file": "test/01-notice.js", "file_type": "code", "degree": 1}, {"id": "01_notice_fn2", "label": "fn2()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "fn2()", "community": 7, "community_name": "Test Suite", "source_file": "test/01-notice.js", "file_type": "code", "degree": 1}, {"id": "01_notice_fn3", "label": "fn3()", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "fn3()", "community": 7, "community_name": "Test Suite", "source_file": "test/01-notice.js", "file_type": "code", "degree": 1}, {"id": "block_navigation", "label": "block-navigation.js", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "block-navigation.js", "community": 5, "community_name": "Coverage Block Navigation", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 4}, {"id": "block_navigation_toggleclass", "label": "toggleClass()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "toggleClass()", "community": 5, "community_name": "Coverage Block Navigation", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 2}, {"id": "block_navigation_makecurrent", "label": "makeCurrent()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "makeCurrent()", "community": 5, "community_name": "Coverage Block Navigation", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 4}, {"id": "block_navigation_gotoprevious", "label": "goToPrevious()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "goToPrevious()", "community": 5, "community_name": "Coverage Block Navigation", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 2}, {"id": "block_navigation_gotonext", "label": "goToNext()", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "goToNext()", "community": 5, "community_name": "Coverage Block Navigation", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 2}, {"id": "prettify", "label": "prettify.js", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 33.1, "font": {"size": 12, "color": "#ffffff"}, "title": "prettify.js", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 10}, {"id": "prettify_k", "label": "k()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "k()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 2}, {"id": "prettify_a", "label": "a()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "a()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 2}, {"id": "prettify_b", "label": "B()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "B()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 3}, {"id": "prettify_o", "label": "o()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "o()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 1}, {"id": "prettify_g", "label": "g()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "g()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 5}, {"id": "prettify_i", "label": "i()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "i()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 2}, {"id": "prettify_q", "label": "Q()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "Q()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 4}, {"id": "prettify_d", "label": "D()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "D()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 4}, {"id": "prettify_c", "label": "c()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "c()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 1}, {"id": "prettify_y", "label": "y()", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "y()", "community": 1, "community_name": "Coverage Syntax Highlighter", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 4}, {"id": "sorter", "label": "sorter.js", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "sorter.js", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 13}, {"id": "sorter_gettable", "label": "getTable()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "getTable()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 3}, {"id": "sorter_gettableheader", "label": "getTableHeader()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "getTableHeader()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 4}, {"id": "sorter_gettablebody", "label": "getTableBody()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "getTableBody()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 3}, {"id": "sorter_getnthcolumn", "label": "getNthColumn()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "getNthColumn()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 5}, {"id": "sorter_onfilterinput", "label": "onFilterInput()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "onFilterInput()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 1}, {"id": "sorter_addsearchbox", "label": "addSearchBox()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "addSearchBox()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 1}, {"id": "sorter_loadcolumns", "label": "loadColumns()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "loadColumns()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 2}, {"id": "sorter_loadrowdata", "label": "loadRowData()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "loadRowData()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 2}, {"id": "sorter_loaddata", "label": "loadData()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "loadData()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 3}, {"id": "sorter_sortbyindex", "label": "sortByIndex()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "sortByIndex()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 2}, {"id": "sorter_removesortindicators", "label": "removeSortIndicators()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "removeSortIndicators()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 3}, {"id": "sorter_addsortindicators", "label": "addSortIndicators()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "addSortIndicators()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 3}, {"id": "sorter_enableui", "label": "enableUI()", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "enableUI()", "community": 0, "community_name": "Coverage Table Sorter", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 5}, {"id": "main", "label": "main.js", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "main.js", "community": 12, "community_name": "Notice Factory Export", "source_file": "src/main.js", "file_type": "code", "degree": 1}, {"id": "main_notice", "label": "notice()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "notice()", "community": 12, "community_name": "Notice Factory Export", "source_file": "src/main.js", "file_type": "code", "degree": 1}, {"id": "readme_notice_overview", "label": "Notice Library Overview", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "Notice Library Overview", "community": 3, "community_name": "Core Architecture", "source_file": "README.md", "file_type": "document", "degree": 2}, {"id": "readme_method_on", "label": "on(eventName, fn) - Register regular event", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "on(eventName, fn) - Register regular event", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_once", "label": "once(eventName, fn) - Register single event", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "once(eventName, fn) - Register single event", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_off", "label": "off(eventName, fn) - Unsubscribe", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "off(eventName, fn) - Unsubscribe", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_reset", "label": "reset() - Remove all events", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "reset() - Remove all events", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_emit", "label": "emit(eventName, data) - Trigger event", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "emit(eventName, data) - Trigger event", "community": 8, "community_name": "Emit & Debug", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_stop", "label": "stop(eventName) - Mute event", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "stop(eventName) - Mute event", "community": 6, "community_name": "Mute / Unmute Flow", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_start", "label": "start(eventName) - Unmute event", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "start(eventName) - Unmute event", "community": 6, "community_name": "Mute / Unmute Flow", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "readme_method_debug", "label": "debug(state, label) - Toggle debug logging", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "debug(state, label) - Toggle debug logging", "community": 8, "community_name": "Emit & Debug", "source_file": "README.md", "file_type": "document", "degree": 1}, {"id": "changelog_v210_reset", "label": "v2.1.0 - Added reset method", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.1.0 - Added reset method", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v230_stop_convention", "label": "v2.3.0 - 'stop' return-value convention", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.3.0 - 'stop' return-value convention", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v231_wildcard_stop_fix", "label": "v2.3.1 - Wildcard callbacks also stop on 'stop'", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.3.1 - Wildcard callbacks also stop on 'stop'", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v220_wildcard_listener", "label": "v2.2.0 - Listen-with-wildcard added", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.2.0 - Listen-with-wildcard added", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v200_es6_module", "label": "v2.0.0 - ES6 module + MIT license", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.0.0 - ES6 module + MIT license", "community": 3, "community_name": "Core Architecture", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v223_dist_and_exports", "label": "v2.2.3 - dist folder + package exports", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.2.3 - dist folder + package exports", "community": 10, "community_name": "Build Outputs (UMD/CJS/ESM)", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v232_jsdoc_and_types", "label": "v2.3.2 - JSDoc + TypeScript declarations", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.3.2 - JSDoc + TypeScript declarations", "community": 3, "community_name": "Core Architecture", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "changelog_v240_symbol_event", "label": "v2.4.0 - Event name can be Symbol", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "v2.4.0 - Event name can be Symbol", "community": 3, "community_name": "Core Architecture", "source_file": "Changelog.md", "file_type": "document", "degree": 1}, {"id": "coc_community_standards", "label": "Contributor Covenant Code of Conduct", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Contributor Covenant Code of Conduct", "community": 13, "community_name": "Community & Security Governance", "source_file": "CODE_OF_CONDUCT.md", "file_type": "document", "degree": 1}, {"id": "security_supported_versions", "label": "Security - 2.x supported, <2.0 EOL", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Security - 2.x supported, <2.0 EOL", "community": 13, "community_name": "Community & Security Governance", "source_file": "SECURITY.md", "file_type": "document", "degree": 1}, {"id": "rollup_build_pipeline", "label": "Rollup build configuration", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Rollup build configuration", "community": 3, "community_name": "Core Architecture", "source_file": "rollup.config.js", "file_type": "code", "degree": 1}, {"id": "rollup_umd_build", "label": "UMD browser build (dist/notice.umd.js)", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "UMD browser build (dist/notice.umd.js)", "community": 10, "community_name": "Build Outputs (UMD/CJS/ESM)", "source_file": "rollup.config.js", "file_type": "code", "degree": 1}, {"id": "rollup_cjs_esm_build", "label": "CJS + ESM Node build", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "CJS + ESM Node build", "community": 10, "community_name": "Build Outputs (UMD/CJS/ESM)", "source_file": "rollup.config.js", "file_type": "code", "degree": 2}, {"id": "main_notice_factory", "label": "notice() factory function", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 28.5, "font": {"size": 12, "color": "#ffffff"}, "title": "notice() factory function", "community": 3, "community_name": "Core Architecture", "source_file": "src/main.js", "file_type": "code", "degree": 8}, {"id": "main_method_on", "label": "on(e, fn) - internal implementation", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "on(e, fn) - internal implementation", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 3}, {"id": "main_method_once", "label": "once(e, fn) - internal implementation", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "once(e, fn) - internal implementation", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 3}, {"id": "main_method_off", "label": "off(e, fx) - internal implementation", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "off(e, fx) - internal implementation", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 5}, {"id": "main_method_reset", "label": "reset() - internal implementation", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 26.2, "font": {"size": 12, "color": "#ffffff"}, "title": "reset() - internal implementation", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 7}, {"id": "main_method_emit", "label": "emit(...args) - internal implementation", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 26.2, "font": {"size": 12, "color": "#ffffff"}, "title": "emit(...args) - internal implementation", "community": 8, "community_name": "Emit & Debug", "source_file": "src/main.js", "file_type": "code", "degree": 7}, {"id": "main_method_stop", "label": "stop(e) - internal implementation", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "stop(e) - internal implementation", "community": 6, "community_name": "Mute / Unmute Flow", "source_file": "src/main.js", "file_type": "code", "degree": 4}, {"id": "main_method_start", "label": "start(e) - internal implementation", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 19.2, "font": {"size": 12, "color": "#ffffff"}, "title": "start(e) - internal implementation", "community": 6, "community_name": "Mute / Unmute Flow", "source_file": "src/main.js", "file_type": "code", "degree": 4}, {"id": "main_method_debug", "label": "debug(val, header) - internal implementation", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "debug(val, header) - internal implementation", "community": 8, "community_name": "Emit & Debug", "source_file": "src/main.js", "file_type": "code", "degree": 2}, {"id": "main_data_scroll", "label": "scroll - regular event subscriber map", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 26.2, "font": {"size": 12, "color": "#ffffff"}, "title": "scroll - regular event subscriber map", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 7}, {"id": "main_data_scroll_once", "label": "scrollOnce - single-event subscriber map", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "scrollOnce - single-event subscriber map", "community": 2, "community_name": "Subscription Lifecycle", "source_file": "src/main.js", "file_type": "code", "degree": 5}, {"id": "main_data_ignore", "label": "ignore - Set of muted event names", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 21.5, "font": {"size": 12, "color": "#ffffff"}, "title": "ignore - Set of muted event names", "community": 6, "community_name": "Mute / Unmute Flow", "source_file": "src/main.js", "file_type": "code", "degree": 5}, {"id": "main_exe_callback", "label": "exeCallback(name) - inner emit helper", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 23.8, "font": {"size": 12, "color": "#ffffff"}, "title": "exeCallback(name) - inner emit helper", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "src/main.js", "file_type": "code", "degree": 6}, {"id": "main_wildcard_feature", "label": "'*' wildcard event channel", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "'*' wildcard event channel", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "src/main.js", "file_type": "code", "degree": 3}, {"id": "main_stop_string_convention", "label": "Return 'STOP' halts callback chain", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "Return 'STOP' halts callback chain", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "src/main.js", "file_type": "code", "degree": 3}, {"id": "main_closure_pattern", "label": "Closure-based per-instance state pattern", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "Closure-based per-instance state pattern", "community": 3, "community_name": "Core Architecture", "source_file": "src/main.js", "file_type": "code", "degree": 3}, {"id": "types_main_d_ts", "label": "TypeScript declarations (root)", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "TypeScript declarations (root)", "community": 3, "community_name": "Core Architecture", "source_file": "types/main.d.ts", "file_type": "code", "degree": 3}, {"id": "types_src_main_d_ts", "label": "TypeScript declarations (src mirror)", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "TypeScript declarations (src mirror)", "community": 3, "community_name": "Core Architecture", "source_file": "types/src/main.d.ts", "file_type": "code", "degree": 2}, {"id": "test_suite", "label": "Mocha+Chai test suite for Notice", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 33.1, "font": {"size": 12, "color": "#ffffff"}, "title": "Mocha+Chai test suite for Notice", "community": 4, "community_name": "Emit & Wildcard Channel", "source_file": "test/01-notice.js", "file_type": "code", "degree": 10}, {"id": "coverage_block_navigation", "label": "Coverage UI - jump-to-code highlighting", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "Coverage UI - jump-to-code highlighting", "community": 11, "community_name": "Coverage UI Scripts", "source_file": "coverage/lcov-report/block-navigation.js", "file_type": "code", "degree": 2}, {"id": "coverage_prettify", "label": "Coverage UI - syntax highlighter (prettify)", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Coverage UI - syntax highlighter (prettify)", "community": 11, "community_name": "Coverage UI Scripts", "source_file": "coverage/lcov-report/prettify.js", "file_type": "code", "degree": 1}, {"id": "coverage_sorter", "label": "Coverage UI - summary table sorting/filter", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Coverage UI - summary table sorting/filter", "community": 11, "community_name": "Coverage UI Scripts", "source_file": "coverage/lcov-report/sorter.js", "file_type": "code", "degree": 1}, {"id": "notice_desk_hero", "label": "Notice Event Emitter Hero Banner", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "Notice Event Emitter Hero Banner", "community": 9, "community_name": "Notice Brand Identity", "source_file": "notice-desk.png", "file_type": "image", "degree": 3}, {"id": "notice_desk_event_emitter_label", "label": "Event Emitter Branding", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "Event Emitter Branding", "community": 9, "community_name": "Notice Brand Identity", "source_file": "notice-desk.png", "file_type": "image", "degree": 2}, {"id": "notice_desk_bell_icon", "label": "Bell Notification Icon", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "Bell Notification Icon", "community": 9, "community_name": "Notice Brand Identity", "source_file": "notice-desk.png", "file_type": "image", "degree": 2}, {"id": "notice_desk_notice_label", "label": "NOTICE Wordmark", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "NOTICE Wordmark", "community": 9, "community_name": "Notice Brand Identity", "source_file": "notice-desk.png", "file_type": "image", "degree": 3}, {"id": "coverage_favicon", "label": "Coverage Report Favicon", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "Coverage Report Favicon", "community": 16, "community_name": "Coverage Favicon (asset)", "source_file": "coverage/lcov-report/favicon.png", "file_type": "image", "degree": 0}, {"id": "coverage_sort_arrow_sprite", "label": "Sort Arrow Sprite Icons", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.0, "font": {"size": 0, "color": "#ffffff"}, "title": "Sort Arrow Sprite Icons", "community": 17, "community_name": "Coverage Sort Sprite (asset)", "source_file": "coverage/lcov-report/sort-arrow-sprite.png", "file_type": "image", "degree": 0}];
|
|
57
|
+
const RAW_EDGES = [{"from": "01_notice", "to": "01_notice_fn1", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "01_notice", "to": "01_notice_fn2", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "01_notice", "to": "01_notice_fn3", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation", "to": "block_navigation_toggleclass", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation", "to": "block_navigation_makecurrent", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation", "to": "block_navigation_gotoprevious", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation", "to": "block_navigation_gotonext", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation_toggleclass", "to": "block_navigation_makecurrent", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation_makecurrent", "to": "block_navigation_gotoprevious", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "block_navigation_makecurrent", "to": "block_navigation_gotonext", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_k", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_a", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_b", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_o", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_g", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_i", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_q", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_d", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_c", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify", "to": "prettify_y", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_k", "to": "prettify_g", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_a", "to": "prettify_d", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_b", "to": "prettify_g", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_b", "to": "prettify_y", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_g", "to": "prettify_q", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_g", "to": "prettify_i", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_q", "to": "prettify_d", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_q", "to": "prettify_y", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "prettify_d", "to": "prettify_y", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_gettable", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_gettableheader", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_gettablebody", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_getnthcolumn", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_onfilterinput", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_addsearchbox", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_loadcolumns", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_loadrowdata", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_loaddata", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_sortbyindex", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_removesortindicators", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_addsortindicators", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter", "to": "sorter_enableui", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_gettable", "to": "sorter_gettableheader", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_gettable", "to": "sorter_gettablebody", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_gettableheader", "to": "sorter_getnthcolumn", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_gettableheader", "to": "sorter_loadcolumns", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_gettablebody", "to": "sorter_loaddata", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_getnthcolumn", "to": "sorter_removesortindicators", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_getnthcolumn", "to": "sorter_addsortindicators", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_getnthcolumn", "to": "sorter_enableui", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_loadrowdata", "to": "sorter_loaddata", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_sortbyindex", "to": "sorter_enableui", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_removesortindicators", "to": "sorter_enableui", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sorter_addsortindicators", "to": "sorter_enableui", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main", "to": "main_notice", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_notice_overview", "to": "main_notice_factory", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_notice_overview", "to": "main_closure_pattern", "label": "rationale_for", "title": "rationale_for [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "readme_method_on", "to": "main_method_on", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_once", "to": "main_method_once", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_off", "to": "main_method_off", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_reset", "to": "main_method_reset", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_emit", "to": "main_method_emit", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_stop", "to": "main_method_stop", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_start", "to": "main_method_start", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "readme_method_debug", "to": "main_method_debug", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v210_reset", "to": "main_method_reset", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v230_stop_convention", "to": "main_stop_string_convention", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v231_wildcard_stop_fix", "to": "main_exe_callback", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v220_wildcard_listener", "to": "main_wildcard_feature", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v200_es6_module", "to": "main_notice_factory", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v223_dist_and_exports", "to": "rollup_cjs_esm_build", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v232_jsdoc_and_types", "to": "types_main_d_ts", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "changelog_v240_symbol_event", "to": "main_notice_factory", "label": "rationale_for", "title": "rationale_for [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "coc_community_standards", "to": "security_supported_versions", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "rollup_build_pipeline", "to": "main_notice_factory", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "rollup_umd_build", "to": "rollup_cjs_esm_build", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_notice_factory", "to": "main_closure_pattern", "label": "implements", "title": "implements [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_notice_factory", "to": "types_main_d_ts", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_notice_factory", "to": "types_src_main_d_ts", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_notice_factory", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_on", "to": "main_data_scroll", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_on", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_once", "to": "main_data_scroll_once", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_once", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_off", "to": "main_data_scroll", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_off", "to": "main_data_scroll_once", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_off", "to": "main_method_reset", "label": "semantically_similar_to", "title": "semantically_similar_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_method_off", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_reset", "to": "main_data_scroll", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_reset", "to": "main_data_scroll_once", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_reset", "to": "main_data_ignore", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_reset", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_emit", "to": "main_data_scroll", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_emit", "to": "main_data_scroll_once", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_emit", "to": "main_data_ignore", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_emit", "to": "main_exe_callback", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_emit", "to": "main_method_debug", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_method_emit", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_stop", "to": "main_data_ignore", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_stop", "to": "main_method_start", "label": "semantically_similar_to", "title": "semantically_similar_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_method_stop", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_start", "to": "main_data_ignore", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_method_start", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_data_scroll", "to": "main_exe_callback", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_data_scroll", "to": "main_data_scroll_once", "label": "semantically_similar_to", "title": "semantically_similar_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_data_scroll", "to": "main_closure_pattern", "label": "shares_data_with", "title": "shares_data_with [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "main_data_ignore", "to": "main_exe_callback", "label": "shares_data_with", "title": "shares_data_with [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_exe_callback", "to": "main_stop_string_convention", "label": "implements", "title": "implements [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_exe_callback", "to": "main_wildcard_feature", "label": "implements", "title": "implements [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_wildcard_feature", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "main_stop_string_convention", "to": "test_suite", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "types_main_d_ts", "to": "types_src_main_d_ts", "label": "semantically_similar_to", "title": "semantically_similar_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "coverage_block_navigation", "to": "coverage_sorter", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "coverage_block_navigation", "to": "coverage_prettify", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "notice_desk_hero", "to": "notice_desk_event_emitter_label", "label": "rationale_for", "title": "rationale_for [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "notice_desk_hero", "to": "notice_desk_bell_icon", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "notice_desk_hero", "to": "notice_desk_notice_label", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "notice_desk_event_emitter_label", "to": "notice_desk_notice_label", "label": "conceptually_related_to", "title": "conceptually_related_to [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "notice_desk_bell_icon", "to": "notice_desk_notice_label", "label": "conceptually_related_to", "title": "conceptually_related_to [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}];
|
|
58
|
+
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Coverage Table Sorter", "count": 14}, {"cid": 1, "color": "#F28E2B", "label": "Coverage Syntax Highlighter", "count": 11}, {"cid": 2, "color": "#E15759", "label": "Subscription Lifecycle", "count": 11}, {"cid": 3, "color": "#76B7B2", "label": "Core Architecture", "count": 9}, {"cid": 4, "color": "#59A14F", "label": "Emit & Wildcard Channel", "count": 7}, {"cid": 5, "color": "#EDC948", "label": "Coverage Block Navigation", "count": 5}, {"cid": 6, "color": "#B07AA1", "label": "Mute / Unmute Flow", "count": 5}, {"cid": 7, "color": "#FF9DA7", "label": "Test Suite", "count": 4}, {"cid": 8, "color": "#9C755F", "label": "Emit & Debug", "count": 4}, {"cid": 9, "color": "#BAB0AC", "label": "Notice Brand Identity", "count": 4}, {"cid": 10, "color": "#4E79A7", "label": "Build Outputs (UMD/CJS/ESM)", "count": 3}, {"cid": 11, "color": "#F28E2B", "label": "Coverage UI Scripts", "count": 3}, {"cid": 12, "color": "#E15759", "label": "Notice Factory Export", "count": 2}, {"cid": 13, "color": "#76B7B2", "label": "Community & Security Governance", "count": 2}, {"cid": 14, "color": "#59A14F", "label": "Rollup Config (orphaned)", "count": 1}, {"cid": 15, "color": "#EDC948", "label": "TypeScript Declarations (orphaned)", "count": 1}, {"cid": 16, "color": "#B07AA1", "label": "Coverage Favicon (asset)", "count": 1}, {"cid": 17, "color": "#FF9DA7", "label": "Coverage Sort Sprite (asset)", "count": 1}];
|
|
59
|
+
|
|
60
|
+
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
|
61
|
+
function esc(s) {
|
|
62
|
+
return String(s).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Build vis datasets
|
|
66
|
+
const nodesDS = new vis.DataSet(RAW_NODES.map(n => ({
|
|
67
|
+
id: n.id, label: n.label, color: n.color, size: n.size,
|
|
68
|
+
font: n.font, title: n.title,
|
|
69
|
+
_community: n.community, _community_name: n.community_name,
|
|
70
|
+
_source_file: n.source_file, _file_type: n.file_type, _degree: n.degree,
|
|
71
|
+
})));
|
|
72
|
+
|
|
73
|
+
const edgesDS = new vis.DataSet(RAW_EDGES.map((e, i) => ({
|
|
74
|
+
id: i, from: e.from, to: e.to,
|
|
75
|
+
label: '',
|
|
76
|
+
title: e.title,
|
|
77
|
+
dashes: e.dashes,
|
|
78
|
+
width: e.width,
|
|
79
|
+
color: e.color,
|
|
80
|
+
arrows: { to: { enabled: true, scaleFactor: 0.5 } },
|
|
81
|
+
})));
|
|
82
|
+
|
|
83
|
+
const container = document.getElementById('graph');
|
|
84
|
+
const network = new vis.Network(container, { nodes: nodesDS, edges: edgesDS }, {
|
|
85
|
+
physics: {
|
|
86
|
+
enabled: true,
|
|
87
|
+
solver: 'forceAtlas2Based',
|
|
88
|
+
forceAtlas2Based: {
|
|
89
|
+
gravitationalConstant: -60,
|
|
90
|
+
centralGravity: 0.005,
|
|
91
|
+
springLength: 120,
|
|
92
|
+
springConstant: 0.08,
|
|
93
|
+
damping: 0.4,
|
|
94
|
+
avoidOverlap: 0.8,
|
|
95
|
+
},
|
|
96
|
+
stabilization: { iterations: 200, fit: true },
|
|
97
|
+
},
|
|
98
|
+
interaction: {
|
|
99
|
+
hover: true,
|
|
100
|
+
tooltipDelay: 100,
|
|
101
|
+
hideEdgesOnDrag: true,
|
|
102
|
+
navigationButtons: false,
|
|
103
|
+
keyboard: false,
|
|
104
|
+
},
|
|
105
|
+
nodes: { shape: 'dot', borderWidth: 1.5 },
|
|
106
|
+
edges: { smooth: { type: 'continuous', roundness: 0.2 }, selectionWidth: 3 },
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
network.once('stabilizationIterationsDone', () => {
|
|
110
|
+
network.setOptions({ physics: { enabled: false } });
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
function showInfo(nodeId) {
|
|
114
|
+
const n = nodesDS.get(nodeId);
|
|
115
|
+
if (!n) return;
|
|
116
|
+
const neighborIds = network.getConnectedNodes(nodeId);
|
|
117
|
+
const neighborItems = neighborIds.map(nid => {
|
|
118
|
+
const nb = nodesDS.get(nid);
|
|
119
|
+
const color = nb ? nb.color.background : '#555';
|
|
120
|
+
return `<span class="neighbor-link" style="border-left-color:${esc(color)}" onclick="focusNode(${JSON.stringify(nid)})">${esc(nb ? nb.label : nid)}</span>`;
|
|
121
|
+
}).join('');
|
|
122
|
+
document.getElementById('info-content').innerHTML = `
|
|
123
|
+
<div class="field"><b>${esc(n.label)}</b></div>
|
|
124
|
+
<div class="field">Type: ${esc(n._file_type || 'unknown')}</div>
|
|
125
|
+
<div class="field">Community: ${esc(n._community_name)}</div>
|
|
126
|
+
<div class="field">Source: ${esc(n._source_file || '-')}</div>
|
|
127
|
+
<div class="field">Degree: ${n._degree}</div>
|
|
128
|
+
${neighborIds.length ? `<div class="field" style="margin-top:8px;color:#aaa;font-size:11px">Neighbors (${neighborIds.length})</div><div id="neighbors-list">${neighborItems}</div>` : ''}
|
|
129
|
+
`;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function focusNode(nodeId) {
|
|
133
|
+
network.focus(nodeId, { scale: 1.4, animation: true });
|
|
134
|
+
network.selectNodes([nodeId]);
|
|
135
|
+
showInfo(nodeId);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Track hovered node — hover detection is more reliable than click params
|
|
139
|
+
let hoveredNodeId = null;
|
|
140
|
+
network.on('hoverNode', params => {
|
|
141
|
+
hoveredNodeId = params.node;
|
|
142
|
+
container.style.cursor = 'pointer';
|
|
143
|
+
});
|
|
144
|
+
network.on('blurNode', () => {
|
|
145
|
+
hoveredNodeId = null;
|
|
146
|
+
container.style.cursor = 'default';
|
|
147
|
+
});
|
|
148
|
+
container.addEventListener('click', () => {
|
|
149
|
+
if (hoveredNodeId !== null) {
|
|
150
|
+
showInfo(hoveredNodeId);
|
|
151
|
+
network.selectNodes([hoveredNodeId]);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
network.on('click', params => {
|
|
155
|
+
if (params.nodes.length > 0) {
|
|
156
|
+
showInfo(params.nodes[0]);
|
|
157
|
+
} else if (hoveredNodeId === null) {
|
|
158
|
+
document.getElementById('info-content').innerHTML = '<span class="empty">Click a node to inspect it</span>';
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
const searchInput = document.getElementById('search');
|
|
163
|
+
const searchResults = document.getElementById('search-results');
|
|
164
|
+
searchInput.addEventListener('input', () => {
|
|
165
|
+
const q = searchInput.value.toLowerCase().trim();
|
|
166
|
+
searchResults.innerHTML = '';
|
|
167
|
+
if (!q) { searchResults.style.display = 'none'; return; }
|
|
168
|
+
const matches = RAW_NODES.filter(n => n.label.toLowerCase().includes(q)).slice(0, 20);
|
|
169
|
+
if (!matches.length) { searchResults.style.display = 'none'; return; }
|
|
170
|
+
searchResults.style.display = 'block';
|
|
171
|
+
matches.forEach(n => {
|
|
172
|
+
const el = document.createElement('div');
|
|
173
|
+
el.className = 'search-item';
|
|
174
|
+
el.textContent = n.label;
|
|
175
|
+
el.style.borderLeft = `3px solid ${n.color.background}`;
|
|
176
|
+
el.style.paddingLeft = '8px';
|
|
177
|
+
el.onclick = () => {
|
|
178
|
+
network.focus(n.id, { scale: 1.5, animation: true });
|
|
179
|
+
network.selectNodes([n.id]);
|
|
180
|
+
showInfo(n.id);
|
|
181
|
+
searchResults.style.display = 'none';
|
|
182
|
+
searchInput.value = '';
|
|
183
|
+
};
|
|
184
|
+
searchResults.appendChild(el);
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
document.addEventListener('click', e => {
|
|
188
|
+
if (!searchResults.contains(e.target) && e.target !== searchInput)
|
|
189
|
+
searchResults.style.display = 'none';
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
const hiddenCommunities = new Set();
|
|
193
|
+
const legendEl = document.getElementById('legend');
|
|
194
|
+
LEGEND.forEach(c => {
|
|
195
|
+
const item = document.createElement('div');
|
|
196
|
+
item.className = 'legend-item';
|
|
197
|
+
item.innerHTML = `<div class="legend-dot" style="background:${c.color}"></div>
|
|
198
|
+
<span class="legend-label">${c.label}</span>
|
|
199
|
+
<span class="legend-count">${c.count}</span>`;
|
|
200
|
+
item.onclick = () => {
|
|
201
|
+
if (hiddenCommunities.has(c.cid)) {
|
|
202
|
+
hiddenCommunities.delete(c.cid);
|
|
203
|
+
item.classList.remove('dimmed');
|
|
204
|
+
} else {
|
|
205
|
+
hiddenCommunities.add(c.cid);
|
|
206
|
+
item.classList.add('dimmed');
|
|
207
|
+
}
|
|
208
|
+
const updates = RAW_NODES
|
|
209
|
+
.filter(n => n.community === c.cid)
|
|
210
|
+
.map(n => ({ id: n.id, hidden: hiddenCommunities.has(c.cid) }));
|
|
211
|
+
nodesDS.update(updates);
|
|
212
|
+
};
|
|
213
|
+
legendEl.appendChild(item);
|
|
214
|
+
});
|
|
215
|
+
</script>
|
|
216
|
+
<script>
|
|
217
|
+
// Render hyperedges as shaded regions
|
|
218
|
+
const hyperedges = [{"id": "notice_api_surface", "label": "Notice public API surface", "nodes": ["main_method_on", "main_method_once", "main_method_off", "main_method_reset", "main_method_emit", "main_method_stop", "main_method_start", "main_method_debug"], "relation": "form", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "src/main.js"}, {"id": "subscription_lifecycle", "label": "Subscription add/remove lifecycle", "nodes": ["main_method_on", "main_method_once", "main_method_off", "main_method_reset", "main_data_scroll", "main_data_scroll_once"], "relation": "participate_in", "confidence": "INFERRED", "confidence_score": 0.9, "source_file": "src/main.js"}, {"id": "mute_lifecycle", "label": "Event mute/unmute flow", "nodes": ["main_method_stop", "main_method_start", "main_method_emit", "main_data_ignore", "main_exe_callback"], "relation": "participate_in", "confidence": "INFERRED", "confidence_score": 0.9, "source_file": "src/main.js"}, {"id": "notice_brand_identity", "label": "Notice Project Visual Identity", "nodes": ["notice_desk_event_emitter_label", "notice_desk_bell_icon", "notice_desk_notice_label"], "relation": "form", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "notice-desk.png"}];
|
|
219
|
+
function drawHyperedges() {
|
|
220
|
+
const canvas = network.canvas.frame.canvas;
|
|
221
|
+
const ctx = canvas.getContext('2d');
|
|
222
|
+
hyperedges.forEach(h => {
|
|
223
|
+
const positions = h.nodes
|
|
224
|
+
.map(nid => network.getPositions([nid])[nid])
|
|
225
|
+
.filter(p => p !== undefined);
|
|
226
|
+
if (positions.length < 2) return;
|
|
227
|
+
// Draw convex hull as filled polygon
|
|
228
|
+
ctx.save();
|
|
229
|
+
ctx.globalAlpha = 0.12;
|
|
230
|
+
ctx.fillStyle = '#6366f1';
|
|
231
|
+
ctx.strokeStyle = '#6366f1';
|
|
232
|
+
ctx.lineWidth = 2;
|
|
233
|
+
ctx.beginPath();
|
|
234
|
+
const scale = network.getScale();
|
|
235
|
+
const offset = network.getViewPosition();
|
|
236
|
+
const toCanvas = (p) => ({
|
|
237
|
+
x: (p.x - offset.x) * scale + canvas.width / 2,
|
|
238
|
+
y: (p.y - offset.y) * scale + canvas.height / 2
|
|
239
|
+
});
|
|
240
|
+
const pts = positions.map(toCanvas);
|
|
241
|
+
// Expand hull slightly
|
|
242
|
+
const cx = pts.reduce((s, p) => s + p.x, 0) / pts.length;
|
|
243
|
+
const cy = pts.reduce((s, p) => s + p.y, 0) / pts.length;
|
|
244
|
+
const expanded = pts.map(p => ({
|
|
245
|
+
x: cx + (p.x - cx) * 1.15,
|
|
246
|
+
y: cy + (p.y - cy) * 1.15
|
|
247
|
+
}));
|
|
248
|
+
ctx.moveTo(expanded[0].x, expanded[0].y);
|
|
249
|
+
expanded.slice(1).forEach(p => ctx.lineTo(p.x, p.y));
|
|
250
|
+
ctx.closePath();
|
|
251
|
+
ctx.fill();
|
|
252
|
+
ctx.globalAlpha = 0.4;
|
|
253
|
+
ctx.stroke();
|
|
254
|
+
// Label
|
|
255
|
+
ctx.globalAlpha = 0.8;
|
|
256
|
+
ctx.fillStyle = '#4f46e5';
|
|
257
|
+
ctx.font = 'bold 11px sans-serif';
|
|
258
|
+
ctx.textAlign = 'center';
|
|
259
|
+
ctx.fillText(h.label, cx, cy - 5);
|
|
260
|
+
ctx.restore();
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
network.on('afterDrawing', drawHyperedges);
|
|
264
|
+
</script>
|
|
265
|
+
</body>
|
|
266
|
+
</html>
|