forcegraph-exporter
/forcegraph-exporter
Zamienia konspekt w formacie JSON w samodzielną stronę przeglądarkową z interaktywną, powiększalną i przeciąganą mapą force graph, wymagającą internetu dla CDN.
- Autor
- acaprino ↗
- Repozytorium
- alfio-claude-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/generate_forcegraph.py
Co robi i kiedy
Zamienia konspekt w formacie JSON w samodzielną stronę przeglądarkową z interaktywną, powiększalną i przeciąganą mapą force graph, wymagającą internetu dla CDN.
Wyzwalacze z opisu
Oryginalny opis (EN)
Render a JSON outline into a standalone browser page; needs internet for the CDN. TRIGGER WHEN: the user says 'interactive map', 'force graph', 'web mindmap', or 'HTML mindmap', or asks for a zoomable, draggable visual export. DO NOT TRIGGER WHEN: the user wants Obsidian MarkMind format (use markmind-exporter).
Jak działa
- Input
- Workflow
- Checklist Before Delivery
Podgląd SKILL.md
---
name: forcegraph-exporter
description: >
Render a JSON outline into a standalone browser page; needs internet for the CDN.
TRIGGER WHEN: the user says 'interactive map', 'force graph', 'web mindmap', or 'HTML mindmap',
or asks for a zoomable, draggable visual export.
DO NOT TRIGGER WHEN: the user wants Obsidian MarkMind format (use markmind-exporter).
---
# Force Graph Exporter
Convert a mindmap JSON outline into an interactive HTML file with a force-directed graph visualization powered by [force-graph](https://github.com/vasturiano/force-graph). The output file opens in any browser with no server required, but it needs an internet connection to load the force-graph library from a CDN.
## Input
A JSON file with the standard mindmap outline format (same as generate-mindmap output):
```json
{
"root": "Central Theme",
"branches": [
{
"text": "Branch One",
"color": "#ff6b6b",
"children": [
{ "text": "Sub-concept A", "children": [...] }
]
}
]
}
```
## Workflow
### Step 0: Check for input
If no mindmap JSON is available (no file path, no prior `generate-mindmap` output, no inline JSON in the conversation), invoke the `learning:generate-mindmap` skill first to brainstorm and produce the JSON outline. Then continue with Step 1.
### Step 1: Locate the mindmap JSON
Find the mindmap outline JSON -- either a file path provided by the user, output from a prior `generate-mindmap` invocation, or inline JSON.
### Step 2: Run the exporter
```bash
python scripts/generate_forcegraph.py --input outline.json --output /path/to/mindmap.html --max-depth 6
```
Or from stdin:
```bash
cat outline.json | python scripts/generate_forcegraph.py --output /path/to/mindmap.html
```
Options:
- `--max-depth N` -- maximum depth levels below root (default: 6, max: 10)
The script:
- Converts the mindmap JSON tree into a flat nodes/links structure
- Loads force-graph library from CDN (unpkg.com, pinned version) in the HTML
- Colors nodes and links by their L2 branch color
- Sizes nodes by depth (root largest, leaves smallest)
- Adds labels, hover tooltips, and click-to-focus
- Produces a single `.html` file
### Step 3: Deliver
Present the generated `.html` file to the user. Mention it can be opened directly in any browser.
## Checklist Before Delivery
- HTML file opens in browser without errors
- All nodes from the mindmap JSON are present in the graph
- Root node is visually prominent (larger, centered)
- Branch colors match the original outline
- Graph is interactive (drag, zoom, hover)
- Internet connection available (CDN dependency for force-graph library)
Pliki w paczce (3)
- SKILL.md 3 KB
- SKILL.toml 1 KB
- scripts/generate_forcegraph.py 7 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · acaprino/alfio-claude-plugins | 100 | MIT |
| acaprino/alfio-claude-plugins | 100 | MIT |
| acaprino/alfio-claude-plugins | 100 | MIT |
| acaprino/alfio-claude-plugins | 100 | MIT |
| acaprino/alfio-claude-plugins | 100 | MIT |
| acaprino/alfio-claude-plugins | 100 | MIT |
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki bdac2ccc22bc (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100markmind-exporter
Zamienia konspekt JSON w plik vaultu Obsidian w formacie MarkMind Rich, na bazie mapy myśli utworzonej przez generate-mindmap. - 100markmind-exporter
Przekształca konspekt JSON mapy myśli w gotowy plik MarkMind Rich do wstawienia do vaultu Obsidian. - 100mindmap-html-generator
Generuje offline interaktywne mapy myśli w HTML i konwertuje Markdown, konspekty, notatki ze spotkań lub drzewa JSON do formatu markmap przez markmap-cli. - 100mindmap-generator
Prawdopodobnie generuje mapy myśli w ramach kategorii treści wizualnych.