GML graph printing methods.
For a detailed format decription see http://docs.yworks.com/yfiles/doc/developers-guide/gml.html
Functions | |
void | SCIPgmlWriteNode (FILE *file, unsigned int id, const char *label, const char *nodetype, const char *fillcolor, const char *bordercolor) |
void | SCIPgmlWriteNodeWeight (FILE *file, unsigned int id, const char *label, const char *nodetype, const char *fillcolor, const char *bordercolor, SCIP_Real weight) |
void | SCIPgmlWriteEdge (FILE *file, unsigned int source, unsigned int target, const char *label, const char *color) |
void | SCIPgmlWriteArc (FILE *file, unsigned int source, unsigned int target, const char *label, const char *color) |
void | SCIPgmlWriteOpening (FILE *file, SCIP_Bool directed) |
void | SCIPgmlWriteClosing (FILE *file) |
void | SCIPdotWriteOpening (FILE *file) |
void | SCIPdotWriteNode (FILE *file, int node, const char *label, const char *nodetype, const char *fillcolor, const char *bordercolor) |
void | SCIPdotWriteArc (FILE *file, int source, int target, const char *color) |
void | SCIPdotWriteClosing (FILE *file) |
void SCIPgmlWriteNode | ( | FILE * | file, |
unsigned int | id, | ||
const char * | label, | ||
const char * | nodetype, | ||
const char * | fillcolor, | ||
const char * | bordercolor ) |
writes a node section to the given graph file
file | file to write to |
id | id of the node |
label | label of the node |
nodetype | type of the node, or NULL |
fillcolor | color of the node's interior, or NULL |
bordercolor | color of the node's border, or NULL |
Definition at line 500 of file misc.c.
References assert(), GMLFONTSIZE, GMLNODEBORDERCOLOR, GMLNODEFILLCOLOR, GMLNODEHEIGTH, GMLNODETYPE, GMLNODEWIDTH, and NULL.
Referenced by btPrintSubtree(), SCIPdigraphPrintGml(), SCIPnodePrintAncestorBranchings(), SCIPvisualizeConsCumulative(), and SCIPwriteCliqueGraph().
void SCIPgmlWriteNodeWeight | ( | FILE * | file, |
unsigned int | id, | ||
const char * | label, | ||
const char * | nodetype, | ||
const char * | fillcolor, | ||
const char * | bordercolor, | ||
SCIP_Real | weight ) |
writes a node section including weight to the given graph file
file | file to write to |
id | id of the node |
label | label of the node |
nodetype | type of the node, or NULL |
fillcolor | color of the node's interior, or NULL |
bordercolor | color of the node's border, or NULL |
weight | weight of node |
Definition at line 548 of file misc.c.
References assert(), GMLFONTSIZE, GMLNODEBORDERCOLOR, GMLNODEFILLCOLOR, GMLNODEHEIGTH, GMLNODETYPE, GMLNODEWIDTH, and NULL.
Referenced by SCIPwriteCliqueGraph().
void SCIPgmlWriteEdge | ( | FILE * | file, |
unsigned int | source, | ||
unsigned int | target, | ||
const char * | label, | ||
const char * | color ) |
writes an edge section to the given graph file
file | file to write to |
source | source node id of the node |
target | target node id of the edge |
label | label of the edge, or NULL |
color | color of the edge, or NULL |
Definition at line 598 of file misc.c.
References assert(), GMLEDGECOLOR, GMLFONTSIZE, and NULL.
void SCIPgmlWriteArc | ( | FILE * | file, |
unsigned int | source, | ||
unsigned int | target, | ||
const char * | label, | ||
const char * | color ) |
writes an arc section to the given graph file
file | file to write to |
source | source node id of the node |
target | target node id of the edge |
label | label of the edge, or NULL |
color | color of the edge, or NULL |
Definition at line 642 of file misc.c.
References assert(), GMLEDGECOLOR, GMLFONTSIZE, and NULL.
Referenced by btPrintSubtree(), SCIPdigraphPrintGml(), SCIPnodePrintAncestorBranchings(), SCIPvisualizeConsCumulative(), and SCIPwriteCliqueGraph().
void SCIPgmlWriteOpening | ( | FILE * | file, |
SCIP_Bool | directed ) |
writes the starting line to a GML graph file, does not open a file
file | file to write to |
directed | is the graph directed |
Definition at line 686 of file misc.c.
References assert(), and NULL.
Referenced by SCIPbtPrintGml(), SCIPdigraphPrintGml(), SCIPnodePrintAncestorBranchings(), SCIPvisualizeConsCumulative(), and SCIPwriteCliqueGraph().
void SCIPgmlWriteClosing | ( | FILE * | file | ) |
writes the ending lines to a GML graph file, does not close a file
file | file to close |
Definition at line 702 of file misc.c.
References assert(), and NULL.
Referenced by SCIPbtPrintGml(), SCIPdigraphPrintGml(), SCIPnodePrintAncestorBranchings(), SCIPvisualizeConsCumulative(), and SCIPwriteCliqueGraph().
void SCIPdotWriteOpening | ( | FILE * | file | ) |
void SCIPdotWriteNode | ( | FILE * | file, |
int | node, | ||
const char * | label, | ||
const char * | nodetype, | ||
const char * | fillcolor, | ||
const char * | bordercolor ) |
void SCIPdotWriteArc | ( | FILE * | file, |
int | source, | ||
int | target, | ||
const char * | color ) |