Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides the user interface for FlowDrop, a visual workflow editor built with Svelte. It integrates the FlowDrop library into Drupal, allowing users to visually build and manage workflows.

FlowDrop UI

A Drupal module providing the user interface for FlowDrop - a visual workflow editor built with Svelte.

NOTE:

- This project is released in sync with upstream flowdrop library.
- For detailed changelog please refer to https://github.com/flowdrop-io/flowdrop/blob/main/libs/flowdrop/CHANGELO...

Overview

FlowDrop UI is a supporting module of the FlowDrop ecosystem that delivers a modern, interactive workflow editor interface. It wraps the @d34dman/flowdrop library as an IIFE (Immediately Invoked Function Expression) bundle for seamless Drupal integration.

Usage

Attaching the Library

In your Drupal render arrays or templates, attach the FlowDrop editor library:

$build['#attached']['library'][] = 'flowdrop_ui/editor';

Mounting the Editor

The library exposes mounting functions on the global window.FlowDrop object:

// Mount the full FlowDrop App
window.FlowDrop.mountFlowDropApp(container, options);

// Mount just the WorkflowEditor component
window.FlowDrop.mountWorkflowEditor(container, options);

Drupal Behavior Example

Drupal.behaviors.flowdropWorkflowEditor = {
  attach: function (context, settings) {
    const container = context.querySelector(".flowdrop-workflow-editor");
    if (container && window.FlowDrop) {
      window.FlowDrop.mountWorkflowEditor(container, {
        endpointConfig: settings.flowdrop.endpointConfig,
        workflow: settings.flowdrop.workflow,
        nodes: settings.flowdrop.nodes
      });
    }
  }
};

Services

FlowDropEndpointConfigService

Generates API endpoint configuration for the FlowDrop frontend:

/** @var \Drupal\flowdrop_ui\Service\FlowDropEndpointConfigService $service */
$service = \Drupal::service('flowdrop_ui.endpoint_config');
$config = $service->generateEndpointConfig('/api/flowdrop');

Configuration Options

The editor accepts various configuration options:

window.FlowDrop.mountWorkflowEditor(container, {
  workflow: myWorkflow,           // Workflow data object
  nodes: availableNodes,          // Available node definitions
  endpointConfig: {
    baseUrl: "/api/flowdrop",
    endpoints: { /* endpoint definitions */ },
    timeout: 30000,
    retry: {
      enabled: true,
      maxAttempts: 3,
      delay: 1000,
      backoff: "exponential"
    }
  }
});

Activity

Total releases
41
First release
Jan 2026
Latest release
3 months ago
Releases (12 mo)
41 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.7.0 Stable Apr 10, 2026
1.6.0 Stable Apr 9, 2026
1.5.0 Stable Apr 9, 2026
1.4.0 Stable Mar 16, 2026
1.3.0 Stable Mar 15, 2026
1.x-dev Dev Mar 15, 2026
1.2.2 Stable Mar 13, 2026
1.2.1 Stable Mar 13, 2026
1.2.0 Stable Mar 13, 2026
1.1.0 Stable Mar 13, 2026
1.0.1 Stable Mar 13, 2026
1.0.0 Stable Mar 7, 2026
0.0.56 Stable Feb 11, 2026
0.0.55 Stable Feb 10, 2026
0.0.54 Stable Feb 10, 2026
0.0.53 Stable Feb 9, 2026
0.0.52 Stable Feb 9, 2026
0.0.51 Stable Feb 6, 2026
0.0.50 Stable Feb 5, 2026
0.0.49 Stable Feb 5, 2026
0.0.48 Stable Feb 5, 2026
0.0.47 Stable Feb 5, 2026
0.0.46 Stable Feb 5, 2026
0.0.45 Stable Jan 31, 2026
0.0.44 Stable Jan 31, 2026
0.0.43 Stable Jan 31, 2026
0.0.42 Stable Jan 31, 2026
0.0.41 Stable Jan 31, 2026
0.0.40 Stable Jan 31, 2026
0.0.39 Stable Jan 31, 2026
0.0.38 Stable Jan 24, 2026
0.0.37 Stable Jan 24, 2026
0.0.36 Stable Jan 22, 2026
0.0.35 Stable Jan 22, 2026
0.0.34 Stable Jan 22, 2026
0.0.33 Stable Jan 22, 2026
0.0.32 Stable Jan 22, 2026
0.0.31 Stable Jan 22, 2026
1.0.0-alpha27 Pre-release Jan 9, 2026
1.0.0-alpha26 Pre-release Jan 6, 2026
1.0.x-dev Dev Jan 6, 2026