{
  "version": "xarts.graph-relations/1",
  "family": "graph-relations",
  "operation": "activity-workflow",
  "provenance": {
    "legacyId": "concept-workflow"
  },
  "data": {
    "nodes": [
      {
        "id": "n1",
        "kind": "trigger",
        "label": "Entra un aviso",
        "row": 0,
        "column": 0,
        "configurationFields": [
          "evento"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n2",
        "kind": "filter",
        "label": "Solo averías",
        "row": 0,
        "column": 1,
        "configurationFields": [
          "condición"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n3",
        "kind": "context",
        "label": "Fija el contexto",
        "row": 0,
        "column": 2,
        "configurationFields": [
          "fijar"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n4",
        "kind": "branch",
        "label": "¿Hay pieza?",
        "row": 0,
        "column": 3,
        "configurationFields": [
          "ramas",
          "por defecto"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n5",
        "kind": "wait",
        "label": "Espera reposición",
        "row": 1,
        "column": 3,
        "configurationFields": [
          "hasta",
          "límite"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n6",
        "kind": "iteration",
        "label": "Por cada pieza",
        "row": 1,
        "column": 2,
        "configurationFields": [
          "sobre",
          "máx. iteraciones"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n7",
        "kind": "action",
        "label": "Cierra la intervención",
        "row": 1,
        "column": 1,
        "configurationFields": [
          "acción",
          "parámetros"
        ],
        "invokes": "n9",
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "focus"
      },
      {
        "id": "n8",
        "kind": "outcome",
        "label": "Termina y dice cómo",
        "row": 1,
        "column": 0,
        "configurationFields": [
          "resultado"
        ],
        "invokes": null,
        "note": "",
        "lane": "MOTOR DEL FLUJO",
        "role": "neutral"
      },
      {
        "id": "n9",
        "kind": "declared-action",
        "label": "cerrarAveria",
        "row": 2,
        "column": 1,
        "configurationFields": [
          "parámetros tipados",
          "criterios de admisión",
          "efectos enumerados"
        ],
        "invokes": null,
        "note": "",
        "lane": "ONTOLOGÍA",
        "role": "neutral"
      },
      {
        "id": "n10",
        "kind": "missing-primitive",
        "label": "Paralelo con unión",
        "row": 3,
        "column": 0,
        "configurationFields": [
          "el motor recuerda"
        ],
        "invokes": null,
        "note": "cuántas ramas siguen abiertas",
        "lane": "",
        "role": "absent"
      },
      {
        "id": "n11",
        "kind": "missing-primitive",
        "label": "Subflujo invocable",
        "row": 3,
        "column": 1,
        "configurationFields": [
          "el motor recuerda"
        ],
        "invokes": null,
        "note": "la identidad de la instancia hija",
        "lane": "",
        "role": "absent"
      },
      {
        "id": "n12",
        "kind": "missing-primitive",
        "label": "Error con compensación",
        "row": 3,
        "column": 2,
        "configurationFields": [
          "el motor recuerda"
        ],
        "invokes": null,
        "note": "qué pasos hay que revertir",
        "lane": "",
        "role": "absent"
      }
    ],
    "edges": [
      {
        "id": "a1",
        "source": "n1",
        "target": "n2",
        "kind": "control-flow",
        "label": "",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a2",
        "source": "n2",
        "target": "n3",
        "kind": "control-flow",
        "label": "cumple",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a3",
        "source": "n3",
        "target": "n4",
        "kind": "control-flow",
        "label": "",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a4",
        "source": "n4",
        "target": "n5",
        "kind": "control-flow",
        "label": "sin pieza",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a6",
        "source": "n5",
        "target": "n6",
        "kind": "control-flow",
        "label": "",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a5",
        "source": "n4",
        "target": "n6",
        "kind": "control-flow",
        "label": "hay pieza",
        "offset": 18,
        "role": "neutral"
      },
      {
        "id": "a7",
        "source": "n6",
        "target": "n7",
        "kind": "control-flow",
        "label": "",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a8",
        "source": "n7",
        "target": "n8",
        "kind": "control-flow",
        "label": "",
        "offset": 0,
        "role": "neutral"
      },
      {
        "id": "a9",
        "source": "n7",
        "target": "n9",
        "kind": "invocation",
        "label": "invoca",
        "offset": 0,
        "role": "focus"
      }
    ]
  },
  "relationship": {
    "kind": "activity-and-declared-action-model",
    "assertionStatus": "authored-unverified",
    "configuration": "field-names-only",
    "conditionEvaluation": "not-executed",
    "invocationExecution": "not-executed",
    "branchExhaustiveness": "not-inferred",
    "iterationCount": "not-declared",
    "timeEncoding": "none",
    "placement": "explicit-grid",
    "missingPrimitives": "not-executable"
  },
  "typography": {
    "body": {
      "size": 19,
      "weight": 700,
      "lineHeight": 27
    },
    "note": {
      "size": 16,
      "weight": 400,
      "lineHeight": 24
    },
    "stamp": {
      "size": 14,
      "weight": 700,
      "lineHeight": 22
    },
    "title": {
      "size": 22,
      "weight": 700,
      "lineHeight": 32
    }
  },
  "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
  "measurement": {
    "exportText": "glyph-advances"
  },
  "paints": {
    "neutral": {
      "fill": "surface",
      "stroke": "border",
      "text": "textPrimary",
      "dash": ""
    },
    "focus": {
      "fill": "series.blue",
      "stroke": "series.blue",
      "text": "surface",
      "dash": ""
    },
    "warning": {
      "fill": "surface",
      "stroke": "negative",
      "text": "negative",
      "dash": ""
    },
    "absent": {
      "fill": "none",
      "stroke": "textMuted",
      "text": "textMuted",
      "dash": "6 4"
    },
    "favorable": {
      "fill": "surfaceAlt",
      "stroke": "series.teal",
      "text": "textPrimary",
      "dash": ""
    }
  },
  "layout": {
    "margin": {
      "top": 24,
      "right": 24,
      "bottom": 24,
      "left": 24
    },
    "grid": 8,
    "placement": "vertical-records",
    "textOverflow": "whole-words",
    "rowGap": 40,
    "columnGap": 40,
    "maximumColumnGap": 56,
    "laneWidth": 40,
    "minimumNodeWidth": 80,
    "padding": {
      "x": 14,
      "y": 12
    },
    "maximumConfigurationLines": 4,
    "diamondPadding": 40,
    "anchorGap": 22,
    "minimumRotatedSegment": 76,
    "longSegmentThreshold": 220,
    "longSegmentFraction": 0.34,
    "channelStep": 20,
    "channelPadding": 16
  },
  "marks": {
    "boxRadius": 4,
    "thin": 1.25,
    "medium": 2,
    "thick": 4,
    "connector": "textSecondary",
    "arrowLength": 9,
    "arrowHeight": 8,
    "outcomeInset": 4,
    "sideMarkWidth": 8,
    "filterTip": 18,
    "laneBorder": "border",
    "laneColor": "textMuted",
    "seamOpacity": 0.14,
    "hatchStep": 6,
    "hatchStroke": 0.9,
    "sideMarkOpacity": 0.6
  },
  "labels": {
    "stamps": {
      "trigger": "DISPARADOR",
      "filter": "FILTRO",
      "context": "CONTROL",
      "action": "ACCIÓN",
      "wait": "ESPERA",
      "branch": "BIFURCACIÓN",
      "iteration": "BUCLE",
      "outcome": "DESENLACE",
      "declared-action": "ACCIÓN DECLARADA",
      "missing-primitive": "SIN PRIMITIVA"
    },
    "letterSpacing": 0.08,
    "invokes": "ACCIÓN DECLARADA",
    "outgoing": "Enlaces salientes",
    "destination": "Destino",
    "condition": "Etiqueta del enlace",
    "lane": "Responsable",
    "edgeKinds": {
      "control-flow": "Control del flujo",
      "invocation": "Invocación declarada"
    },
    "modelNotice": "Modelo declarado, sin ejecución. Los campos de configuración son nombres, no valores operativos. Las condiciones no se evalúan, las invocaciones no se ejecutan y el número de iteraciones no está definido. Los huecos describen primitivas ausentes; no son pasos ejecutables. La distancia no codifica duración.",
    "showModelNotice": true
  },
  "annotations": {
    "band": null,
    "verdict": "Faltan tres primitivas: paralelo, subflujo y compensación.",
    "bandHeight": 48,
    "verdictHeight": 48,
    "noteColor": "textMuted",
    "verdictColor": "accent",
    "separatorOpacity": 0.5
  },
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "Grafo del workflow de una avería",
      "subtitle": "Del aviso al cierre de la intervención en ocho pasos, con una espera si no hay pieza"
    },
    "footer": {
      "source": "xarts · ejemplo de demostración",
      "notes": "Esquema ilustrativo para explorar la forma y sustituirlo por el propio."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 940,
      "height": 3556
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "concept-workflow",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
