-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (56 loc) · 2.25 KB
/
index.html
File metadata and controls
65 lines (56 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Codegraph Sigma Viewer</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<main class="app-shell">
<aside class="sidebar">
<header>
<h1>Codegraph Sigma Viewer</h1>
<p>Load codegraph JSON output and explore dependency relationships with Sigma.js.</p>
</header>
<section class="controls">
<label for="graph-file">Graph JSON file</label>
<input id="graph-file" type="file" accept="application/json" />
<div class="actions">
<button id="load-default" type="button">Load ./codegraph.json</button>
<button id="refresh" type="button">Refresh</button>
<button id="reset-camera" type="button">Reset camera</button>
</div>
<label class="inline-control" for="show-external">
<input id="show-external" type="checkbox" />
Show external package nodes
</label>
<label class="inline-control" for="include-symbols">
<input id="include-symbols" type="checkbox" />
Include symbols when available (can be large)
</label>
<p id="status" role="status">Load a graph to begin.</p>
</section>
<section class="tree-panel">
<div class="tree-toolbar">
<input id="tree-search" type="search" placeholder="Filter files and symbols..." autocomplete="off" />
</div>
<div id="file-tree" class="file-tree">
<p class="empty-state">Load a graph to see the file tree.</p>
</div>
</section>
<section id="detail-panel" class="detail-panel hidden">
<div class="detail-header">
<span id="detail-title"></span>
<button id="detail-close" type="button" title="Close panel">×</button>
</div>
<div id="detail-content"></div>
</section>
</aside>
<section class="graph-panel">
<div id="graph-container" aria-label="Dependency graph visualization"></div>
</section>
</main>
<script type="module" src="./app.js"></script>
</body>
</html>