Gathering detailed insights and metrics for gojs
Gathering detailed insights and metrics for gojs
Gathering detailed insights and metrics for gojs
Gathering detailed insights and metrics for gojs
gojs-react
A set of React components to manage GoJS Diagrams, Palettes, and Overviews
react-gojs
GoJS React integration
create-gojs-kit
A CLI for downloading GoJS samples, extensions, and docs
gojs-angular
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 20.0.5.
JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
npm install gojs
Typescript
Module System
Node Version
NPM Version
HTML (68.64%)
JavaScript (24.8%)
TypeScript (6.26%)
CSS (0.29%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
8,205 Stars
441 Commits
2,858 Forks
289 Watchers
6 Branches
11 Contributors
Updated on Jul 12, 2025
Latest Version
3.0.24
Package Id
gojs@3.0.24
Unpacked Size
10.38 MB
Size
2.42 MB
File Count
18
NPM Version
11.3.0
Node Version
20.17.0
Published on
Jun 17, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
GoJS is a JavaScript and TypeScript library for creating and manipulating diagrams, charts, and graphs.
GoJS is a flexible library that can be used to create a number of different kinds of interactive diagrams, including data visualizations, drawing tools, and graph editors. There are samples for flowchart, org chart, business process BPMN, swimlanes, timelines, state charts, kanban, network, mindmap, sankey, family trees and genogram charts, fishbone diagrams, floor plans, UML, decision trees, PERT charts, Gantt, and hundreds more. GoJS includes a number of built in layouts including tree layout, force directed, circular, and layered digraph layout, and many custom layout extensions and examples.
GoJS is renders either to an HTML Canvas element (with export to SVG or image formats) or directly as SVG DOM. GoJS can run in a web browser, or server side in Node or Puppeteer. GoJS Diagrams are backed by Models, with saving and loading typically via JSON-formatted text.
Read more about GoJS at gojs.net
This repository and the website contain not only the library, but also the sources for all samples, extensions, and documentation.
However the npm package contains only the library. You can install the GoJS library using npm:
1$ npm install gojs
The samples, extensions, and documentation can be installed by running:
1$ npm create gojs-kit@latest
You can use the GitHub repository to quickly search through all of the sources.
Graphs are constructed by creating one or more templates, with desired properties data-bound, and adding model data.
1<div id="myDiagramDiv" style="width:400px; height:150px;"></div> 2 3<script src="https://cdn.jsdelivr.net/npm/gojs/release/go.js"></script> 4 5<script> 6 const myDiagram = 7 new go.Diagram('myDiagramDiv', { // create a Diagram for the HTML Div element 8 'undoManager.isEnabled': true // enable undo & redo 9 }); 10 11 // define a simple Node template 12 // the Shape will automatically surround the TextBlock 13 myDiagram.nodeTemplate = 14 new go.Node('Auto') 15 .add( // add a Shape and a TextBlock to this "Auto" Panel 16 new go.Shape('RoundedRectangle', { strokeWidth: 0, fill: 'white' }) // no border; default fill is white 17 .bind('fill', 'color'), // Shape.fill is bound to Node.data.color 18 new go.TextBlock({ margin: 8, font: 'bold 14px sans-serif', stroke: '#333' }) // some room around the text 19 .bind('text', 'key') // TextBlock.text is bound to Node.data.key 20 ); 21 22 // but use the default Link template, by not setting Diagram.linkTemplate 23 24 // create the model data that will be represented by Nodes and Links 25 myDiagram.model = new go.GraphLinksModel( 26 [ 27 { key: 'Alpha', color: 'lightblue' }, 28 { key: 'Beta', color: 'orange' }, 29 { key: 'Gamma', color: 'lightgreen' }, 30 { key: 'Delta', color: 'pink' }, 31 ], 32 [ 33 { from: 'Alpha', to: 'Beta' }, 34 { from: 'Alpha', to: 'Gamma' }, 35 { from: 'Beta', to: 'Beta' }, 36 { from: 'Gamma', to: 'Delta' }, 37 { from: 'Delta', to: 'Alpha' }, 38 ] 39 ); 40</script>
The above diagram and model code creates the following graph. The user can now click on nodes or links to select them, copy-and-paste them, drag them, delete them, scroll, pan, and zoom, with a mouse or with fingers.
Click the image to see the interactive GoJS Diagram
Northwoods Software offers a month of free developer-to-developer support for GoJS to prospective customers so you can finish your project faster.
Read and search the official GoJS forum for any topics related to your questions.
Posting in the forum is the fastest and most effective way of obtaining support for any GoJS related inquiries. Please register for support at Northwoods Software's registration form before posting in the forum.
For any nontechnical questions about GoJS, such as about sales or licensing, please visit Northwoods Software's contact form.
The GoJS software license.
The GoJS evaluation license.
Copyright Northwoods Software Corporation
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6
Reason
Found 2/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More