An interactive schema visualizer built with React and React Flow (@xyflow/react). Supports multiple schemas (ChemDCAT, CoreMeta4CAT, DCAT-AP+) with node-based graph editing.
https://hendrikborgelt.github.io/React_flow_test/
This project requires Node.js (v18 or later recommended) and npm (included with Node.js).
-
Install Node.js
Download and run the Windows installer from the official Node.js website:
https://nodejs.org/en/downloadChoose the LTS version. npm is bundled with the installer.
Verify the installation by opening Command Prompt or PowerShell:
node --version npm --version
-
Clone the repository
git clone https://github.com/Hendrik/React_flow_test.git cd React_flow_test
-
Install dependencies
npm install
-
Install Node.js
Option A — Official installer (recommended for beginners): Download the macOS installer from:
https://nodejs.org/en/downloadOption B — Homebrew (recommended if you already use Homebrew):
brew install node
Option C — nvm (recommended if you manage multiple Node versions):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash # Restart your terminal, then: nvm install --lts nvm use --lts
Verify the installation:
node --version npm --version
-
Clone the repository
git clone https://github.com/Hendrik/React_flow_test.git cd React_flow_test -
Install dependencies
npm install
-
Install Node.js
Option A — Package manager (Ubuntu/Debian):
sudo apt update sudo apt install nodejs npm
For an up-to-date LTS version, use the NodeSource repository:
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt install -y nodejsOption B — Package manager (Fedora/RHEL/CentOS):
sudo dnf install nodejs npm
For an up-to-date LTS version via NodeSource:
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash - sudo dnf install -y nodejsOption C — nvm (works on any distro, recommended for flexibility):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash # Restart your terminal or run: source ~/.bashrc nvm install --lts nvm use --lts
Verify the installation:
node --version npm --version
-
Clone the repository
git clone https://github.com/Hendrik/React_flow_test.git cd React_flow_test -
Install dependencies
npm install
Start the development server with the default schema:
npm run devStart with a specific schema:
npm run dev:coremeta4cat
npm run dev:dcat-ap-plusThen open your browser at http://localhost:5173.
Build all schemas:
npm run build:allBuild a single schema (ChemDCAT):
npm run buildPreview the production build locally:
npm run preview| Script | Description |
|---|---|
npm run dev |
Start dev server (default schema) |
npm run dev:coremeta4cat |
Start dev server with CoreMeta4CAT schema |
npm run dev:dcat-ap-plus |
Start dev server with DCAT-AP+ schema |
npm run build |
Build ChemDCAT schema for production |
npm run build:all |
Build all schemas for production |
npm run build:app |
Build the app (no schema target) |
npm run preview |
Preview the production build |
npm run lint |
Run ESLint |