Most of the hundreds of samples are in individual pages at Samples Index and Extensions.
This directory has subdirectories that hold samples that consist of more than one file or have nested subdirectories.
The BPMN sample demonstrates some basics of a BPMN editor.
The sources are in the bpmn
subdirectory.
There is a floor plan editor at TypeScript FloorPlanner sample.
The sources are in the floorplannerTS
subdirectory.
There is also an older JavaScript FloorPlanner sample,
whose sources are in the floorplanner
subdirectory.
A demonstration of generating, showing, and downloading PDF for a diagram is at minimalPDF.html. The sample demonstrates both showing the PDF on the page itself as well as downloading it upon pressing a button. In a real application it is likely that you would only want to have the user download the PDF file.
An example server-side project for running GoJS with Puppeteer is in the puppeteer
subdirectory or at
GitHub: puppeteer.
The GoJS Cloud Storage extension is in the storage
subdirectory or at
GitHub: storage.
If you have a license to the GoJS source code, you can rebuild the full functionality `go.js` library
in the maximalSource
subdirectory or at
GitHub: maximalSource
If you have a license to the GoJS source code, you can build the subset functionality library
in the minimalSource
or minimalSourceBrowserify
subdirectory or at
GitHub: minimalSource, or at
GitHub: minimalSourceBrowserify
As of GoJS 2.0 many of these projects have moved to their own GitHub repositories.
There is a new package for Angular, named gojs-angular, which is at GitHub: gojs-angular. It is also available for npm: gojs-angular. That package is used by a sample: GitHub: gojs-angular-basic. Read more about Angular at the GoJS with Angular Intro page.
There is a new package for React, named gojs-react, which is at GitHub: gojs-react. It is also available for npm: gojs-react. That package is used by a sample: GitHub: gojs-react-basic. Read more about React at the GoJS with React Intro page.