const n1 = graph.createNodeAt([30, -200])
const n2 = graph.createNodeAt([170, -200])
const n3 = graph.createNodeAt([30, -100])
graph.createEdge(n1, n3)
graph.createEdge(n3, graph.nodes.first())
const groupNode = graph.groupNodes([n1, n2, n3])
graph.addLabel(groupNode, 'Group Node')
const edgeFromGroup = graph.createEdge(groupNode, graph.nodes.at(1)!)