-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-mock.html
More file actions
40 lines (38 loc) · 1.27 KB
/
index-mock.html
File metadata and controls
40 lines (38 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Network Visualization (Mock Data)</title>
<link rel="stylesheet" href="css/styles.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.8.5/d3.min.js"></script>
<script type="module">
import * as Plot from "https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/+esm";
window.Plot = Plot;
</script>
</head>
<body>
<div class="container">
<div class="visualization-container">
<svg id="network"></svg>
</div>
<div id="details-panel" class="details-panel">
<div class="details-content">
<div class="no-selection-message">
Select a node or link to view details
</div>
</div>
</div>
</div>
<!-- Set mock data flag before loading any scripts -->
<script>
window.USE_MOCK_DATA = true;
</script>
<!-- Load the application scripts -->
<script src="js/DetailsPanelManager.js"></script>
<script src="js/NetworkStats.js"></script>
<script src="js/NetworkVisualizer.js"></script>
<script src="js/MockDataGenerator.js"></script>
<script src="js/init.js"></script>
</body>
</html>