Release v2.10.0: Implement progressive scale-ready UI navigation for growing datasets across /quant/, /graph/, /learn/, /engineering/, and /math/
This commit is contained in:
1 parent
2c0c7e9241
commit
b569f49e32
10 files changed
+116
-28
No files matched your search
+53
-14
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.9.0)</title>
|
||||
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.10.0)</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -268,7 +268,7 @@
|
||||
<header>
|
||||
<div class="brand">
|
||||
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
|
||||
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.9.0</p>
|
||||
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.10.0</p>
|
||||
</div>
|
||||
<div class="toolbar">
|
||||
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
|
||||
@@ -285,6 +285,12 @@
|
||||
<option value="syzygy">CCRU 9-Sum Numogram Syzygies (1::8, 2::7, 3::6, 4::5)</option>
|
||||
<option value="m7">M7_candidate_2026_11_28</option>
|
||||
</select>
|
||||
<select id="minDegreeFilter" class="filter-select" title="Filter nodes by minimum hub degree (Strategy 3A)">
|
||||
<option value="0">Degree: All Nodes</option>
|
||||
<option value="3">Min Degree ≥ 3</option>
|
||||
<option value="10">Min Degree ≥ 10</option>
|
||||
<option value="25">Min Degree ≥ 25 (Hubs)</option>
|
||||
</select>
|
||||
<button class="btn" id="resetViewBtn">Reset View</button>
|
||||
<button class="btn" id="exportPngBtn">Export PNG</button>
|
||||
</div>
|
||||
@@ -322,10 +328,10 @@
|
||||
</aside>
|
||||
</div>
|
||||
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.9.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.10.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
</footer>
|
||||
|
||||
<script src="graph-data.js?v=2.9.0"></script>
|
||||
<script src="graph-data.js?v=2.10.0"></script>
|
||||
<script>
|
||||
(function() {
|
||||
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
|
||||
@@ -460,12 +466,14 @@
|
||||
}
|
||||
|
||||
const FLEX_SET = new Set([292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 91, 81]);
|
||||
let minDegreeThreshold = 0;
|
||||
function nodeDigitalRoot9(n) {
|
||||
const v = Number(n.ing_aq || n.aq_value || 0);
|
||||
return v > 0 ? (1 + ((v - 1) % 9)) : 0;
|
||||
}
|
||||
function nodePassesFilter(n) {
|
||||
if (!activeNodeTypes.has(n.node_type)) return false;
|
||||
if (minDegreeThreshold > 0 && Number(n.degree || 0) < minDegreeThreshold) return false;
|
||||
if (activeFlag === "iso" && !n.isometric) return false;
|
||||
if (activeFlag === "twinp" && !n.twin_prime) return false;
|
||||
if (activeFlag === "g3" && !n.g3_quantized_step) return false;
|
||||
@@ -549,10 +557,12 @@
|
||||
}
|
||||
|
||||
const egoSet = getNeighborhoodSet(selectedNode);
|
||||
const lodActive = DATA.nodes.length > 500 && camScale < 0.85;
|
||||
let visNodes = 0, visEdges = 0;
|
||||
|
||||
DATA.edges.forEach(e => {
|
||||
if (!activeEdgeRels.has(e.relation) || e.source === e.target) return;
|
||||
if (lodActive && !egoSet && e.relation === "IN_VOLUME") return;
|
||||
const n1 = nodeMap[e.source];
|
||||
const n2 = nodeMap[e.target];
|
||||
if (!n1 || !n2 || !nodePassesFilter(n1) || !nodePassesFilter(n2)) return;
|
||||
@@ -593,7 +603,14 @@
|
||||
ctx.stroke();
|
||||
}
|
||||
|
||||
if (inEgo && (n.node_type === "TaxonAssemblageBuild" || n.node_type === "AQCoordinateHub" || (selectedNode && egoSet.has(n.id)) || camScale > 1.35)) {
|
||||
const showLbl = inEgo && (
|
||||
n.node_type === "TaxonAssemblageBuild" ||
|
||||
(!lodActive && n.node_type === "AQCoordinateHub") ||
|
||||
(lodActive && Number(n.degree || 0) >= 8) ||
|
||||
(selectedNode && egoSet.has(n.id)) ||
|
||||
camScale > 1.35
|
||||
);
|
||||
if (showLbl) {
|
||||
ctx.fillStyle = "#F3F5FA";
|
||||
ctx.font = n.node_type === "TaxonAssemblageBuild" ? "bold 11px sans-serif" : "10px monospace";
|
||||
ctx.textAlign = "center";
|
||||
@@ -695,16 +712,28 @@
|
||||
|
||||
if (neighbors.length) {
|
||||
const nl = document.getElementById("nbrList");
|
||||
neighbors.slice(0, 40).forEach(item => {
|
||||
const row = document.createElement("div");
|
||||
row.className = "neighbor-item";
|
||||
row.innerHTML = `<span style="color:${item.node.color};font-weight:600;">${item.node.label.slice(0, 26)}</span> <span style="font-family:monospace;font-size:10px;color:#9BA3B8;">${item.rel}</span>`;
|
||||
row.addEventListener("click", () => {
|
||||
selectNode(item.node);
|
||||
centerOnNode(item.node);
|
||||
function renderNeighborRows(limitCount) {
|
||||
nl.innerHTML = "";
|
||||
neighbors.slice(0, limitCount).forEach(item => {
|
||||
const row = document.createElement("div");
|
||||
row.className = "neighbor-item";
|
||||
row.innerHTML = `<span style="color:${item.node.color};font-weight:600;">${item.node.label.slice(0, 26)}</span> <span style="font-family:monospace;font-size:10px;color:#9BA3B8;">${item.rel}</span>`;
|
||||
row.addEventListener("click", () => {
|
||||
selectNode(item.node);
|
||||
centerOnNode(item.node);
|
||||
});
|
||||
nl.appendChild(row);
|
||||
});
|
||||
nl.appendChild(row);
|
||||
});
|
||||
if (neighbors.length > limitCount) {
|
||||
const moreBtn = document.createElement("button");
|
||||
moreBtn.className = "btn";
|
||||
moreBtn.style.marginTop = "4px";
|
||||
moreBtn.textContent = `Show All ${neighbors.length} Neighbors`;
|
||||
moreBtn.addEventListener("click", () => renderNeighborRows(neighbors.length));
|
||||
nl.appendChild(moreBtn);
|
||||
}
|
||||
}
|
||||
renderNeighborRows(40);
|
||||
}
|
||||
draw();
|
||||
}
|
||||
@@ -787,12 +816,22 @@
|
||||
draw();
|
||||
});
|
||||
|
||||
const minDegEl = document.getElementById("minDegreeFilter");
|
||||
if (minDegEl) {
|
||||
minDegEl.addEventListener("change", e => {
|
||||
minDegreeThreshold = parseInt(e.target.value, 10) || 0;
|
||||
draw();
|
||||
});
|
||||
}
|
||||
|
||||
document.getElementById("resetViewBtn").addEventListener("click", () => {
|
||||
selectedNode = null;
|
||||
searchQuery = "";
|
||||
activeFlag = "all";
|
||||
minDegreeThreshold = 0;
|
||||
document.getElementById("searchInput").value = "";
|
||||
document.getElementById("flagFilter").value = "all";
|
||||
if (minDegEl) minDegEl.value = "0";
|
||||
selectNode(null);
|
||||
resetCamera();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user