HTTP-Response:
Error 400: SyntaxError: Parse error on line 25:
...b,filter:drop-shadow(3px 3px 4px rgba(0,
-----------------------^
Expecting 'SEMI', 'NEWLINE', 'SPACE', 'EOF', 'COLON', 'STYLE', 'NUM', 'COMMA', 'NODE_STRING', 'UNIT', 'BRKT', 'PCT', got 'PS'
Error: Syntax error in graph
at Worker.convert (file:///usr/local/kroki/src/worker.js:44:15)
at async file:///usr/local/kroki/src/index.js:31:28
Diagram-Code:
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e0f4fc', 'primaryBorderColor': '#00A7E3', 'lineColor': '#475569', 'textColor': '#1e293b' }}}%%
flowchart TB
NET([Network\nSIP / RTP / WebRTC])
subgraph SENSOR[Sensor]
CAP[Packet Capture]
QA[Quality Analysis]
end
subgraph STORAGE[Storage]
DB[(MySQL/MariaDB\nCDR Data)]
PCAP[(PCAP Files\nRecordings)]
end
subgraph GUI[Web GUI]
WEB[Web Interface]
REP[Reports & Playback]
end
NET --> SENSOR
SENSOR --> |CDR| DB
SENSOR --> |packets| PCAP
GUI --> |query| DB
GUI --> |playback| PCAP
style NET fill:#fff,stroke:#00719A,stroke-width:2px,color:#1e293b,filter:drop-shadow(3px 3px 4px rgba(0,0,0,0.2))
style SENSOR fill:#fff,stroke:#00A7E3,stroke-width:2px,color:#1e293b,filter:drop-shadow(3px 3px 4px rgba(0,0,0,0.2))
style STORAGE fill:#fff,stroke:#f78d1d,stroke-width:2px,color:#1e293b,filter:drop-shadow(3px 3px 4px rgba(0,0,0,0.2))
style GUI fill:#fff,stroke:#00A7E3,stroke-width:2px,color:#1e293b,filter:drop-shadow(3px 3px 4px rgba(0,0,0,0.2))
style DB fill:#fff,stroke:#f78d1d,color:#1e293b
style PCAP fill:#fff,stroke:#f78d1d,color:#1e293b
style CAP fill:#e0f4fc,stroke:#00A7E3,color:#1e293b
style QA fill:#e0f4fc,stroke:#00A7E3,color:#1e293b
style WEB fill:#e0f4fc,stroke:#00A7E3,color:#1e293b
style REP fill:#e0f4fc,stroke:#00A7E3,color:#1e293b