ogdf-py 0.2.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ogdf/__init__.py +34 -0
- ogdf/_core.cp313-win_amd64.pyd +0 -0
- ogdf/_core.pyi +881 -0
- ogdf/bind_algorithms.cpp +439 -0
- ogdf/bind_generators.cpp +185 -0
- ogdf/bind_graph.cpp +279 -0
- ogdf/bind_io.cpp +134 -0
- ogdf/bind_layouts.cpp +332 -0
- ogdf/bindings.h +18 -0
- ogdf/py.typed +0 -0
- ogdf_py-0.2.0.dist-info/DELVEWHEEL +2 -0
- ogdf_py-0.2.0.dist-info/METADATA +102 -0
- ogdf_py-0.2.0.dist-info/RECORD +16 -0
- ogdf_py-0.2.0.dist-info/WHEEL +5 -0
- ogdf_py-0.2.0.dist-info/licenses/LICENSE +22 -0
- ogdf_py.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll +0 -0
ogdf/__init__.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ogdf - Python bindings for the Open Graph Drawing Framework (OGDF).
|
|
3
|
+
|
|
4
|
+
A curated subset covering graph construction, layout algorithms, core graph
|
|
5
|
+
algorithms, and file I/O. Everything is re-exported from the compiled `_core`
|
|
6
|
+
module (see `_core.pyi` for the typed API).
|
|
7
|
+
|
|
8
|
+
Example:
|
|
9
|
+
>>> import ogdf
|
|
10
|
+
>>> g = ogdf.Graph()
|
|
11
|
+
>>> ogdf.random_planar_connected_graph(g, 20, 30)
|
|
12
|
+
>>> ga = ogdf.GraphAttributes(g)
|
|
13
|
+
>>> ogdf.FMMMLayout().call(ga)
|
|
14
|
+
>>> ogdf.draw_svg(ga, "graph.svg")
|
|
15
|
+
True
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# start delvewheel patch
|
|
20
|
+
def _delvewheel_patch_1_13_0():
|
|
21
|
+
import os
|
|
22
|
+
if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'ogdf_py.libs'))):
|
|
23
|
+
os.add_dll_directory(libs_dir)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
_delvewheel_patch_1_13_0()
|
|
27
|
+
del _delvewheel_patch_1_13_0
|
|
28
|
+
# end delvewheel patch
|
|
29
|
+
|
|
30
|
+
from ogdf import _core
|
|
31
|
+
from ogdf._core import * # noqa: F403
|
|
32
|
+
|
|
33
|
+
__all__ = [name for name in dir(_core) if not name.startswith("_")]
|
|
34
|
+
__version__ = "0.2.0"
|
|
Binary file
|