This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const printMachine = stateMachineConfig => { | |
// decorate=true -> as attribute is also useful, but colors are far better | |
const edgeTimerAttributes = ', color="darkgreen", fontcolor="darkgreen"' | |
const edgeSuccessAttributes = ', color="blue", fontcolor="blue"' | |
const edgeFailAttributes = ', color="red", fontcolor="red"' | |
let result = 'digraph {\n' | |
result += Object.getOwnPropertyNames(stateMachineConfig.states).reduce((acc, stateName) => { | |
let res = `${acc}` | |
const stateObject = stateMachineConfig.states[stateName] |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<!--<link href="./report_template.css" rel="stylesheet" type="text/css">--> | |
<style> | |
thead, tfoot {display: table-row-group; } | |
/* avoid page breaks inside rows NONE OF THIS WORKS !!!!*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"id": "/laborvorschriften#", | |
"type": "object", | |
"title": "Laborvorschrift", | |
"name": "Laborvorschrift", | |
"required": ["_id", "name", "typ"], | |
"properties": { |