Gathering detailed insights and metrics for jointjs-minimap
Gathering detailed insights and metrics for jointjs-minimap
Gathering detailed insights and metrics for jointjs-minimap
Gathering detailed insights and metrics for jointjs-minimap
npm install jointjs-minimap
Typescript
Module System
Node Version
NPM Version
62.3
Supply Chain
84.2
Quality
75.3
Maintenance
100
Vulnerability
100
License
JavaScript (92.31%)
HTML (6.46%)
CSS (1.24%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
5 Commits
1 Forks
1 Watchers
11 Branches
1 Contributors
Updated on Feb 10, 2022
Latest Version
2.0.4
Package Id
jointjs-minimap@2.0.4
Unpacked Size
7.78 kB
Size
3.64 kB
File Count
5
NPM Version
6.4.1
Node Version
10.15.3
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
You can quickly build minimap with jointjs-minimap
Install using NPM or yarn
npm install --save jointjs-minimap
yarn add jointjs-minimap
1 2import * as React from "react"; 3import minimap from "jointjs-minimap"; 4const joint = require('jointjs'); 5import $ from "jquery"; 6 7class Example extends React.Component{ 8 9 componentDidMount() { 10 const graph = new joint.dia.Graph(); 11 const paper = new joint.dia.Paper({ 12 el: document.getElementById('paper'), 13 model: graph, 14 width: 800, 15 height: 800, 16 gridSize: 10, 17 drawGrid: true 18 }); 19 20 minimap({ 21 el: '#minimap' 22 joint, 23 paper, 24 graph, 25 jquery: $, 26 paperViewEl: '#paperView', 27 extra: { 28 background: { color: '#eee' } 29 }, 30 mapViewColor: '#1890ff' 31 }) 32 } 33 34 render(){ 35 return( 36 <div> 37 <div id='paperView' style={{ width: 800, height: 400, overflow: 'auto' }}> 38 <div id='paper'></div> 39 </div> 40 <div id='minimap' style={{ width: 300, height: 300 }}></div> 41 </div> 42 ) 43 } 44} 45
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
37 existing vulnerabilities detected
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