Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
DotIO.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include <cgraph.h>
14#include <sparse/SparseMatrix.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21extern void initDotIO (Agraph_t *g);
22
23extern void setDotNodeID (Agnode_t* n, int v);
24extern int getDotNodeID (Agnode_t* n);
25
26extern void attach_edge_colors(Agraph_t* g, int dim, double *colors);
27
28extern SparseMatrix SparseMatrix_import_dot(Agraph_t *g, int dim, double **x,
29 int format);
30SparseMatrix Import_coord_clusters_from_dot(Agraph_t* g, int maxcluster, int dim, int *nn, double **label_sizes, double **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);
31
32void Dot_SetClusterColor(Agraph_t* g, float *rgb_r, float *rgb_g, float *rgb_b, int *clustering);
33void attached_clustering(Agraph_t* g, int maxcluster, int clustering_scheme);
34
35int Import_dot_splines(Agraph_t* g, int *ne, char ***xsplines);
36
37#ifdef __cplusplus
38}
39#endif
@ COLOR_SCHEME_ADAM_BLEND
Definition DotIO.h:20
@ COLOR_SCHEME_PASTEL
Definition DotIO.h:20
@ COLOR_SCHEME_ADAM
Definition DotIO.h:20
@ COLOR_SCHEME_GREY_RED
Definition DotIO.h:20
@ COLOR_SCHEME_SEQUENTIAL_SINGLEHUE_RED
Definition DotIO.h:20
@ COLOR_SCHEME_NONE
Definition DotIO.h:20
@ COLOR_SCHEME_SEQUENTIAL_SINGLEHUE_RED_LIGHTER
Definition DotIO.h:20
@ COLOR_SCHEME_GREY
Definition DotIO.h:20
@ COLOR_SCHEME_WHITE_RED
Definition DotIO.h:20
@ COLOR_SCHEME_PRIMARY
Definition DotIO.h:20
@ COLOR_SCHEME_BLUE_YELLOW
Definition DotIO.h:20
SparseMatrix SparseMatrix_import_dot(Agraph_t *g, int dim, double **x, int format)
Definition DotIO.c:80
int getDotNodeID(Agnode_t *n)
Definition DotIO.c:664
void initDotIO(Agraph_t *g)
Definition DotIO.c:654
SparseMatrix Import_coord_clusters_from_dot(Agraph_t *g, int maxcluster, int dim, int *nn, double **label_sizes, double **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)
Definition DotIO.c:287
void attach_edge_colors(Agraph_t *g, int dim, double *colors)
Definition DotIO.c:50
void Dot_SetClusterColor(Agraph_t *g, float *rgb_r, float *rgb_g, float *rgb_b, int *clustering)
Definition DotIO.c:268
void setDotNodeID(Agnode_t *n, int v)
Definition DotIO.c:659
void attached_clustering(Agraph_t *g, int maxcluster, int clustering_scheme)
Definition DotIO.c:568
int Import_dot_splines(Agraph_t *g, int *ne, char ***xsplines)
Definition DotIO.c:217
abstract graph C library, Cgraph API
static int useClusters
Definition ccomps.c:73
GVIO_API const char * format
Definition gvio.h:51
graph or subgraph
Definition cgraph.h:425