<goat-flow-designer id="workflow-editor"></goat-flow-designer>
<script>
const workflowEditor = document.querySelector('#workflow-editor');
workflowEditor.data = [
{
'name': 'new-github-issue',
'title': 'New issue in github',
type: 'activity',
}, {
'name': 'new-github-issue',
'title': 'New issue in github',
type: 'activity',
},
];
</script>