const node = graph.createNodeAt({
location: new Point(30, 215),
style: new ImageNodeStyle('resources/star-16.svg')
})
graph.createEdge({
source: sourceNode,
target: node,
style: new PolylineEdgeStyle({
targetArrow: '#224556 medium triangle',
stroke: '2px #224556'
})
})
graph.addLabel({
text: 'New Label',
owner: node,
style: new DefaultLabelStyle({ backgroundFill: '#a6a6c0' })
})