
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@nebula.js/sn-network-chart
Advanced tools
Displays hierarchical or relational dimensions as nodes and edges´, with measures to show the significance of its links.
A network chart to be used with nebula.js, built using visjs network visualization to display networks of nodes and edges.
Requires @nebula.js/stardust
version 1.7.0
or later.
If you use npm: npm install @nebula.js/sn-network-chart
.
You can also load through the script tag directly from https://unpkg.com.
import { embed } from '@nebula.js/stardust';
import network from '@nebula.js/sn-network-chart';
// 'app' is an enigma app model
const nuked = embed(app, {
types: [
{
// register grid chart - qlik-network-chart is the default name in sense
name: 'qlik-network-chart',
load: () => Promise.resolve(network),
},
],
});
// Rendering a simple network chart
nuked.render({
element: document.querySelector('.network'),
type: 'qlik-network-chart',
fields: ['Source', 'Target', '=Sum(Flow)'],
properties: {
title: 'Visualization of network flows',
},
});
Check resources/Network data.xlsx
for an example. The simplest data form is where each row represents an edge in the network. Take this example of airport connections:
AirportID | AirportName | LinkToId | Volume |
---|---|---|---|
0 | Soekarno-Hatta | 3 | 23000 |
1 | Halim | 0 | 5460 |
2 | Changi | 0 | 10870 |
3 | KLCC | 1 | 2780 |
4 | Don Muang | 1 | 4800 |
4 | Don Muang | 2 | 7800 |
Sense inline load script example:
Load * Inline [
AirportID, AirportName, LinktoID,Volume
0,Soekarno-Hatta,3,23000
1,Halim,0,5460
2,Changi,0,10870
3,KLCC,1,2780
4,Don Muang,1,4800
4,Don Muang,2,7800
];
Michael Laenen
Göran Sander
FAQs
Displays hierarchical or relational dimensions as nodes and edges´, with measures to show the significance of its links.
The npm package @nebula.js/sn-network-chart receives a total of 1,003 weekly downloads. As such, @nebula.js/sn-network-chart popularity was classified as popular.
We found that @nebula.js/sn-network-chart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.