Created
June 12, 2018 09:06
-
-
Save tswistak/a3d551088a9f5e4cdb32017f127ed771 to your computer and use it in GitHub Desktop.
GoJS tutorial part 2, listing 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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