Logo van Data Structure Visualization

Data Structure Visualization

Community
mingchen666
data-structure-visualization

Use this skill whenever the user wants visual learning for data structures, algorithms, trees, graphs, sorting, searching, hashing, recursion, complexity analysis, 408 data structure review, algorithm hand simulation, or an interactive HTML explanation for a data-structure problem.

Add to TypingMind

Overzicht

Uitgevermingchen666
RepositoryReviva
Skillnaamdata-structure-visualization
Sterren
293
Forks
31
Meegeleverde bestanden
3
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 3

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door mingchen666 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Data Structure Visualization in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/mingchen666/Reviva/tree/main/electron/builtin-assets/skills/data-structure-visualization
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mingchen666/Reviva.git /tmp/Reviva
mkdir -p .claude/skills
cp -r /tmp/Reviva/electron/builtin-assets/skills/data-structure-visualization .claude/skills/data-structure-visualization
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Data Structure Visualization in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Data Structure Visualization automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Data Structure Visualization niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Data Structure Visualization Skill

Create visual study artifacts for data structures and algorithms. The goal is to show the evolving state of the structure and the hand-simulation path a student would use in an exam.

Use For

  • binary tree traversal, tree reconstruction, Huffman tree construction, BST insert/delete;
  • graph traversal, shortest path, MST, topological sort, critical path;
  • sorting passes, comparisons, moves, stability, and complexity;
  • sequential/binary search, hash collision handling, B/B+ tree lookup;
  • recursion call stacks and dynamic programming state tables;
  • 408 or final-review questions that need step-by-step visual proof.

Output Modes

TopicPreferred visual
Treenode-link tree + traversal cursor + visit sequence
Graph algorithmgraph canvas + highlighted frontier/edges + state table
Sortingarray bars + pass table + comparison/move counters
Hashingbucket table + probe path + ASL calculation
Recursioncall stack + shrinking subproblem + return values
DPstate grid + transition arrows + formula panel

Bundled Template

Choose the closest bundled template:

  • assets/templates/algorithm-stepper.html - arrays, sorting, searching, hashing, recursion/DP tables.
  • assets/templates/tree-graph-stepper.html - trees, graph traversal, shortest path, MST, topological sort, critical path.

Replace the DATA object with the user's topic and input. Keep the step controls, state table, pseudocode/state panel, and exam notes unless the user explicitly asks for a simpler static page.

Follow the shared UI standard in /skills/cs-course-learning/references/visual-template-ui.md when available: learning-workbench layout, stable controls, state table, step inspector, and exam-transfer panel.

Research-Informed Design Patterns

Use these patterns seen in established algorithm visualization tools such as VisuAlgo and USFCA Data Structure Visualizations:

  • support step-by-step execution, not only autoplay;
  • show the data structure, operation log, and state table at the same time;
  • expose key variables: indices, queue/stack/frontier, parent array, distance array, indegree, lowlink, heap index, hash probe count;
  • allow user-provided input when feasible;
  • keep a paper-solution table for exam transfer;
  • include quick checks after the visualization.

Topic Coverage Checklist

For 408/期末复习, cover these families when relevant:

  • linear structures: stack, queue, linked list, circular queue;
  • trees: traversal, reconstruction, Huffman, heap, BST, AVL/rotation concept, B/B+ tree lookup;
  • graphs: BFS, DFS, connected components, topological sort, MST, shortest path, critical path;
  • searching: binary search, hash tables, ASL, collision resolution;
  • sorting: insertion, shell, bubble, quick, selection, heap, merge, radix;
  • recursion/DP: recursion tree, call stack, memo table, transition equation;
  • disjoint set: union by rank/size, path compression.

Required Structure

For a generated HTML page, include:

  • a stable viewport with no layout shift;
  • step controls: previous, next, reset, autoplay when helpful, speed control for long animations;
  • a state table that matches the animation;
  • optional pseudocode panel with current line highlighted;
  • an exam-notes panel explaining what to write by hand;
  • a common-traps panel;
  • quick-check questions.

Accuracy Rules

  • Do not skip intermediate states in sorting, graph, tree, or hashing problems.
  • Preserve the exact input sequence from the user.
  • If there are multiple valid algorithm variants, state the variant first.
  • For 408-style work, show the hand-calculation table even when animation is present.
  • Never generate a visually plausible but algorithmically skipped state. Correctness beats visual polish.

Coordination

  • Use cs-course-learning first when the user needs broader context or study planning.
  • Use technical-diagram-skill for static graph/state-machine/algorithm workflow diagrams.
  • Use practice-quiz or network-exam-practice-style practice only after the visualization has clarified the mechanism.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Data Structure Visualization?

Use this skill whenever the user wants visual learning for data structures, algorithms, trees, graphs, sorting, searching, hashing, recursion, complexity analysis, 408 data structure review, algorithm hand simulation, or an interactive HTML explanation for a data-structure problem.

Waarom Data Structure Visualization gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Data Structure Visualization bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Data Structure Visualization in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/mingchen666/Reviva/tree/main/electron/builtin-assets/skills/data-structure-visualization. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Data Structure Visualization gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Data Structure Visualization gebruiken?

Zoveel als je wilt. Je kunt Data Structure Visualization gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Data Structure Visualization gratis?

Deze skill is door mingchen666 op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇