Skip to content

Instantly share code, notes, and snippets.

@tswistak

tswistak/diagram.js

Created Jun 12, 2018
Embed
What would you like to do?
GoJS tutorial part 2, listing 1
$(go.Node, 'Auto',
$(go.Shape,
'Circle', {
width: 100,
height: 100,
fill: 'white'
}),
$(go.Shape,
'Rectangle', {
portId: '',
width: 20,
height: 20,
fill: 'black',
fromLinkable: true,
toLinkable: true
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.