
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
graph2img
Advanced tools
xelatex and pdf2svg. Installation on Linux:
# Ubuntu
sudo apt-get install texlive-xetex
sudo apt-get install poppler-utils
# CentOS
yum install texlive-xetex
yum install poppler-utils
For Windows, you only need to install texlive directly.
Install with pip:
pip install graph2img
Then write your edge information into graph.txt. For example:
1 2 1
2 3 2
1 3 3
This will return a triangular graph.
Then run the program:
graph2img graph.txt
This will return a file graph.png:

Or to draw a tree:
1 2 1
1 3 2
2 4 2
2 5 3
3 6 3
3 7 2
1 9 1
2 8 2
This will return a tree:

You can run the program by the following command:
graph2img <input_file> <output_file>
Several options are provided: Three options are provided:
--save-temp-files=true/false
--temp-path=[path]
--output-format=png/svg
--show=true/false
--help
If you want to save the temporary files (like tex codes), set --save-temp-files as true;
If you want to generate a svg format image, set -output-format as svg;
If your system does not have a user interface, set --show as false;
To show all options, run graph2img --help.
git clone https://github.com/ForwardStar/graph_drawer.git
cd graph_drawer
python setup.py install
FAQs
graph2img: convert a graph to a png file.
We found that graph2img demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.