
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.
multilayerlayout3d
Advanced tools
A multilayer layout for ngraph.three
This is a custom layout for the great ngraph project, more specifically for ngraph.three. It is heavily based on ngraph.forcelayout and ngraph.forcelayout3d
It is used in my multilayer network visualisation module mplexviz-ngraph. Every layer of the graph is calculated separately as a 2d force-directed graph.
Install the module with: npm install multilayerlayout3d
Initialize ngraph.three with this layout:
var mplexLayout = require('multilayerlayout3d');
/*
Initialize ngraph.three
*/
var graphics = nthree(this.graph, {
container: document.body,
layout: mplexLayout(this.graph, physicsSettings)
});
Compare to ngraph.three
You can also specify the distance between layers in the options, passed as an additional input value/
/*
Set options
*/
var options = {
interLayerDistance: 100
};
/*
Initialize ngraph.three
*/
var graphics = nthree(this.graph, {
container: document.body,
layout: mplexLayout(this.graph, physicsSettings, options)
});
Please submit all issues and pull requests to the DennisSchwartz/multilayerlayout3d repository!
If you have any problem or suggestion please open an issue here.
The MIT License
Copyright (c) 2015, Dennis Schwartz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A multilayer layout for ngraph.three
The npm package multilayerlayout3d receives a total of 0 weekly downloads. As such, multilayerlayout3d popularity was classified as not popular.
We found that multilayerlayout3d 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.
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.