Port details on branch 2022Q2 |
- py-grandalf Graph experimentation and drawing algorithms framework
- 0.7 math =0 0.7Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2019-02-18 18:46:47
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: graphics python
- License: MIT
- WWW:
- https://github.com/bdcht/grandalf
- Description:
- Grandalf is a python package made for experimentations with graphs and drawing
algorithms. It is written in pure python, and implements two layouts: the
Sugiyama hierarchical layout and the force-driven or energy minimization
approach. While not as fast or featured as _graphviz_ or other libraries like
_OGDF_ (C++), _GDToolkit_ (C), _tulip_ (Java), it provides a way to draw and
navigate graphs no larger than thousands of nodes, while keeping the source code
simple enough to make it possible to easily tweak and hack any part of it for
experimental purpose. With a total of about 1500 lines of python, the code
involved in drawing the Sugiyama (dot) layout fits in less than 600 lines.
The energy minimization approach is comprised of only 250 lines!
Grandalf does only two not-so-simple things:
* computing the nodes (x,y) coordinates (based on provided nodes dimensions, and
a chosen layout)
* routing the edges with lines or nurbs
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}grandalf>0:math/py-grandalf@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-grandalf/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-grandalf
- pkg install py39-grandalf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-grandalf listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-grandalf
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1599403517
SHA256 (bdcht-grandalf-v0.7_GH0.tar.gz) = b3112299fe0a9123c088a16bf2f1b541d0d91199b77170a9739b569bd16a828e
SIZE (bdcht-grandalf-v0.7_GH0.tar.gz) = 445621
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-pytest-runner>0 : devel/py-pytest-runner@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-future>0 : devel/py-future@py39
- py39-pyparsing>0 : devel/py-pyparsing@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- science/dvc
Configuration Options:
- No options to configure
- Options name:
- math_py-grandalf
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|