Graphviz 13.1.3~dev.20250829.0113
Loading...
Searching...
No Matches
gml2gv.h File Reference

GML-DOT converter More...

#include <stdio.h>
#include <cgraph/cgraph.h>
#include <util/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

typedef LIST (gmlattr *) attrs_t
 
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

◆ gml_to_gv()

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

Definition at line 2246 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 113 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 121 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 126 of file gmlscan.l.

References GRAPH_EOF_TOKEN, and unput.

◆ initgmlscan()

void initgmlscan ( FILE *  ifile)
extern

Definition at line 850 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:

◆ LIST()

typedef LIST ( gmlattr )