A truly minimal GoJS Sample using RequireJS
GoJS registers itself as an anonymous Asynchronous Module Definition (AMD) module, so that you have the option of loading "go.js" asynchronously on demand by just calling require.
require