<!DOCTYPE html>
<meta charset="utf-8">
<style>
    body {
        background-color: hsl(30, 20%, 95%)
    }
</style>

<link href='https://unpkg.com/chevrotain/diagrams/diagrams.css' rel='stylesheet'>
<script src='https://unpkg.com/chevrotain/diagrams/vendor/railroad-diagrams.js'></script>
<script src='https://unpkg.com/chevrotain/diagrams/src/diagrams_builder.js'></script>
<script src='https://unpkg.com/chevrotain/diagrams/src/diagrams_behavior.js'></script>
<script src='https://unpkg.com/chevrotain/diagrams/src/main.js'></script>

<body>
<div id="diagrams"></div>

<script src='generated-serialized-grammar.js'></script>

<script>
    const diagramsDiv = document.getElementById('diagrams');
    main.drawDiagramsFromSerializedGrammar(serializedGrammar, diagramsDiv);
</script>
</body>
