20 enum {
COLOR_SCHEME_NONE,
COLOR_SCHEME_PASTEL = 1,
COLOR_SCHEME_BLUE_YELLOW,
COLOR_SCHEME_WHITE_RED,
COLOR_SCHEME_GREY_RED,
COLOR_SCHEME_PRIMARY,
COLOR_SCHEME_SEQUENTIAL_SINGLEHUE_RED,
COLOR_SCHEME_ADAM,
COLOR_SCHEME_ADAM_BLEND,
COLOR_SCHEME_SEQUENTIAL_SINGLEHUE_RED_LIGHTER,
COLOR_SCHEME_GREY};
40 SparseMatrix Import_coord_clusters_from_dot(
Agraph_t* g,
int maxcluster,
int dim,
int *nn,
real **label_sizes,
real **x,
int **clusters,
float **rgb_r,
float **rgb_g,
float **rgb_b,
float **fsz,
char ***labels,
int default_color_scheme,
int clustering_scheme,
int useClusters);
int getDotNodeID(Agnode_t *n)
void attach_embedding(Agraph_t *g, int dim, double sc, real *x)
void edgelist_export(FILE *f, SparseMatrix A, int dim, real *x)
SparseMatrix SparseMatrix_import_dot(Agraph_t *g, int dim, real **label_sizes, real **x, int *n_edge_label_nodes, int **edge_label_nodes, int format, SparseMatrix *D)
char * hue2rgb(real hue, char *color)
void initDotIO(Agraph_t *g)
void attach_edge_colors(Agraph_t *g, int dim, real *colors)
int Import_dot_splines(Agraph_t *g, int *ne, char ***xsplines)
void attached_clustering(Agraph_t *g, int maxcluster, int clustering_scheme)
Agraph_t * SparseMatrix_read_dot(FILE *f)
Agraph_t * makeDotGraph(SparseMatrix A, char *name, int dim, real *x, int with_color, int with_label, int use_matrix_value)
void Dot_SetClusterColor(Agraph_t *g, float *rgb_r, float *rgb_g, float *rgb_b, int *clusters)
Agraph_t * convert_edge_labels_to_nodes(Agraph_t *g)
void setDotNodeID(Agnode_t *n, int v)
SparseMatrix Import_coord_clusters_from_dot(Agraph_t *g, int maxcluster, int dim, int *nn, real **label_sizes, real **x, int **clusters, float **rgb_r, float **rgb_g, float **rgb_b, float **fsz, char ***labels, int default_color_scheme, int clustering_scheme, int useClusters)
void dump_coordinates(char *name, int n, int dim, real *x)
Agraph_t * assign_random_edge_color(Agraph_t *g)