langgenius /

Dify

Live map
Snapshotmain · 141cbf9

Stored workflow nodes invoke models, tools, agents, human boundaries, and retrieval services through a shared runner.

Click a building or route
Choose a path

Move from authored DSL to one scheduled node and its result.

System map7 components · 8 connections
130%
Dify: a visual workflow becomes a runtime graph architectureBegin with the visual graph, enter through the app runner, then follow node execution and streamed results.workflow DSL, variable…user inputs, files, co…graph, variable pool, …resolved inputs and ru…outputs, events, statu…WorkflowbuilderApp runnerWorkflow entryGraph runnerWorkflow nodesPlugin runtimeRAG services
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

Workflow DSLThe serialized nodes, edges, variables, and configuration authored in the builder.

How to study this repo

  1. 1
    Read the DSL

    Compare a builder node with the data consumed by workflow entry.

  2. 2
    Follow scheduling

    Trace how a completed node unlocks its downstream handles.

  3. 3
    Cross a plugin boundary

    Track one model or tool node into the plugin implementation.