¹

visgraph

visgraph is an easy-to-use Rust library for visualizing graphs using various layout algorithms and exporting them to image formats like PNG or even SVG.

The current implementation uses SVG as an intermediate format, allowing for high-quality rendering and scalability, in order to be able to use resvg.

The various layout algorithms that are supported can be found in the layout module documentation.

Supports Rust 1.68 and later. This will only change on major releases.

Usage

For more examples, see the examples directory.

// This example is taken from examples/default_settings.rs
use petgraph::gra...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help