Created
June 4, 2018 09:49
-
-
Save tswistak/677f41a4b923db513cad5194049f5717 to your computer and use it in GitHub Desktop.
GoJS tutorial part 1, listing 5
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
diagram.nodeTemplate = $(go.Node, | |
'Auto', | |
$(go.Shape, { | |
geometryString: 'F M0 0 L100 0 Q150 50 100 100 L0 100 Q50 50 0 0z', | |
fill: 'white', | |
width: 100, | |
height: 100 | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment