two node snap for triangles

This commit is contained in:
Sebastian
2024-11-06 02:28:37 +01:00
parent 9878b7b2a4
commit 95620a5f07
6 changed files with 89 additions and 75 deletions
-2
View File
@@ -13,9 +13,7 @@ namespace VISEQ::GRAPH {
GraphItem(const GraphItem& G) {
newId(-1);
graphItemType = G.graphItemType;
neighbors = G.neighbors;
}
std::vector<std::shared_ptr<GraphItem>> neighbors;
GraphItemType graphItemType;
int id = 0;