New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/nikolaydubina/go-graph-layout

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nikolaydubina/go-graph-layout

  • v0.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Graph Layout Algorithms in Go

This module provides algorithms for graph visualization in native Go. As of 2021-11-20, virtually all graph visualization algorithms are bindings to Graphviz dot code which is in C. This module attempts to provide implementation of latest and best graph visualization algorithms from scratch in Go. However, given this is very complex task this is work in progress.

Features

  • gonum Isomap
  • gonum Eades
  • Kozo Sugiyama layers strategy
  • Brandes-Köpf horizontal layers assignment [80% done]
  • Graphviz dot layers algorithm [80% done]
  • Gravity force
  • Spring force
  • Kozo Sugiyama Magnetic Force
  • Metro Style edges
  • Ports for edges
  • Spline edges
  • Collision avoidance (dot) edge path algorithm

Contributions

Yes please. These algorithms are hard. If you can, help to finish implementing any of above!

If lots of contributions, I am ok to merge this into some org!

References

  • Wiki Layered Graph Drawing
  • "Handbook of Graph Drawing and Visualization", Roberto Tamassia, Brown, Ch.13, 2013
  • "A Technique for Drawing Directed Graphs", Emden R. Gansner Eleftherios Koutsofios Stephen C. North Kiem-Phong Vo, AT&T Bell Laboratories, 1993
  • "Fast and Simple Horizontal Coordinate Assignment", U. Brandes, Boris Köpf, 2002
  • "Methods for visual understanding of hierarchical system structures", Sugiyama, Kozo; Tagawa, Shôjirô; Toda, Mitsuhiko, 1981
  • "Graph Drawing by the Magnetic Spring Model", Kozo Sugiyama, 1995

FAQs

Package last updated on 11 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc