moved
This commit is contained in:
10
Sapfor/_src/VisualizerCalls/graphLayout/layout.hpp
Normal file
10
Sapfor/_src/VisualizerCalls/graphLayout/layout.hpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user