Skip to content

Commit

Permalink
adding edge_data to data scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
romanavyzn committed May 27, 2024
1 parent 13408fe commit 54f11ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/compas/datastructures/cell_network/cell_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ class CellNetwork(Datastructure):
},
"additionalProperties": False,
},
"edge_data": {
"type": "object",
"patternProperties": {"^\\([0-9]+(, [0-9]+){3, }\\)$": {"type": "object"}},
"additionalProperties": False,
},
"face_data": {
"type": "object",
"patternProperties": {"^\\([0-9]+(, [0-9]+){3, }\\)$": {"type": "object"}},
Expand All @@ -155,6 +160,7 @@ class CellNetwork(Datastructure):
"edge",
"face",
"cell",
"edge_data",
"face_data",
"cell_data",
"max_vertex",
Expand Down

0 comments on commit 54f11ee

Please sign in to comment.