
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
vue-d3-network
Advanced tools
Vue component to graph networks using d3-force

npm install vue-d3-network --save
...
<d3-network :net-nodes="nodes" :net-links="links" :options="options" />
...
import D3Network from 'vue-d3-network'
...
components: {
D3Network
},
....
<style src="vue-d3-network/dist/vue-d3-network.css"></style>
Or: import source component from: 'vue-d3-network/src/vue-d3-network.vue' And install devDependencies. (d3-force, stylus and pug) See: package.json)
net-nodes: Array of nodes objects:
net-links: Array of links objects:
selection : Object, links and nodes selected
nodeSym: String, node sprite svg doc
nodeCb: Function(node) -> node, node formatter
linkCb: Function(link) -> link, node link formatter
simCb: Function(sim) -> sim, d3 simulation formatter
customForces: Object: { [d3Function]:args }
options:
canvas: Boolean, render as canvas, false = svg
size: Object, graph size. Default: container size
offset: Object, graph center offset
force: Number
forces Object:
nodeSize: Number, node radius | size in px
linkWidth: Number, link thickness in px
canvasStyles: Object
SVG css classes:
To use this css styles in canvas we create 'ghosts' svg elements to pick up values from computed css properties. If you want, you can stylize the canvas elements directly, setting: options.canvasStyles, but these styles will not be applied to the svg graph.
see: src/canvasStyles.js
FAQs
Vue component to graph networks using d3-force
The npm package vue-d3-network receives a total of 998 weekly downloads. As such, vue-d3-network popularity was classified as not popular.
We found that vue-d3-network demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.