This commit is contained in:
2025-03-12 12:37:19 +03:00
parent 1c851baa7e
commit 6a4040be3e
426 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#pragma once
#include "nodesoup.hpp"
#include <vector>
namespace nodesoup {
/** Distribute vertices equally on a 1.0 radius circle */
void circle(const adj_list_t& g, std::vector<Point2D>& positions);
/** Center and scale vertices so the graph fits on a canvas of given dimensions */
void center_and_scale(const adj_list_t& g, unsigned int width, unsigned int height, std::vector<Point2D>& positions);
}