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
JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
npm install gojs
100
Supply Chain
100
Quality
95.8
Maintenance
100
Vulnerability
87.1
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
7,838 Stars
422 Commits
2,861 Forks
290 Watching
6 Branches
10 Contributors
Updated on 29 Nov 2024
HTML (68.65%)
JavaScript (24.82%)
TypeScript (6.24%)
CSS (0.29%)
Cumulative downloads
Total Downloads
Last day
-20.7%
9,714
Compared to previous day
Last week
-2.6%
66,903
Compared to previous week
Last month
-3.2%
278,807
Compared to previous month
Last year
19.1%
2,941,434
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 contains only the library. The sources for all 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 = new go.Diagram( 7 'myDiagramDiv', // create a Diagram for the HTML Div element 8 { 'undoManager.isEnabled': true } 9 ); // enable undo & redo 10 11 // define a simple Node template 12 myDiagram.nodeTemplate = new go.Node('Auto') // the Shape will automatically surround the TextBlock 13 // add a Shape and a TextBlock to this "Auto" Panel 14 .add( 15 new go.Shape('RoundedRectangle', { strokeWidth: 0, fill: 'white' }) // no border; default fill is white 16 .bind('fill', 'color') 17 ) // Shape.fill is bound to Node.data.color 18 .add( 19 new go.TextBlock({ margin: 8, stroke: '#333' }) // some room around the text 20 .bind('text', 'key') 21 ); // TextBlock.text is bound to Node.data.key 22 23 // but use the default Link template, by not setting Diagram.linkTemplate 24 25 // create the model data that will be represented by Nodes and Links 26 myDiagram.model = new go.GraphLinksModel( 27 [ 28 { key: 'Alpha', color: 'lightblue' }, 29 { key: 'Beta', color: 'orange' }, 30 { key: 'Gamma', color: 'lightgreen' }, 31 { key: 'Delta', color: 'pink' }, 32 ], 33 [ 34 { from: 'Alpha', to: 'Beta' }, 35 { from: 'Alpha', to: 'Gamma' }, 36 { from: 'Beta', to: 'Beta' }, 37 { from: 'Gamma', to: 'Delta' }, 38 { from: 'Delta', to: 'Alpha' }, 39 ] 40 ); 41</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 (c) Northwoods Software Corporation
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-25
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