feat: MVP Fase 0 — Process Cost Platform v0.1.0
Plataforma completa de análisis de costos operativos basada en BPMN 2.0. Funcionalidades incluidas: - Import de archivos BPMN 2.0 por drag & drop + 3 procesos de ejemplo - Visualización read-only del diagrama (bpmn-js) - Configuración de actividades (costo, tiempo, recursos asignados) - CRUD de recursos (rol, persona, sistema, equipo, insumo) - Configuración global (moneda, overhead %, nombre, cliente) - Motor de simulación determinístico agregado con propagación de gateways XOR/AND - Reporte visual con mapa de calor en dos modos (relativo/absoluto) - Gráficos: KPIs, top actividades, composición, costo por recurso - Export PDF (jsPDF + html2canvas) y CSV (papaparse) - Persistencia en IndexedDB (Dexie) - 268 tests unitarios/integración + 6 E2E con Playwright - Deploy: https://process-cost-platform.pages.dev Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
98
public/sample-processes/simple-linear.bpmn
Normal file
98
public/sample-processes/simple-linear.bpmn
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
||||
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
||||
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
||||
targetNamespace="http://bpmn.io/schema/bpmn"
|
||||
id="simple-linear-definitions">
|
||||
|
||||
<process id="simple-linear-process" name="Proceso Lineal Simple" isExecutable="false">
|
||||
|
||||
<startEvent id="start" name="Inicio">
|
||||
<outgoing>flow1</outgoing>
|
||||
</startEvent>
|
||||
|
||||
<task id="task1" name="Recibir solicitud">
|
||||
<incoming>flow1</incoming>
|
||||
<outgoing>flow2</outgoing>
|
||||
</task>
|
||||
|
||||
<task id="task2" name="Verificar documentación">
|
||||
<incoming>flow2</incoming>
|
||||
<outgoing>flow3</outgoing>
|
||||
</task>
|
||||
|
||||
<task id="task3" name="Procesar pedido">
|
||||
<incoming>flow3</incoming>
|
||||
<outgoing>flow4</outgoing>
|
||||
</task>
|
||||
|
||||
<task id="task4" name="Notificar al cliente">
|
||||
<incoming>flow4</incoming>
|
||||
<outgoing>flow5</outgoing>
|
||||
</task>
|
||||
|
||||
<task id="task5" name="Archivar expediente">
|
||||
<incoming>flow5</incoming>
|
||||
<outgoing>flow6</outgoing>
|
||||
</task>
|
||||
|
||||
<endEvent id="end" name="Fin">
|
||||
<incoming>flow6</incoming>
|
||||
</endEvent>
|
||||
|
||||
<sequenceFlow id="flow1" sourceRef="start" targetRef="task1"/>
|
||||
<sequenceFlow id="flow2" sourceRef="task1" targetRef="task2"/>
|
||||
<sequenceFlow id="flow3" sourceRef="task2" targetRef="task3"/>
|
||||
<sequenceFlow id="flow4" sourceRef="task3" targetRef="task4"/>
|
||||
<sequenceFlow id="flow5" sourceRef="task4" targetRef="task5"/>
|
||||
<sequenceFlow id="flow6" sourceRef="task5" targetRef="end"/>
|
||||
|
||||
</process>
|
||||
|
||||
<bpmndi:BPMNDiagram id="diagram">
|
||||
<bpmndi:BPMNPlane id="plane" bpmnElement="simple-linear-process">
|
||||
<bpmndi:BPMNShape id="start_di" bpmnElement="start">
|
||||
<dc:Bounds x="152" y="162" width="36" height="36"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="task1_di" bpmnElement="task1">
|
||||
<dc:Bounds x="240" y="140" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="task2_di" bpmnElement="task2">
|
||||
<dc:Bounds x="390" y="140" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="task3_di" bpmnElement="task3">
|
||||
<dc:Bounds x="540" y="140" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="task4_di" bpmnElement="task4">
|
||||
<dc:Bounds x="690" y="140" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="task5_di" bpmnElement="task5">
|
||||
<dc:Bounds x="840" y="140" width="100" height="80"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="end_di" bpmnElement="end">
|
||||
<dc:Bounds x="992" y="162" width="36" height="36"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="flow1_di" bpmnElement="flow1">
|
||||
<di:waypoint x="188" y="180"/><di:waypoint x="240" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="flow2_di" bpmnElement="flow2">
|
||||
<di:waypoint x="340" y="180"/><di:waypoint x="390" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="flow3_di" bpmnElement="flow3">
|
||||
<di:waypoint x="490" y="180"/><di:waypoint x="540" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="flow4_di" bpmnElement="flow4">
|
||||
<di:waypoint x="640" y="180"/><di:waypoint x="690" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="flow5_di" bpmnElement="flow5">
|
||||
<di:waypoint x="790" y="180"/><di:waypoint x="840" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="flow6_di" bpmnElement="flow6">
|
||||
<di:waypoint x="940" y="180"/><di:waypoint x="992" y="180"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
||||
</definitions>
|
||||
Reference in New Issue
Block a user