Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree #1169

Merged
merged 16 commits into from
Oct 24, 2023
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

* Added `compas.datastructures.TreeNode` and `compas.datastructures.Tree` classes.

### Changed

* Changed `Network.is_planar` to rely on `NetworkX` instead `planarity` for planarity checking.
Expand Down
5 changes: 5 additions & 0 deletions src/compas/datastructures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@

from .cell_network.cell_network import CellNetwork

from .tree.tree import Tree, TreeNode

BaseNetwork = Network
BaseMesh = Mesh
BaseVolMesh = VolMesh
Expand Down Expand Up @@ -277,6 +279,9 @@
"Feature",
"GeometricFeature",
"ParametricFeature",
# Trees
"Tree",
"TreeNode",
]

if not compas.IPY:
Expand Down
Empty file.
Loading