
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
@vrun-design/openflowkit-core
Advanced tools
Core parsers, types, and brand utilities for OpenFlowKit — the open-source white-label diagramming engine.
Core parsers, types, and brand utilities for OpenFlowKit — the open-source, white-label diagramming engine.
This package contains the framework-agnostic logic extracted from OpenFlowKit so you can use it independently in your own apps or build your own canvas on top.
| Export | Description |
|---|---|
parseMermaid(dsl) | Parse Mermaid.js flowchart / state diagram DSL into React Flow–compatible nodes and edges |
parseOpenFlowDSL(dsl) | Parse OpenFlow DSL V2 (type-safe, explicit IDs, groups, edge styling) |
generatePalette(primaryColor) | Generate harmonious brand palettes from a single hex color |
| Type exports | FlowNode, FlowEdge, NodeData, EdgeData, DesignSystem, NodeType, and more |
npm install @vrun-design/openflowkit-core
Peer dependencies:
react >=18,react-dom >=18,reactflow >=11
Converts Mermaid.js syntax into React Flow nodes & edges, ready to pass directly to a <ReactFlow> component.
import { parseMermaid } from '@vrun-design/openflowkit-core';
const dsl = `
flowchart TD
A[Start] --> B{Is user logged in?}
B -- Yes --> C[Dashboard]
B -- No --> D[Login Page]
`;
const { nodes, edges, direction, error } = parseMermaid(dsl);
// direction: 'TB' | 'LR' | 'RL' | 'BT'
// nodes & edges: React Flow-compatible arrays
Supported Mermaid features:
flowchart TD / LR / RL / BT)stateDiagram-v2)-->, ==>, -.->, ---)linkStyle, classDef, style directivesimport { parseOpenFlowDSL } from '@vrun-design/openflowkit-core';
const dsl = `
#id:start shape:capsule color:emerald
User Request
#id:auth shape:diamond color:amber
Auth Check
start --> auth | "Is authenticated?" |
`;
const { nodes, edges } = parseOpenFlowDSL(dsl);
import { generatePalette } from '@vrun-design/openflowkit-core';
const palette = generatePalette('#6366f1'); // your primary brand color
// Returns: { primary, secondary, accent, surface, border, text, ... }
Full TypeScript support with declaration files included.
import type { FlowNode, FlowEdge, NodeData, DesignSystem } from '@vrun-design/openflowkit-core';
This package is the extracted core of OpenFlowKit — a full-featured, MIT-licensed, white-label diagramming engine built on React Flow.
MIT © Varun
FAQs
Core parsers, types, and brand utilities for OpenFlowKit — the open-source white-label diagramming engine.
The npm package @vrun-design/openflowkit-core receives a total of 24 weekly downloads. As such, @vrun-design/openflowkit-core popularity was classified as not popular.
We found that @vrun-design/openflowkit-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.