The release/go-module.js file now exports every class, so that you can import only specific classes, instead of go . For example: import { Diagram, Node, Link, Point, Shape, TextBlock } from ... .
Added a sample demonstrating generating a PDF file for a Diagram, in the projects/pdf subdirectory. The sample is at minimalPDF.
Fix for AnimationTriggers erroneously starting when dragging and dropping Parts from another Diagram or Palette.
Fix for LinkingTool not deselecting other parts when a new link is created.
Thank you walter ,
I did below,
import { Diagram, Node, Link, Point, Shape, TextBlock } from ‘gojs/release/go-module’;
This works but size is not changed, I use webpack.