graphology-canvas
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -1,2 +0,2 @@ | ||
import Graph, {Attributes, NodeKey, EdgeKey} from 'graphology-types'; | ||
import Graph, {Attributes} from 'graphology-types'; | ||
@@ -13,7 +13,7 @@ export type CanvasRendererSettings< | ||
defaultColor?: string; | ||
reducer?: (settings: CanvasRendererSettings, node: NodeKey, attributes: NodeAttributes) => Attributes; | ||
reducer?: (settings: CanvasRendererSettings, node: string, attributes: NodeAttributes) => Attributes; | ||
}, | ||
edges?: { | ||
defaultColor?: string; | ||
reducer?: (settings: CanvasRendererSettings, edge: EdgeKey, attributes: EdgeAttributes) => Attributes; | ||
reducer?: (settings: CanvasRendererSettings, edge: string, attributes: EdgeAttributes) => Attributes; | ||
} | ||
@@ -20,0 +20,0 @@ }; |
The MIT License (MIT) | ||
Copyright (c) 2017-2020 Guillaume Plique (Yomguithereal) | ||
Copyright (c) 2017-2021 Guillaume Plique (Yomguithereal) | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "graphology-canvas", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Canvas rendering routines for graphology.", | ||
@@ -45,17 +45,4 @@ "main": "index.js", | ||
"homepage": "https://github.com/graphology/graphology-canvas#readme", | ||
"devDependencies": { | ||
"@yomguithereal/eslint-config": "^4.0.0", | ||
"canvas": "^2.6.1", | ||
"eslint": "^7.17.0", | ||
"fs-extra": "^9.0.1", | ||
"graphology": "^0.19.3", | ||
"graphology-gexf": "^0.7.2", | ||
"graphology-types": "^0.19.2", | ||
"mocha": "^8.2.1" | ||
}, | ||
"eslintConfig": { | ||
"extends": "@yomguithereal/eslint-config", | ||
"globals": { | ||
"Set": true | ||
} | ||
"extends": "@yomguithereal/eslint-config" | ||
}, | ||
@@ -66,5 +53,8 @@ "dependencies": { | ||
}, | ||
"devDependencies": { | ||
"canvas": "^2.8.0" | ||
}, | ||
"peerDependencies": { | ||
"canvas": "^2.6.1", | ||
"graphology-types": ">=0.19.0" | ||
"graphology-types": ">=0.20.0" | ||
}, | ||
@@ -71,0 +61,0 @@ "peerDependenciesMeta": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
17769