
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Graphshaper can generate realistic, scale-free graphs of any size. It is tested with MRI Ruby (1.9.2. and 1.9.3) and the 1.9 versions of jRuby and Rubinius.
Add this line to your application's Gemfile:
gem 'graphshaper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install graphshaper
The commandline tool expects one argument: The number of vertices you want your generated graph to have. This is how to use it:
graphshaper [options] size
You can use the following options:
-a
, --arango
: Store the graph in a local ArangoDB instance-l
, --log
: Store the graph in two CSV files for nodes and edges-d
, --dot
: Store the graph in the dot format-p
, --png
: Export the graph as a PNG (you need to install graphviz for that – circo is used for the layout)--version
: Show versionYou can also use the library in your Ruby Code. You can find the documentation here.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that graphshaper 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.