Drupal is a registered trademark of Dries Buytaert

flowdrop_ui

24 sites Security covered
View on drupal.org
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/1.x/CHANGELOG.md

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
29
First release
Jan 2026
Latest release
2 weeks ago
Release cadence
1 day
Stability
90% stable

Release Timeline

Releases

Version Type Release date
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