Script-to-graph functions added for new method

This commit is contained in:
2021-03-26 21:05:13 +00:00
parent b1916fe55d
commit ccbe62c0d9
9 changed files with 585 additions and 63 deletions

View File

@@ -3,7 +3,7 @@
<head>
<title>Script graph demo</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/3.14.0/js-yaml.min.js"></script>
<script src="index.js" type="module"></script>
<script src="index.js" type="module" defer></script>
</head>
<body style="margin: 24px">
<style>
@@ -35,36 +35,6 @@
<div>
<div class="card" id="graph">
</div>
<div class="card" id="graph2">
<script-graph3>
<script-graph-node></script-graph-node>
<script-graph-node
icon="check"
></script-graph-node>
<script-graph-branch>
<script-graph-node
icon="check"
></script-graph-node>
<script-graph3>
<script-graph-node
icon="check"
></script-graph-node>
<script-graph-node
icon="check"
></script-graph-node>
</script-graph3>
<script-graph-branch>
<script-graph-node
icon="check"
></script-graph-node>
<script-graph-node
icon="check"
></script-graph-node>
</script-graph-branch>
</script-graph-branch>
<script-graph-node></script-graph-node>
</script-graph3>
</div>
<div class="card code">
<h1> Selected node code </h1>
<wc-codemirror mode="json" id="snippet">