Toolverse
All skills

streaming-mindmap-rendering

by SSShooter

Implement real-time streaming mindmap rendering using Mind Elixir in web applications. Supports streaming text parsing and incremental updates.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
SSShooter
Category
Data Science
Views
25

About this skill

Implement real-time streaming mindmap rendering using Mind Elixir in web applications. Supports streaming text parsing and incremental updates.

How to use

  1. Zainstaluj bibliotekę mind-elixir w swoim projekcie poleceniem npm install mind-elixir.
  2. Utwórz komponent React, który będzie opakowaniem dla mind-elixir. Zaimportuj MindElixir i hooki useEffect oraz useRef z React.
  3. W komponencie utwórz referencję do elementu DOM (elRef) oraz do instancji mind-elixir (meRef). W efekcie useEffect zainicjalizuj nową instancję MindElixir, przekazując element DOM i konfigurację (np. kierunek renderowania).
  4. Dodaj drugi efekt useEffect, który będzie nasłuchiwać zmian danych. Gdy dane się zmienią, wywołaj metodę refresh() na instancji mind-elixir, aby zaktualizować wizualizację mapy.
  5. Zwróć element div z referencją elRef jako kontener mapy. Ustaw odpowiednie wymiary (wysokość i szerokość) dla wyświetlania mapy myśli.
  6. Podłącz komponent do źródła danych ze strumienia (np. odpowiedź z API AI) i przekazuj dane jako prop — komponent automatycznie zaktualizuje mapę w miarę napływania nowych informacji.

Related skills

a-stock-analysis

by openclaw

A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。

Data Science
48153

pdf

by anthropics

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Data Science
31144

xlsx

by anthropics

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2)

Data Science
40128

openrouter

by rawveg

OpenRouter API - Unified access to 400+ AI models through one API

Data Science
17138

arxiv-search

by langchain-ai

Search arXiv preprint repository for papers in physics, mathematics, computer science, quantitative biology, and related fields

Data Science
76172

web-artifacts-builder

by anthropics

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX

Data Science
37124