grafo-de-lore-visualizacao-e-filtros

Renders and filters fictional universe entity graphs with Cytoscape.js force-directed layouts.

Updated Jul 19, 2026
One-click install
npx skills add https://github.com/Ryanzucchi/Eldritch_Lich --skill grafo-de-lore-visualizacao-e-filtros-ryanzucchi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: grafo-de-lore-visualizacao-e-filtros
Source: https://github.com/Ryanzucchi/Eldritch_Lich/tree/main/.agents/skills/grafo-de-lore-visualizacao-e-filtros
Command: npx skills add https://github.com/Ryanzucchi/Eldritch_Lich --skill grafo-de-lore-visualizacao-e-filtros-ryanzucchi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Visualizing hundreds of characters, locations, events, and objects in a fictional universe becomes unreadable and slow when rendered naively, freezing the browser and producing illegible node clusters. ## Core Features & Use Cases - Interactive Graph Rendering: Renders the fictional universe graph (GUF) with Cytoscape.js using the cose-bilkent force-directed layout, with per-entity-type visual styles and collapsible clusters capped at 120 visible nodes. - Cumulative Sidebar Filters: Filters by entity type, ego-centered character subgraphs (2 hops), and chapter-range time sliders, all applied client-side without reloading server data. - Animated Time-Slicing: Plays back the graph's evolution chapter by chapter, showing entities appearing with fade-in animations. - Use Case: A writer opens the Wiki panel with 200 registered entities; the graph loads in under 2 seconds, and selecting the character "Helena" highlights only her connected characters and locations while fading unrelated nodes. ## Quick Start Implement the universe graph panel in the Wiki tab using Cytoscape.js with type, character, and chapter-period filters following this skill's step-by-step process.

Frequently Asked Questions about grafo-de-lore-visualizacao-e-filtros

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render a large graph in the browser with Cytoscape.js?▼

Render large graphs in Cytoscape.js by applying the cose-bilkent force-directed layout, collapsing clusters of highly connected nodes, and capping visible nodes at a fixed maximum such as 120. Load additional entities lazily by chapter range instead of fetching everything at once.

How to filter graph nodes without reloading data from the server?▼

Filter nodes client-side using cy.elements().filter() in Cytoscape.js, which hides or highlights elements already loaded in memory. This supports cumulative filters like entity-type checkboxes, character dropdowns, and chapter-range sliders without new API requests.

Cytoscape.js vs D3-force for graph visualization?▼

Cytoscape.js is recommended for interactive entity graphs because it provides built-in layouts like cose-bilkent, element filtering APIs, and event handling for node clicks and edge hover tooltips. D3-force is an alternative but requires more manual wiring for interactions.

Why does my force-directed graph freeze with hundreds of nodes?▼

Rendering 300 or more nodes in a force-directed layout without pagination or cluster collapsing freezes the browser for 5-10 seconds and produces illegible output. Mitigate this by collapsing clusters automatically and lazy-loading entities by chapter range.

How do I highlight a character's connections in a graph?▼

Build an ego-centered subgraph by selecting the character node and all nodes connected within 2 hops, then set unrelated nodes to low opacity such as 0.15. This visually isolates the character's relationships without removing data from the graph.