vg
tools for working with variation graphs
|
#include <colors.hpp>
Public Member Functions | |
Colors (void) | |
Colors (int seed_val) | |
~Colors (void) | |
string | hashed (const string &str) |
string | random (void) |
Public Attributes | |
const vector< string > | colors = { "/dark28/1", "/dark28/2", "/dark28/3", "/dark28/4", "/dark28/5", "/dark28/6", "/dark28/7", "/dark28/8" } |
Private Attributes | |
mt19937 | rng |
Generates random GraphViz colors seeded by strings. Used for colorizing paths in visualizations.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const vector<string> vg::Colors::colors = { "/dark28/1", "/dark28/2", "/dark28/3", "/dark28/4", "/dark28/5", "/dark28/6", "/dark28/7", "/dark28/8" } |
|
private |