{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Grandalf computes node coordinates and routes edges for graph layouts using Sugiyama hierarchical or force-driven algorithms, then leaves the actual drawing to your graphics toolkit of choice.","skillfed_tags":["graph-layout","visualization-geometry","experimental-algorithms"],"use_cases":["Compute node positions for a hierarchical flowchart or organizational chart, then render with your preferred graphics library.","Prototype a force-directed graph layout algorithm by modifying the energy minimization code directly.","Generate graph coordinates in a headless environment (server, CLI tool) without requiring a display or graphics toolkit.","Integrate graph layout into a custom visualization pipeline where you control rendering separately from layout.","Experiment with graph drawing algorithms in a small, readable codebase without the overhead of heavyweight libraries."],"what_it_does":"Grandalf is a pure-Python graph layout library that solves the geometric problem of positioning nodes and routing edges for visualization. It implements two layout strategies: Sugiyama (hierarchical/dot-style) and force-driven (energy minimization), each designed to be simple enough to read and modify. The library does not handle rendering\u2014it computes coordinates and edge paths, leaving the actual drawing to your choice of graphics toolkit (matplotlib, Qt, GTK, etc.).\n\nThe package is intentionally lightweight (about 1500 lines total, with individual algorithms under 600 lines) and trades speed for simplicity and hackability. It targets experimental work and small-to-medium graphs rather than production-scale visualization. With only pyparsing as a runtime dependency and no graphics toolkit requirement, it integrates easily into headless or custom rendering pipelines.","worth_installing":"Yes, if you need graph layout coordinates for experimental or small-scale work and want to control rendering separately. The low install friction and copyleft license are straightforward. However, dormant maintenance (last release January 2023) means you should not expect bug fixes or updates; use it only if the current feature set meets your needs and you are comfortable maintaining a fork if required."},"id":"grandalf","links":{"html":"https://skillfed.io/packages/grandalf","md":"https://skillfed.io/packages/grandalf.md","pypi":"https://pypi.org/project/grandalf/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-01-10","license_spdx":null,"license_treatment":"copyleft","name":"grandalf","python_support":"unspecified","summary":"Graph and drawing algorithms framework"},"popularity":{"monthly_downloads":2833940,"position":2870,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.8"}
