99c113b6f5
- swr.ts: remove useBandwidth(), drop bw from useDashboard() - events/route.ts: skip bandwidth SSE (Kubo 0.28.0 unsupported) - usage/page.tsx: remove getBWStats call + bw references - helpers.ts: gatewayLink -> ipfs.maos.dedyn.io (subdomain only) - upload/page.tsx: fix local gatewayLink (subdomain only) - storage.ts: update default gatewayUrl, add defensive getHistory()
18 lines
411 B
Python
18 lines
411 B
Python
import json
|
|
from pathlib as Path
|
|
from collections import Counter
|
|
|
|
g = json.loads(Path('graphify-out/graph.json').read_text(encoding='utf-8'))
|
|
nodes = g.get('nodes', [])
|
|
|
|
# Show all unique node labels to understand project structure
|
|
types = Counter()
|
|
labels = []
|
|
for n in nodes:
|
|
label = n.get('label', n.get('name', '?'))
|
|
labels.append(label)
|
|
|
|
# Show all labels
|
|
for lbl in sorted(labels):
|
|
print(lbl)
|