
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@redsift/d3-rs-network
Advanced tools
d3-rs-network
<script src="//static.redsift.io/reusable/d3-rs-network/latest/d3-rs-network.umd-es2015.min.js"></script>
<script>
let VIZ = {
"nodes": [
{ id: "grandparent1", strata: 0 },
{id: "parent1", strata: 1},
{id: "child1", strata: 2},
{id: "child2", strata: 2},
{id: "child3", strata: 2, friendlyName: "napoleon"},
{id: "child4", strata: 2},
{ id: "grandparent2", strata: 0 }
// ...
],
"links": [
{ source: "grandparent1", target: "grandparent2", value: 40, color: 'red' },
{ source: "child1", target: "child3", value: 10.34, color: 'red' },
{ source: "child2", target: "child3", value: 10.34, color: 'red' }
// ...
],
"owns": [
{ parent: "grandparent1", child: "parent1" },
{ parent: "parent1", child: "child1" },
{ parent: "parent1", child: "child2" },
// ...
]
};
var chart = d3_rs_network.html('blank').category(category)
.tryGetChildren(tryGetChildren).tryGetParent(tryGetParent)
.tryGetIndexBrothers(tryGetIndexBrothers).tryGetNumberOfBrothers(tryGetNumberOfBrothers)
.textDisplay(textDisplay)
;
d3.select('body').datum(VIZ).call(chart);
</script>
import { html as chart } from "@redsift/d3-rs-network";
let eml = chart();
...
var chart = require("@redsift/d3-rs-network");
var eml = chart.html();
...
Additional functions for customisation of the visualizations. - Size of circles depending of given parameter as input - Color of circles depending on strata - Width of lines depending of given parameter as input - Color of lines depending of given parameter as input - Saturation of lines depending of given parameter as input - Possibility to display different hierarchy of links
FAQs
Generates network charts using D3v4.
The npm package @redsift/d3-rs-network receives a total of 0 weekly downloads. As such, @redsift/d3-rs-network popularity was classified as not popular.
We found that @redsift/d3-rs-network demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.