Workflow Engine
Sign in

Find a workflow’s critical path

Validate a dependency graph and compute the earliest finish times assuming independent work can run in parallel.

Analysis input

Files and pasted data are processed in this browser.

Paste data or load the example to see the format. Limit 512 KiB.
Input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "tasks": {
      "minItems": 1,
      "maxItems": 2000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "durationMs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "dependencies": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            }
          }
        },
        "required": [
          "id",
          "durationMs",
          "dependencies"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "tasks"
  ],
  "additionalProperties": false
}

Use the analyzer through REST or MCP