Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gml2gv.h File Reference

GML-DOT converter More...

#include <stdio.h>
#include <cgraph/cgraph.h>
#include <cgraph/list.h>
Include dependency graph for gml2gv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gmlattr
 
struct  gmlnode
 
struct  gmledge
 
struct  gmlgraph
 

Typedefs

typedef struct gmlgraph gmlgraph
 

Functions

void free_attr (gmlattr *p)
 
void free_node (gmlnode *p)
 
void free_edge (gmledge *p)
 
void free_graph (gmlgraph *p)
 
int gmllex (void)
 
void gmllexeof (void)
 
void gmlerror (const char *)
 
int gmlerrors (void)
 
void initgmlscan (FILE *)
 
Agraph_tgml_to_gv (char *, FILE *, int, int *)
 

Typedef Documentation

◆ gmlgraph

typedef struct gmlgraph gmlgraph

Function Documentation

◆ free_attr()

void free_attr ( gmlattr p)

Definition at line 2194 of file gmlparse.c.

References free(), free_attrs(), gmlattr::kind, LIST, gmlattr::lp, gmlattr::name, gmlattr::u, and gmlattr::value.

Here is the call graph for this function:

◆ free_edge()

void free_edge ( gmledge p)

Definition at line 111 of file gmlparse.c.

References gmledge::attrlist, and free().

Referenced by cleanup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_graph()

void free_graph ( gmlgraph p)

Definition at line 117 of file gmlparse.c.

References gmlgraph::attrlist, gmlgraph::edgelist, free(), gmlgraph::graphlist, and gmlgraph::nodelist.

Referenced by cleanup(), and freeChannel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_node()

void free_node ( gmlnode p)

Definition at line 105 of file gmlparse.c.

References free().

Referenced by cleanup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gml_to_gv()

Agraph_t * gml_to_gv ( char *  name,
FILE *  fp,
int  cnt,
int *  errors 
)
extern

Definition at line 2552 of file gmlparse.c.

References agxbfree(), cleanup(), cnt(), error, errors, G, G, gmlerrors(), gmlparse(), initgmlscan(), L, mkGraph(), mkGraph(), NULL, and pushAlist().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gmlerror()

void gmlerror ( const char *  str)
extern

Definition at line 125 of file gmlscan.l.

References agwarningf(), errors, line_num, str, and yytext.

Here is the call graph for this function:

◆ gmlerrors()

int gmlerrors ( void  )
extern

Definition at line 133 of file gmlscan.l.

References errors.

Referenced by gml_to_gv(), and gml_to_gv().

Here is the caller graph for this function:

◆ gmllex()

int gmllex ( void  )
extern

◆ gmllexeof()

void gmllexeof ( void  )
extern

Definition at line 138 of file gmlscan.l.

References GRAPH_EOF_TOKEN, and unput.

◆ initgmlscan()

void initgmlscan ( FILE *  ifile)
extern

Definition at line 849 of file gmlscan.c.

References errors, errors, Ifile, Ifile, line_num, and line_num.

Referenced by gml_to_gv(), and gml_to_gv().

Here is the caller graph for this function: