npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kratos-flowgraph/flowgraph

v1.0.2

Published

Node editor to configure KratosMultiphysics simulations

Readme

Kratos FlowGraph

npm version npm downloads Publish to NPM Deploy Docs Documentation License: AGPL-3.0-or-later Node.js

A visual node editor for configuring KratosMultiphysics simulations.

Instead of authoring a Kratos ProjectParameters.json by hand, you wire together nodes — analysis stages, solvers, materials, processes, model parts and outputs — on a canvas, and FlowGraph generates the JSON (and material files) for you.

The Kratos FlowGraph editor

Quick start

Run the editor without installing anything:

npx @kratos-flowgraph/flowgraph

Then open http://localhost:8182 in your browser.

📖 Full documentation: https://loumalouomega.github.io/Flowgraph/

Features

  • 🧩 Visual, node-based configuration — build a Kratos case by connecting nodes; the graph is the configuration.
  • ⚙️ Rich Kratos node library (~85 node types) — analysis stages & orchestrators, fluid / structural / thermal / potential-flow solvers, serial & MPI linear solvers, constitutive laws (elastic, plasticity, damage), boundary-condition processes, modelers and output processes.
  • 🔁 Round-trip — import an existing ProjectParameters.json and FlowGraph reconstructs the graph, or export the current graph as a zipped, ready-to-run case.
  • 🖥️ Live JSON viewer — inspect the generated JSON as you build.
  • 🚀 No build step — a small Node/Express server serves the editor; launch it with one command.

Installation

Run instantly (recommended)

npx @kratos-flowgraph/flowgraph

Global install

npm install -g @kratos-flowgraph/flowgraph
kratos-flowgraph

From source

git clone https://github.com/loumalouomega/Flowgraph.git
cd Flowgraph
npm install
npm start        # node app.js
# or
npm run devstart # nodemon app.js (auto-reload)

Requires Node.js 18+.

Configuration

Configuration lives in config/default.json (via the config package):

{
    "host" : "127.0.0.1",
    "port" : "8182",
    "kratos_root": "/path/to/Kratos/bin/Release",
    "working_dir": "/path/to/working_dir",
    "python_binary": "python3"
}

Switch config files with NODE_ENV, e.g. NODE_ENV=debug npm start loads config/debug.json.

The editor UI needs no Kratos installation. kratos_root, working_dir and python_binary are only used by the optional "run simulation" backend route.

Documentation

The full documentation — installation, a getting-started walkthrough, the complete node reference, and developer/architecture guides — is published with VitePress at:

https://loumalouomega.github.io/Flowgraph/

The sources live in doc/:

npm run docs:dev          # local docs dev server
npm run docs:build        # build the static docs
npm run docs:screenshots  # regenerate UI screenshots with Playwright

Contributing

Contributions are welcome! When adding a feature or node, please keep the documentation in sync — this is a project rule (see CLAUDE.md):

Whenever a new feature, node, or user-facing change is added, update CLAUDE.md, README.md and the doc/ documentation in the same change (and regenerate screenshots if the UI changed). A feature is not complete until the docs reflect it.

Adding a node is easy: drop a .js file under public/js/nodes/<category>/ that calls LiteGraph.registerNodeType(...) — it is auto-discovered. See the developer guide.

Publishing

Publishing to NPM is automated: pushing a v* tag triggers the publish.yml workflow, which publishes @kratos-flowgraph/flowgraph using the NPM_TOKEN secret. The easy path:

npm version patch        # bumps package.json, commits, creates tag vX.Y.Z
git push && git push --tags

Docs deploy to GitHub Pages on every push to master.

License

AGPL-3.0-or-later.