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

or3-workflow-vue

v0.1.4

Published

Vue 3 components for visual workflow editing with drag-and-drop canvas

Readme

or3-workflow-vue

Vue 3 components for visual workflow editing with drag-and-drop canvas. Build AI agent pipelines with an intuitive visual interface.

Installation

bun add or3-workflow-vue or3-workflow-core
# or
npm install or3-workflow-vue or3-workflow-core

Quick Start

<script setup lang="ts">
import { ref } from 'vue';
import {
    WorkflowCanvas,
    NodePalette,
    NodeInspector,
    useWorkflowEditor,
} from 'or3-workflow-vue';
import 'or3-workflow-vue/style.css';

// Create the editor instance
const editor = useWorkflowEditor();

// Load a workflow
editor.value?.load({
    meta: { version: '2.0.0', name: 'My Workflow' },
    nodes: [
        {
            id: 'start',
            type: 'start',
            position: { x: 100, y: 100 },
            data: { label: 'Start' },
        },
        {
            id: 'agent',
            type: 'agent',
            position: { x: 100, y: 250 },
            data: {
                label: 'Assistant',
                model: 'openai/gpt-4o',
                prompt: 'You are a helpful assistant.',
            },
        },
    ],
    edges: [{ id: 'e1', source: 'start', target: 'agent' }],
});
</script>

<template>
    <div class="workflow-app">
        <NodePalette />
        <WorkflowCanvas :editor="editor" />
        <NodeInspector :editor="editor" />
    </div>
</template>

<style>
.workflow-app {
    display: flex;
    height: 100vh;
}
</style>

Components

WorkflowCanvas

The main canvas component for displaying and editing workflows.

<WorkflowCanvas
    :editor="editor"
    @node-click="handleNodeClick"
    @edge-click="handleEdgeClick"
/>

NodePalette

Draggable palette of available node types.

<NodePalette />

NodeInspector

Property inspector for the selected node.

<NodeInspector :editor="editor" />

ValidationOverlay

Displays validation errors on the canvas.

<ValidationOverlay :editor="editor" />

Composables

useWorkflowEditor

Creates and manages the workflow editor instance.

import { useWorkflowEditor } from 'or3-workflow-vue';

const editor = useWorkflowEditor();

// Access the editor
editor.value?.load(workflowData);
editor.value?.addNode({ type: 'agent', position: { x: 200, y: 200 } });

useWorkflowExecution

Manages workflow execution state.

import { useWorkflowExecution } from 'or3-workflow-vue';

const { execute, isRunning, result, error } = useWorkflowExecution(editor);

await execute({
    input: 'Hello',
    apiKey: 'your-api-key',
});

useWorkflowStorage

Handles saving and loading workflows.

import { useWorkflowStorage } from 'or3-workflow-vue';

const { save, load, list, remove } = useWorkflowStorage();

await save(editor.value?.export());
const workflows = await list();

Styling

Import the required styles in your app:

// Required: workflow component styles
import 'or3-workflow-vue/style.css';

// Required: Vue Flow base styles
import '@vue-flow/core/dist/style.css';
import '@vue-flow/core/dist/theme-default.css';

Peer Dependencies

  • vue ^3.4.0
  • or3-workflow-core ^0.1.0

Related Packages

License

MIT