NetworkLayout.jl
Layout algorithms for graphs and trees in pure Julia.
Install / Use
/learn @JuliaGraphs/NetworkLayout.jlREADME
NetworkLayout.jl
Layout algorithms for graphs and trees in pure Julia.
Installation
pkg> add NetworkLayout
Algorithms
The available algorithms and their parameters can be found in the docs.
All of the algorithms represent mappings adjacency matrix ↦ vector of positions where the positions are represented by the Point datatype from
`GeometryBasics.jl
using NetworkLayout
using Graphs
adj_matrix = adjacency_matrix(wheel_graph(10))
pos = spring(adj_matrix; iterations=20)
pos = algorithm(adj_matrix)
There is also a "delayed" functor version of each algorithm:
layout = Spring(; iterations=20)
pos = layout(adj_matrix)
Instead of passing a adjacency matrix on can also pass Graphs.jl graphs directly.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
