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

@meshmakers/octo-process-diagrams

v3.3.910

Published

Angular library for process diagram design and symbol editing in OctoMesh Platform applications.

Downloads

2,859

Readme

@meshmakers/octo-process-diagrams

Angular library for process diagram design and symbol editing in OctoMesh Platform applications.

Note: This library requires a Kendo UI for Angular license.

Part of the @meshmakers package ecosystem.

Features

  • Process Designer — Visual SVG-based editor for process diagrams (HMI)
  • Symbol Editor — Create and manage reusable symbol definitions
  • Symbol Library — Organize symbols in libraries with versioning
  • Primitive System — Rectangle, Ellipse, Line, Polyline, Polygon, Path, Text, Image
  • SVG Import — Import SVG files via toolbar button, drag & drop, or clipboard paste
  • Dockview Layout — Flexible, rearrangeable panel system
  • Animations — SVG animations with data binding support
  • Exposed Properties — Bind symbol properties to runtime data (number, string, boolean)
  • Expression Evaluationexpr-eval based expressions for data bindings
  • Grouping — Figma/Illustrator-style temporary grouping of primitives and symbols
  • Undo/Redo — Full history with keyboard shortcuts

Installation

npm install @meshmakers/octo-process-diagrams

Build

# From frontend-libraries root
npm run build:octo-process-diagrams

Architecture

octo-process-diagrams/
├── src/
│   ├── public-api.ts                    # Public API exports
│   └── lib/
│       ├── process-widget.models.ts     # Core data models
│       ├── primitives/
│       │   ├── models/                  # Primitive data models
│       │   │   ├── primitive.models.ts  # Base interfaces (PrimitiveBase, PrimitiveStyle)
│       │   │   ├── rectangle.model.ts
│       │   │   ├── ellipse.model.ts
│       │   │   ├── line.model.ts
│       │   │   ├── polygon.model.ts
│       │   │   ├── path.model.ts
│       │   │   ├── text.model.ts
│       │   │   ├── image.model.ts
│       │   │   ├── group.model.ts
│       │   │   ├── symbol.model.ts
│       │   │   ├── animation.models.ts
│       │   │   ├── transform-property.models.ts
│       │   │   └── style-class.model.ts
│       │   ├── renderers/               # SVG rendering per type
│       │   │   ├── primitive-renderer.interface.ts
│       │   │   ├── rectangle.renderer.ts
│       │   │   ├── ellipse.renderer.ts
│       │   │   ├── line.renderer.ts
│       │   │   ├── polygon.renderer.ts
│       │   │   ├── path.renderer.ts
│       │   │   ├── text.renderer.ts
│       │   │   ├── image.renderer.ts
│       │   │   ├── symbol.renderer.ts
│       │   │   └── animation.renderer.ts
│       │   └── primitive-renderer.registry.ts
│       ├── designer/
│       │   ├── process-designer.component.ts   # Main editor component
│       │   ├── process-designer.component.html
│       │   ├── process-designer.component.scss
│       │   ├── element-palette.component.ts    # Draggable element palette
│       │   ├── property-inspector.component.ts # Properties panel
│       │   ├── symbol-library-panel.component.ts
│       │   ├── context-menu.component.ts
│       │   ├── path-editor.component.ts
│       │   ├── animation-editor.component.ts
│       │   ├── simulation-panel.component.ts
│       │   ├── transform-property-editor.component.ts
│       │   ├── binding-editor-dialog.component.ts
│       │   ├── dockview/                       # Flexible layout system
│       │   │   └── dockview.component.ts
│       │   ├── panels/                         # Dockview panel wrappers
│       │   │   ├── elements-panel.component.ts
│       │   │   ├── symbols-panel.component.ts
│       │   │   ├── properties-panel.component.ts
│       │   │   ├── transform-panel.component.ts
│       │   │   ├── animations-panel.component.ts
│       │   │   ├── simulation-panel.component.ts
│       │   │   └── settings-panel.component.ts
│       │   └── services/                       # Designer services
│       │       ├── designer-state.service.ts
│       │       ├── designer-selection.service.ts
│       │       ├── designer-clipboard.service.ts
│       │       ├── designer-history.service.ts
│       │       ├── designer-creation.service.ts
│       │       ├── designer-keyboard.service.ts
│       │       ├── designer-rendering.service.ts
│       │       ├── designer-primitive.service.ts
│       │       ├── designer-bounds.service.ts
│       │       ├── designer-alignment.service.ts
│       │       ├── designer-alignment-guide.service.ts
│       │       ├── designer-coordinate.service.ts
│       │       ├── designer-drag.service.ts
│       │       ├── designer-resize.service.ts
│       │       ├── designer-grouping.service.ts
│       │       ├── designer-deletion.service.ts
│       │       ├── designer-zorder.service.ts
│       │       ├── designer-diagram.service.ts
│       │       ├── designer-context-menu.service.ts
│       │       ├── designer-layout.service.ts
│       │       ├── geometry-util.service.ts
│       │       ├── path-editor.service.ts
│       │       └── primitive-handlers/         # Per-type move/resize/bounds
│       │           ├── primitive-handler.interface.ts
│       │           ├── rectangle.handler.ts
│       │           ├── ellipse.handler.ts
│       │           ├── line.handler.ts
│       │           ├── polyline.handler.ts
│       │           ├── path.handler.ts
│       │           ├── text.handler.ts
│       │           └── default.handler.ts
│       ├── admin/
│       │   ├── symbol-library-admin.component.ts  # Symbol library management
│       │   └── symbol-editor.component.ts         # Symbol editor
│       ├── pages/                                 # Routable page components
│       │   ├── symbol-library-list/
│       │   ├── symbol-library-detail/
│       │   ├── symbol-editor-page/
│       │   ├── process-diagram-list/
│       │   └── data-sources/                      # List view data source directives
│       ├── services/
│       │   ├── svg-import.service.ts              # SVG file import
│       │   ├── symbol-library.service.ts          # Symbol library CRUD
│       │   ├── process-diagram-data.service.ts    # Diagram persistence
│       │   └── expression-evaluator.service.ts    # Expression evaluation for bindings
│       ├── graphQL/                               # Auto-generated GraphQL services
│       ├── styles/
│       │   └── _dockview-lcars-theme.scss         # Optional LCARS theme mixin
│       └── docs/
│           └── SVG-IMPORT.md                      # SVG import documentation

Key Exports

Components

| Component | Description | |-----------|-------------| | ProcessDesignerComponent | Main visual editor for process diagrams | | ElementPaletteComponent | Draggable palette of primitive shapes | | PropertyInspectorComponent | Properties panel for selected items | | SymbolLibraryPanelComponent | Symbol library browser panel | | SymbolLibraryAdminComponent | Symbol library management UI | | SymbolEditorComponent | Symbol definition editor | | DockviewComponent | Flexible panel layout system | | PathEditorComponent | SVG path editing | | TransformPropertyEditorComponent | Transform property editing | | BindingEditorDialogComponent | Data binding configuration dialog | | SimulationPanelComponent | Simulation value testing |

Page Components (for routing in consuming apps)

| Component | Description | |-----------|-------------| | SymbolLibraryListComponent | List of symbol libraries | | SymbolLibraryDetailComponent | Symbols within a library | | SymbolEditorPageComponent | Symbol editor with save/cancel | | ProcessDiagramListComponent | List of process diagrams |

Services

| Service | Description | |---------|-------------| | SymbolLibraryService | Symbol library CRUD operations | | SvgImportService | SVG file import and conversion | | ProcessDiagramDataService | Diagram persistence | | ExpressionEvaluatorService | Expression evaluation for data bindings | | DesignerLayoutService | Dockview layout persistence | | DesignerSelectionService | Selection state management | | DesignerHistoryService | Undo/Redo functionality | | DesignerClipboardService | Copy/Paste operations | | PathEditorService | Path command parsing and manipulation |

Styling

This library uses neutral default colors via CSS custom properties. Host applications should override these variables to match their theme.

Canvas CSS Variables

mm-process-designer,
mm-symbol-editor {
  --designer-canvas-color: #fafafa;   // Canvas background
  --designer-grid-color: #e0e0e0;     // Grid lines
}

Dockview CSS Variables

mm-process-designer,
mm-symbol-editor {
  --dv-background-color: <your-bg>;
  --dv-pane-background-color: <your-pane>;
  --dv-activegroup-visiblepanel-tab-background-color: <your-active-tab>;
  --dv-activegroup-visiblepanel-tab-color: <your-accent>;
  // ... see PROCESS-DESIGNER.md for full list
}

An optional LCARS theme mixin is available:

@use '@meshmakers/octo-process-diagrams/styles/dockview-lcars-theme' as dockview;
@include dockview.lcars-theme();

Dependencies

  • Angular 21 with standalone components and signals
  • Kendo UI Angular 21 (Buttons, Inputs, Dropdowns, Dialogs, ListView)
  • Apollo Angular for GraphQL
  • dockview-angular for flexible panel layout
  • expr-eval for expression evaluation

Detailed Documentation

Documentation and Testing Standards

  • All developer documentation must be written in English
  • Every code change must include updated documentation — update README.md, CLAUDE.md, or inline docs when adding, modifying, or removing features
  • Unit tests and integration tests must be executed after every code change
  • Existing tests must be updated when the behavior of tested code changes
  • New tests must be added when new features, components, or services are implemented
  • Never commit code with failing tests