visual_elements.hpp

TODO.

namespace D3
struct LocNode
#include <visual_elements.hpp>
template<typename NODE = LocNode>
class TileGrid
#include <visual_elements.hpp>

Public Functions

inline void SetCellSize(int size)
inline TileGrid(int width, int height, int cell_size, D3::Selection &svg)
inline TileGrid(int width, int height, int cell_size = 15)

Public Members

int grid_width
int grid_height
int cell_size
D3::Selection svg
vector<NODE> data = vector<NODE>(grid_width * grid_height)