Graphviz 13.0.0~dev.20250402.0402
|
#include <stdlib.h>
#include <string.h>
#include <arith.h>
#include <gml2gv.h>
#include <assert.h>
#include <util/agxbuf.h>
#include <util/alloc.h>
#include <util/exit.h>
#include <util/list.h>
#include <limits.h>
Go to the source code of this file.
Data Structures | |
union | GMLSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "3.5.1" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYSTYPE GMLSTYPE |
#define | yyparse gmlparse |
#define | yylex gmllex |
#define | yyerror gmlerror |
#define | yydebug gmldebug |
#define | yynerrs gmlnerrs |
#define | yylval gmllval |
#define | yychar gmlchar |
#define | YY_CAST(Type, Val) ((Type) (Val)) |
#define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
#define | YY_NULLPTR ((void*)0) |
#define | YYERROR_VERBOSE 0 |
#define | YY_GML_GMLPARSE_H_INCLUDED |
#define | GMLDEBUG 0 |
#define | GMLTOKENTYPE |
#define | GRAPH 258 |
#define | NODE 259 |
#define | EDGE 260 |
#define | DIRECTED 261 |
#define | SOURCE 262 |
#define | TARGET 263 |
#define | XVAL 264 |
#define | YVAL 265 |
#define | WVAL 266 |
#define | HVAL 267 |
#define | LABEL 268 |
#define | GRAPHICS 269 |
#define | LABELGRAPHICS 270 |
#define | TYPE 271 |
#define | FILL 272 |
#define | OUTLINE 273 |
#define | OUTLINESTYLE 274 |
#define | OUTLINEWIDTH 275 |
#define | WIDTH 276 |
#define | STYLE 277 |
#define | LINE 278 |
#define | POINT 279 |
#define | TEXT 280 |
#define | FONTSIZE 281 |
#define | FONTNAME 282 |
#define | COLOR 283 |
#define | INTEGER 284 |
#define | REAL 285 |
#define | STRING 286 |
#define | ID 287 |
#define | NAME 288 |
#define | LIST 289 |
#define | GMLSTYPE_IS_TRIVIAL 1 |
#define | GMLSTYPE_IS_DECLARED 1 |
#define | YYPTRDIFF_T long |
#define | YYPTRDIFF_MAXIMUM LONG_MAX |
#define | YYSIZE_T unsigned |
#define | YYSIZE_MAXIMUM |
#define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE_PURE |
#define | YY_ATTRIBUTE_UNUSED |
#define | YYUSE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_IGNORE_USELESS_CAST_BEGIN |
#define | YY_IGNORE_USELESS_CAST_END |
#define | YY_ASSERT(E) ((void) (0 && (E))) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 55 |
#define | YYLAST 226 |
#define | YYNTOKENS 37 |
#define | YYNNTS 20 |
#define | YYNRULES 63 |
#define | YYNSTATES 102 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 289 |
#define | YYTRANSLATE(YYX) (0 <= (YYX) && (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF (-29) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | YYTABLE_NINF (-35) |
#define | yytable_value_is_error(Yyn) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef union GMLSTYPE | GMLSTYPE |
typedef signed char | yytype_int8 |
typedef short | yytype_int16 |
typedef unsigned char | yytype_uint8 |
typedef unsigned short | yytype_uint16 |
typedef yytype_int8 | yy_state_t |
typedef int | yy_state_fast_t |
Enumerations | |
enum | gmltokentype { GRAPH = 258 , NODE = 259 , EDGE = 260 , DIRECTED = 261 , SOURCE = 262 , TARGET = 263 , XVAL = 264 , YVAL = 265 , WVAL = 266 , HVAL = 267 , LABEL = 268 , GRAPHICS = 269 , LABELGRAPHICS = 270 , TYPE = 271 , FILL = 272 , OUTLINE = 273 , OUTLINESTYLE = 274 , OUTLINEWIDTH = 275 , WIDTH = 276 , STYLE = 277 , LINE = 278 , POINT = 279 , TEXT = 280 , FONTSIZE = 281 , FONTNAME = 282 , COLOR = 283 , INTEGER = 284 , REAL = 285 , STRING = 286 , ID = 287 , NAME = 288 , LIST = 289 } |
Functions | |
static void | free_attrs (attrs_t *a) |
static char * | sortToStr (unsigned short sort) |
void | free_node (gmlnode *p) |
void | free_edge (gmledge *p) |
void | free_graph (gmlgraph *p) |
static void | cleanup (void) |
static void | pushAlist (void) |
static attrs_t * | popAlist (void) |
static void | popG (void) |
static void | pushG (void) |
static gmlnode * | mkNode (void) |
static gmledge * | mkEdge (void) |
static gmlattr * | mkAttr (char *name, unsigned short sort, unsigned short kind, char *str, attrs_t *list) |
static int | setDir (char *d) |
int | gmlparse (void) |
void * | malloc (YYSIZE_T) |
void | free (void *) |
static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) |
void | free_attr (gmlattr *p) |
static void | deparseList (attrs_t *alist, agxbuf *xb) |
static void | deparseAttr (gmlattr *ap, agxbuf *xb) |
static void | unknown (Agobj_t *obj, gmlattr *ap, agxbuf *xb) |
static void | addNodeLabelGraphics (Agnode_t *np, attrs_t *alist, agxbuf *unk) |
static void | addEdgeLabelGraphics (Agedge_t *ep, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addNodeGraphics (Agnode_t *np, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addEdgePoint (Agedge_t *ep, attrs_t *alist, agxbuf *xb) |
static void | addEdgePos (Agedge_t *ep, attrs_t *alist, agxbuf *xb) |
static void | addEdgeGraphics (Agedge_t *ep, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addAttrs (Agobj_t *obj, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static Agraph_t * | mkGraph (gmlgraph *graph, Agraph_t *parent, char *name, agxbuf *xb, agxbuf *unk) |
Agraph_t * | gml_to_gv (char *name, FILE *fp, int cnt, int *errors) |
Variables | |
static gmlgraph * | G |
static gmlnode * | N |
static gmledge * | E |
static attrs_t * | L |
static dts_t | liststk |
GMLSTYPE | gmllval |
static const yytype_int8 | yytranslate [] |
static const yytype_int16 | yypact [] |
static const yytype_int8 | yydefact [] |
static const yytype_int16 | yypgoto [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_int8 | yytable [] |
static const yytype_int8 | yycheck [] |
static const yytype_int8 | yystos [] |
static const yytype_int8 | yyr1 [] |
static const yytype_int8 | yyr2 [] |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define COLOR 283 |
Definition at line 371 of file gmlparse.c.
#define DIRECTED 261 |
Definition at line 349 of file gmlparse.c.
#define EDGE 260 |
Definition at line 348 of file gmlparse.c.
#define FILL 272 |
Definition at line 360 of file gmlparse.c.
#define FONTNAME 282 |
Definition at line 370 of file gmlparse.c.
#define FONTSIZE 281 |
Definition at line 369 of file gmlparse.c.
#define GMLDEBUG 0 |
Definition at line 299 of file gmlparse.c.
#define GMLSTYPE_IS_DECLARED 1 |
Definition at line 397 of file gmlparse.c.
#define GMLSTYPE_IS_TRIVIAL 1 |
Definition at line 396 of file gmlparse.c.
#define GMLTOKENTYPE |
Definition at line 308 of file gmlparse.c.
#define GRAPH 258 |
Definition at line 346 of file gmlparse.c.
#define GRAPHICS 269 |
Definition at line 357 of file gmlparse.c.
#define HVAL 267 |
Definition at line 355 of file gmlparse.c.
#define ID 287 |
Definition at line 375 of file gmlparse.c.
FONTSIZE INTEGER 284 |
Definition at line 372 of file gmlparse.c.
Referenced by convert(), eval(), evaldyn(), extoken_fn(), exzero(), gen(), getdyn(), mkStmts(), prformat(), scformat(), sortToStr(), and typeChk().
#define LABEL 268 |
Definition at line 356 of file gmlparse.c.
#define LABELGRAPHICS 270 |
Definition at line 358 of file gmlparse.c.
#define LINE 278 |
Definition at line 366 of file gmlparse.c.
#define LIST 289 |
Definition at line 377 of file gmlparse.c.
#define NAME 288 |
Definition at line 376 of file gmlparse.c.
#define NODE 259 |
Definition at line 347 of file gmlparse.c.
#define OUTLINE 273 |
Definition at line 361 of file gmlparse.c.
#define OUTLINESTYLE 274 |
Definition at line 362 of file gmlparse.c.
#define OUTLINEWIDTH 275 |
Definition at line 363 of file gmlparse.c.
#define POINT 279 |
Definition at line 367 of file gmlparse.c.
WIDTH REAL 285 |
Definition at line 373 of file gmlparse.c.
Referenced by sortToStr().
#define SOURCE 262 |
Definition at line 350 of file gmlparse.c.
COLOR STRING 286 |
Definition at line 374 of file gmlparse.c.
Referenced by convert(), deparseAttr(), eval(), evaldyn(), exeval(), extoken_fn(), extype(), exzero(), gen(), getdyn(), prformat(), scan(), scformat(), sortToStr(), stringOf(), typeChk(), and xPrint().
#define STYLE 277 |
Definition at line 365 of file gmlparse.c.
#define TARGET 263 |
Definition at line 351 of file gmlparse.c.
#define TEXT 280 |
Definition at line 368 of file gmlparse.c.
#define TYPE 271 |
Definition at line 359 of file gmlparse.c.
#define WIDTH 276 |
Definition at line 364 of file gmlparse.c.
#define WVAL 266 |
Definition at line 354 of file gmlparse.c.
#define XVAL 264 |
Definition at line 352 of file gmlparse.c.
#define YVAL 265 |
Definition at line 353 of file gmlparse.c.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 519 of file gmlparse.c.
Definition at line 578 of file gmlparse.c.
#define YY_ATTRIBUTE_PURE |
Definition at line 527 of file gmlparse.c.
#define YY_ATTRIBUTE_UNUSED |
Definition at line 535 of file gmlparse.c.
#define YY_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 262 of file gmlparse.c.
#define YY_GML_GMLPARSE_H_INCLUDED |
Definition at line 289 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 558 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 559 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 573 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_END |
Definition at line 574 of file gmlparse.c.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 555 of file gmlparse.c.
#define YY_NULLPTR ((void*)0) |
Definition at line 274 of file gmlparse.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1129 of file gmlparse.c.
#define YY_REINTERPRET_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 263 of file gmlparse.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 1128 of file gmlparse.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 1127 of file gmlparse.c.
#define YYABORT goto yyabortlab |
Definition at line 972 of file gmlparse.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 971 of file gmlparse.c.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYBISON 1 |
Definition at line 48 of file gmlparse.c.
#define YYBISON_VERSION "3.5.1" |
Definition at line 51 of file gmlparse.c.
#define yychar gmlchar |
Definition at line 74 of file gmlparse.c.
Definition at line 967 of file gmlparse.c.
#define YYCOPY_NEEDED 1 |
Definition at line 668 of file gmlparse.c.
#define yydebug gmldebug |
Definition at line 71 of file gmlparse.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 1126 of file gmlparse.c.
#define YYEMPTY (-2) |
Definition at line 968 of file gmlparse.c.
#define YYEOF 0 |
Definition at line 969 of file gmlparse.c.
#define YYERRCODE 256 |
Definition at line 997 of file gmlparse.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 966 of file gmlparse.c.
#define yyerror gmlerror |
Definition at line 70 of file gmlparse.c.
#define YYERROR goto yyerrorlab |
Definition at line 973 of file gmlparse.c.
#define YYERROR_VERBOSE 0 |
Definition at line 283 of file gmlparse.c.
#define YYFINAL 55 |
Definition at line 709 of file gmlparse.c.
#define YYFREE free |
Definition at line 639 of file gmlparse.c.
#define YYINITDEPTH 200 |
Definition at line 1135 of file gmlparse.c.
#define YYLAST 226 |
Definition at line 711 of file gmlparse.c.
int yylex gmllex |
Definition at line 69 of file gmlparse.c.
#define yylval gmllval |
Definition at line 73 of file gmlparse.c.
#define YYMALLOC malloc |
Definition at line 633 of file gmlparse.c.
#define YYMAXDEPTH 10000 |
Definition at line 1146 of file gmlparse.c.
#define YYMAXUTOK 289 |
Definition at line 723 of file gmlparse.c.
#define yynerrs gmlnerrs |
Definition at line 72 of file gmlparse.c.
#define YYNNTS 20 |
Definition at line 716 of file gmlparse.c.
#define YYNRULES 63 |
Definition at line 718 of file gmlparse.c.
#define YYNSTATES 102 |
Definition at line 720 of file gmlparse.c.
#define YYNTOKENS 37 |
Definition at line 714 of file gmlparse.c.
#define YYPACT_NINF (-29) |
Definition at line 808 of file gmlparse.c.
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 810 of file gmlparse.c.
int yyparse | ( | void | ) | gmlparse |
Definition at line 1416 of file gmlparse.c.
#define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 480 of file gmlparse.c.
#define YYPTRDIFF_T long |
Definition at line 479 of file gmlparse.c.
#define YYPULL 1 |
Definition at line 63 of file gmlparse.c.
#define YYPURE 0 |
Definition at line 57 of file gmlparse.c.
#define YYPUSH 0 |
Definition at line 60 of file gmlparse.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 976 of file gmlparse.c.
#define YYSIZE_MAXIMUM |
Definition at line 497 of file gmlparse.c.
#define YYSIZE_T unsigned |
Definition at line 493 of file gmlparse.c.
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 503 of file gmlparse.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 54 of file gmlparse.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 619 of file gmlparse.c.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 622 of file gmlparse.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 664 of file gmlparse.c.
#define YYSTACK_FREE YYFREE |
Definition at line 620 of file gmlparse.c.
Definition at line 660 of file gmlparse.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 675 of file gmlparse.c.
#define YYSTYPE GMLSTYPE |
Definition at line 66 of file gmlparse.c.
#define YYTABLE_NINF (-35) |
Definition at line 813 of file gmlparse.c.
#define yytable_value_is_error | ( | Yyn | ) | 0 |
Definition at line 815 of file gmlparse.c.
#define YYTERROR 1 |
Definition at line 996 of file gmlparse.c.
#define YYTRANSLATE | ( | YYX | ) | (0 <= (YYX) && (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 728 of file gmlparse.c.
#define YYUNDEFTOK 2 |
Definition at line 722 of file gmlparse.c.
Definition at line 541 of file gmlparse.c.
Definition at line 395 of file gmlparse.c.
typedef int yy_state_fast_t |
Definition at line 509 of file gmlparse.c.
typedef yytype_int8 yy_state_t |
Definition at line 506 of file gmlparse.c.
typedef short yytype_int16 |
Definition at line 443 of file gmlparse.c.
typedef signed char yytype_int8 |
Definition at line 435 of file gmlparse.c.
typedef unsigned short yytype_uint16 |
Definition at line 463 of file gmlparse.c.
typedef unsigned char yytype_uint8 |
Definition at line 452 of file gmlparse.c.
enum gmltokentype |
Definition at line 309 of file gmlparse.c.
Definition at line 2473 of file gmlparse.c.
References addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), AGEDGE, AGNODE, AGTYPE, GRAPHICS, LABELGRAPHICS, gmlattr::lp, gmlattr::sort, gmlattr::u, and unknown.
Referenced by mkGraph().
Definition at line 2436 of file gmlparse.c.
References addEdgePos(), agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, LINE, gmlattr::lp, NULL, gmlattr::sort, STYLE, gmlattr::u, gmlattr::value, and WIDTH.
Referenced by addAttrs().
|
static |
Definition at line 2285 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, gmlattr::sort, TEXT, gmlattr::u, gmlattr::value, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 2399 of file gmlparse.c.
References agxblen(), agxbprint(), agxbputc(), NULL, gmlattr::sort, gmlattr::u, unknown, gmlattr::value, XVAL, and YVAL.
Referenced by addEdgePos().
Definition at line 2421 of file gmlparse.c.
References addEdgePoint(), agsafeset(), agxbuse(), gmlattr::lp, POINT, gmlattr::sort, gmlattr::u, and unknown.
Referenced by addEdgeGraphics().
Definition at line 2336 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, HVAL, NULL, OUTLINE, OUTLINESTYLE, OUTLINEWIDTH, gmlattr::sort, STYLE, TYPE, gmlattr::u, gmlattr::value, WIDTH, WVAL, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 2246 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, gmlattr::sort, TEXT, gmlattr::u, and gmlattr::value.
Referenced by addAttrs().
|
static |
Definition at line 129 of file gmlparse.c.
References E, free_attrs(), free_edge(), free_graph(), free_node(), G, L, liststk, N, and NULL.
Referenced by gml_to_gv(), gml_to_gv(), gvpr_core(), traverse(), and yyparse().
Definition at line 2206 of file gmlparse.c.
References agxbprint(), deparseList(), gmlattr::kind, LIST, gmlattr::lp, gmlattr::name, STRING, gmlattr::u, and gmlattr::value.
Referenced by addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), and deparseList().
|
static |
Definition at line 2220 of file gmlparse.c.
References agxbput(), agxbputc(), deparseAttr(), and NULL.
Referenced by deparseAttr(), and unknown().
void free | ( | void * | ) |
Referenced by _wrap_digraph_gv_f72e3b2553238da4(), _wrap_edge__SWIG_1_gv_f72e3b2553238da4(), _wrap_edge__SWIG_2_gv_f72e3b2553238da4(), _wrap_edge__SWIG_3_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_0_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_1_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_2_gv_f72e3b2553238da4(), _wrap_findnode_gv_f72e3b2553238da4(), _wrap_findsubg_gv_f72e3b2553238da4(), _wrap_getv__SWIG_0_gv_f72e3b2553238da4(), _wrap_getv__SWIG_1_gv_f72e3b2553238da4(), _wrap_getv__SWIG_2_gv_f72e3b2553238da4(), _wrap_graph__SWIG_0_gv_f72e3b2553238da4(), _wrap_graph__SWIG_1_gv_f72e3b2553238da4(), _wrap_layout_gv_f72e3b2553238da4(), _wrap_node_gv_f72e3b2553238da4(), _wrap_read__SWIG_0_gv_f72e3b2553238da4(), _wrap_readstring_gv_f72e3b2553238da4(), _wrap_render__SWIG_1_gv_f72e3b2553238da4(), _wrap_render__SWIG_2_gv_f72e3b2553238da4(), _wrap_render__SWIG_3_gv_f72e3b2553238da4(), _wrap_renderchannel_gv_f72e3b2553238da4(), _wrap_renderdata_gv_f72e3b2553238da4(), _wrap_renderresult_gv_f72e3b2553238da4(), _wrap_setv__SWIG_0_gv_f72e3b2553238da4(), _wrap_setv__SWIG_1_gv_f72e3b2553238da4(), _wrap_setv__SWIG_2_gv_f72e3b2553238da4(), _wrap_setv__SWIG_3_gv_f72e3b2553238da4(), _wrap_setv__SWIG_4_gv_f72e3b2553238da4(), _wrap_setv__SWIG_5_gv_f72e3b2553238da4(), _wrap_strictdigraph_gv_f72e3b2553238da4(), _wrap_strictgraph_gv_f72e3b2553238da4(), _wrap_write__SWIG_0_gv_f72e3b2553238da4(), addChan(), addPS(), addXLabels(), adjustGrid(), after_write(), agclose(), agdeledge(), agdelnode(), agdelrec(), aginternalmapdelete(), aglasterr(), agpopdisc(), agrecclose(), agxbfree(), agxbput_move(), allocate_ranks(), arrayRects(), attach_edge_label_coordinates(), attached_clustering(), attachOrthoEdges(), bitarray_reset(), breakPoly(), buildBindings(), bundle(), cAdjust(), call_tri(), call_tri2(), cg(), circo_cleanup(), circo_layout(), circoLayout(), circuitModel(), class2(), cleanup1(), cleanup2(), cleanup_graphs(), cleanup_subgs(), clearGrid(), cloneGraph(), closeDerivedGraph(), closeGPRState(), closeIngraph(), coarsen_match(), color(), color_blend_rgb2lab(), colorxlate(), compute_apsp_artificial_weights_packed(), compute_apsp_packed(), compute_new_weights(), compute_weighted_apsp_packed(), computeScaleXY(), concat(), conjugate_gradient(), conjugate_gradient(), conjugate_gradient_f(), conjugate_gradient_mkernel(), conn_comp(), construct_graph(), cvtAndAppend(), delete_items(), delGrid(), diagonals_draw(), dijkstra(), dijkstra_f(), dijkstra_sgd(), doDot(), dot_cleanup_graph(), dot_splines_(), dotneato_args_initialize(), dotnew_internal(), dtclose(), dthash(), dtmethod(), dtstat(), dttree(), edge_distinct_coloring(), ELcleanup(), embed_graph(), EmbedText(), emit_background(), emit_begin_edge(), emit_clusters(), emit_colors(), emit_edge_graphics(), emit_end_node(), emit_html_cell(), emit_html_label(), emit_html_tbl(), emit_map_rect(), emit_page(), emit_xdot(), epsf_free(), eval(), evaldyn(), exerror(), expandCluster(), exwarn(), fdp_cleanup_graph(), feasible_tree(), fillRanks(), find_closest_pairs(), find_ints(), find_ints(), find_me(), find_pair_edges(), find_share(), find_tight_subtree(), fixLabelOrder(), fmtquote(), free_3array(), free_adjacency(), free_array(), free_attr(), free_attrs(), free_case_info(), free_edge(), free_field(), free_graph(), free_graph(), free_hi(), free_html_cell(), free_html_data(), free_html_img(), free_html_label(), free_html_tbl(), free_html_text(), free_iditem(), free_label(), free_matrix(), free_node(), free_ritem(), free_scan_graph(), free_stroke(), free_subnode(), free_swig_member_function(), free_textspan(), free_ti(), free_virtual_edge_list(), free_virtual_node_list(), freeattr(), freeBlock(), freeBlock(), freeBlocks(), freeChanItem(), freeChannel(), freeCompileProg(), freeDerivedGraph(), freeDeriveNode(), freef(), freeGData(), freeGraph(), freeGraphData(), freeHeap(), freeHeap(), freeinit(), freeList(), freeMaze(), freeNodes(), freeOpts(), freeParseProg(), freePath(), freeQueue(), freeRouter(), freeSeg(), freeSGraph(), freesym(), freeTree(), freeTree(), freeTreeGen(), freeTriGraph(), freeTripoly(), freeUsershape(), freeXDot(), freeXDotColor(), freeXOpData(), gdgen_text(), gen(), genPoly(), genroute(), get_data_dir(), get_mq(), get_pango_layout(), get_poly_lines(), get_polygon_solids(), get_polygons(), get_tri(), glCompDeleteTexture(), glCompImageDelete(), glCompSetAddNewTexLabel(), glCompSetAddNewTexture(), glcreate_gl_topview_menu(), glDeleteFont(), graph_cleanup(), graphviz_tred(), gv_cleanup_edge(), gv_cleanup_node(), gv_find_me(), gv_fixLocale(), gv_flist_free_af(), gv_free_splines(), gv_realloc(), gvconfig(), gvevent_enter_obj(), gvevent_select_current_obj(), gvFreeCloneGVC(), gvFreeContext(), gvFreeRenderData(), gvjobs_delete(), gvplugin_graph(), gvplugin_library_load(), gvpr_select(), gvrender_beziercurve(), gvrender_polygon(), gvrender_polyline(), gwrite(), gwrite(), hierachical_modularity_clustering(), hierachical_mq_clustering(), ideal_distance_matrix(), Import_coord_clusters_from_dot(), init_job_viewport(), init_layering(), init_viewport(), initObjMapData(), insertPS(), IntDest(), interpolate_coord(), iterativePCA_1D(), kitty_write(), lab_gamut_quadtree(), layout(), layout(), layoutTree(), load_mouse_actions(), lu_decompose(), main(), main(), majorization(), make_coarse_ex_graph(), make_coarse_graph(), make_flat_bottom_edges(), make_flat_edge(), make_flat_labeled_edge(), make_html_label(), make_label(), make_leafslots(), make_map_from_rectangle_groups(), make_map_internal(), make_regular_edge(), makeCompoundEdge(), makeDotGraph(), makeGraphData(), makeHier(), makeInfo(), makeMap(), makeMatrix(), makeMultiSpline(), makeSelfArcs(), makeSierpinski(), makeSimpleFlatLabels(), makeSpline(), makeStraightEdge(), makeTetrix(), makeXDotSpline(), map_label(), map_optimal_coloring(), map_output_bspline(), map_palette_optimal_coloring(), map_point(), mapFromGraph(), matinv(), maximal_independent_edge_set_heavest_edge_pernode_supernodes_first(), maxmatch(), mkBlock(), mkMaze(), mkMazeGraph(), mkPoly(), mkRouter(), monotonate_trapezoids(), move_node(), multicolor(), Multilevel_coarsen_internal(), Multilevel_delete(), Multilevel_Modularity_Clustering_delete(), Multilevel_Modularity_Clustering_establish(), Multilevel_Modularity_Clustering_init(), Multilevel_MQ_Clustering_delete(), Multilevel_MQ_Clustering_establish(), multilevel_spring_electrical_embedding(), myagxset(), neato_cleanup_graph(), neato_layout(), new_ing(), node_data_delete(), node_distinct_coloring(), node_distinct_coloring_internal2(), node_set_add(), node_set_free(), nodes_delete(), object_color(), on_gvprbuttonsave_clicked(), orthoEdges(), out(), packGraphs(), packRects(), pango_textlayout(), parse_error(), parse_layerselect(), parsePolyline(), parseProg(), parseXDotFOn(), partition(), patchwork_cleanup(), patchwork_cleanup_graph(), PCA_alloc(), Plegal_arrangement(), Plegal_arrangement(), Pobsclose(), Pobsopen(), Pobspath(), poly_free(), poly_gencode(), polyFree(), polyGraphs(), polyRects(), pop(), pop(), pop_obj_state(), position(), positionAllItems(), pov_bezier(), pov_ellipse(), pov_polygon(), pov_polyline(), pov_textspan(), power_iteration(), power_law_graph(), power_method(), PQcleanup(), PQfree(), prepare_topological_fisheye(), prformat(), print(), printSorted(), ps_freeimage(), ps_image_free(), ps_string(), Pshortestpath(), Ptriangulate(), putGraphs(), QuadTree_delete(), QuadTree_new_from_point_list(), RBDelete(), RBTreeCreate(), RBTreeDestroy(), readln(), readout_levels(), record_gencode(), record_init(), remove_aux_edges(), remove_poly(), remove_rankleaders(), removeOverlapWith(), rescale_layout_polar(), rescale_layout_polarFocus(), reset_lists(), resetCoord(), resolve(), restore_old_weights(), round_corners(), rounded_draw(), routesplines_(), RTreeClose(), RTreeClose2(), RTreeLeafListFree(), safefile(), scAdjust(), scan(), selectedLayer(), set_active_levels(), setAbsolutePos(), setDir(), setval(), sfdp_layout(), sfdpLayout(), sgd(), shortest_path(), shortestPath(), shorting_edge_label_nodes(), simpleSplineRoute(), size_html_txt(), solve(), sparse_stress_subspace_majorization_kD(), SparseMatrix_add(), SparseMatrix_decompose_to_supervariables(), SparseMatrix_delete(), SparseMatrix_distance_matrix(), SparseMatrix_get_augmented(), SparseMatrix_get_submatrix(), SparseMatrix_import_dot(), SparseMatrix_import_matrix_market(), SparseMatrix_is_symmetric(), SparseMatrix_multiply(), SparseMatrix_multiply3(), SparseMatrix_set_entries_to_real_one(), SparseMatrix_solve(), SparseMatrix_sum_repeat_entries(), SparseMatrix_weakly_connected_components(), spline_edges_(), splines_intersect(), splitBSpline(), spring_electrical_control_delete(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), SpringSmoother_new(), stoj(), strdict_add(), strdict_free(), strdict_remove(), stress_majorization_kD_mkernel(), StressMajorizationSmoother2_new(), StressMajorizationSmoother_delete(), StressMajorizationSmoother_smooth(), subset_model(), svg_begin_edge(), svg_size(), Swig_free(), SWIG_Ruby_define_class(), SWIG_Ruby_NewPointerObj(), SWIG_Tcl_ObjectDelete(), swig_varlink_dealloc(), SwigPyClientData_Del(), SwigPyClientData_New(), SwigPyPacked_dealloc(), taper(), TB_balance(), tcldot_argv_free(), Tcldot_Init(), textfont_freef(), translate_postscript_fontname(), TreeDestHelper(), TriangleSmoother_new(), triPath(), twopi_cleanup_graph(), twopi_layout(), undoClusterEdges(), update_tree(), user_init(), user_spline(), usershape_close(), vc_refresh(), vector_ordering(), vgpanecmd(), vmclear(), vmclose(), vmfree(), write_edges(), xdot_end_graph(), xlfree(), and xlhdxunload().
void free_attr | ( | gmlattr * | p | ) |
Definition at line 2193 of file gmlparse.c.
|
static |
Definition at line 95 of file gmlparse.c.
References free().
Referenced by cleanup(), free_attr(), and mkAttr().
void free_edge | ( | gmledge * | p | ) |
Definition at line 112 of file gmlparse.c.
References gmledge::attrlist, and free().
Referenced by cleanup().
void free_graph | ( | gmlgraph * | p | ) |
Definition at line 118 of file gmlparse.c.
References gmlgraph::attrlist, gmlgraph::edgelist, free(), gmlgraph::graphlist, and gmlgraph::nodelist.
Referenced by cleanup(), and freeChannel().
void free_node | ( | gmlnode * | p | ) |
Definition at line 105 of file gmlparse.c.
References free().
Referenced by cleanup().
Agraph_t * gml_to_gv | ( | char * | name, |
FILE * | fp, | ||
int | cnt, | ||
int * | errors | ||
) |
Definition at line 2551 of file gmlparse.c.
int gmlparse | ( | void | ) |
void * malloc | ( | YYSIZE_T | ) |
Referenced by _swig_create_magic(), _wrap_digraph_gv_f72e3b2553238da4(), _wrap_edge__SWIG_1_gv_f72e3b2553238da4(), _wrap_edge__SWIG_2_gv_f72e3b2553238da4(), _wrap_edge__SWIG_3_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_0_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_1_gv_f72e3b2553238da4(), _wrap_findattr__SWIG_2_gv_f72e3b2553238da4(), _wrap_findnode_gv_f72e3b2553238da4(), _wrap_findsubg_gv_f72e3b2553238da4(), _wrap_getv__SWIG_0_gv_f72e3b2553238da4(), _wrap_getv__SWIG_1_gv_f72e3b2553238da4(), _wrap_getv__SWIG_2_gv_f72e3b2553238da4(), _wrap_graph__SWIG_0_gv_f72e3b2553238da4(), _wrap_graph__SWIG_1_gv_f72e3b2553238da4(), _wrap_layout_gv_f72e3b2553238da4(), _wrap_node_gv_f72e3b2553238da4(), _wrap_read__SWIG_0_gv_f72e3b2553238da4(), _wrap_readstring_gv_f72e3b2553238da4(), _wrap_render__SWIG_1_gv_f72e3b2553238da4(), _wrap_render__SWIG_2_gv_f72e3b2553238da4(), _wrap_render__SWIG_3_gv_f72e3b2553238da4(), _wrap_renderchannel_gv_f72e3b2553238da4(), _wrap_renderdata_gv_f72e3b2553238da4(), _wrap_renderresult_gv_f72e3b2553238da4(), _wrap_setv__SWIG_0_gv_f72e3b2553238da4(), _wrap_setv__SWIG_1_gv_f72e3b2553238da4(), _wrap_setv__SWIG_2_gv_f72e3b2553238da4(), _wrap_setv__SWIG_3_gv_f72e3b2553238da4(), _wrap_setv__SWIG_4_gv_f72e3b2553238da4(), _wrap_setv__SWIG_5_gv_f72e3b2553238da4(), _wrap_strictdigraph_gv_f72e3b2553238da4(), _wrap_strictgraph_gv_f72e3b2553238da4(), _wrap_write__SWIG_0_gv_f72e3b2553238da4(), agstrdup_internal(), core_loadimage_ps(), dthash(), dtopen(), dtstat(), dttree(), gvRenderData(), main(), make_msg(), new_ing(), out(), Pobsopen(), prformat(), RBTreeCreate(), RBTreeInsert(), Swig_AllocateString(), SWIG_Guile_NewMemberObj(), Swig_malloc(), SWIG_Python_addvarlink(), SWIG_Python_FixMethods(), SWIG_Ruby_define_class(), SWIG_Ruby_NewPointerObj(), SWIG_Tcl_NewInstanceObj(), SWIG_Tcl_ObjectConstructor(), SwigPyClientData_New(), SwigPyPacked_New(), and vmalloc().
|
static |
Definition at line 208 of file gmlparse.c.
References free_attrs(), gv_alloc(), gv_strdup(), gmlattr::kind, gmlattr::lp, gmlattr::name, NULL, gmlattr::sort, sortToStr(), str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 200 of file gmlparse.c.
References gv_alloc(), NULL, gmledge::source, and gmledge::target.
|
static |
Definition at line 2497 of file gmlparse.c.
References addAttrs(), Agdirected, agedge(), agnode(), agopen(), agsubg(), Agundirected, gmlnode::attrlist, gmledge::attrlist, graph(), graphviz_exit(), gmlnode::id, L, mkGraph(), NULL, parent, gmledge::source, and gmledge::target.
Referenced by gml_to_gv(), and mkGraph().
|
static |
Definition at line 194 of file gmlparse.c.
References gv_alloc().
|
static |
Definition at line 161 of file gmlparse.c.
|
static |
Definition at line 173 of file gmlparse.c.
References G, and gmlgraph::parent.
|
static |
Definition at line 151 of file gmlparse.c.
References gv_alloc(), L, and liststk.
Referenced by gml_to_gv(), and gml_to_gv().
|
static |
Definition at line 179 of file gmlparse.c.
References gmlgraph::directed, G, gmlgraph::graphlist, gv_alloc(), and gmlgraph::parent.
|
static |
Definition at line 231 of file gmlparse.c.
References gmlgraph::directed, free(), G, and gmlgraph::parent.
|
static |
Definition at line 2582 of file gmlparse.c.
References COLOR, DIRECTED, EDGE, FILL, FONTNAME, FONTSIZE, GRAPH, GRAPHICS, HVAL, ID, INTEGER, LABEL, LABELGRAPHICS, LINE, LIST, NAME, NODE, NULL, OUTLINE, OUTLINESTYLE, OUTLINEWIDTH, POINT, REAL, SOURCE, STRING, STYLE, TARGET, TEXT, TYPE, WIDTH, WVAL, XVAL, and YVAL.
Referenced by mkAttr().
Definition at line 2232 of file gmlparse.c.
References agsafeset(), agxbuse(), deparseList(), gmlattr::kind, LIST, gmlattr::lp, gmlattr::name, str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 1387 of file gmlparse.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YYUSE.
|
static |
Definition at line 91 of file gmlparse.c.
Referenced by cleanup().
|
static |
Definition at line 89 of file gmlparse.c.
Referenced by cleanup(), gml_to_gv(), popG(), pushG(), and setDir().
|
static |
Definition at line 93 of file gmlparse.c.
Referenced by _wrap_digraph(), _wrap_edge(), _wrap_edge__SWIG_0(), _wrap_edge__SWIG_1(), _wrap_edge__SWIG_2(), _wrap_edge__SWIG_3(), _wrap_findattr(), _wrap_findattr__SWIG_0(), _wrap_findattr__SWIG_1(), _wrap_findattr__SWIG_2(), _wrap_findedge(), _wrap_findnode(), _wrap_findsubg(), _wrap_firstattr(), _wrap_firstattr__SWIG_0(), _wrap_firstattr__SWIG_1(), _wrap_firstattr__SWIG_2(), _wrap_firstedge(), _wrap_firstedge__SWIG_0(), _wrap_firstedge__SWIG_1(), _wrap_firsthead(), _wrap_firstin(), _wrap_firstin__SWIG_0(), _wrap_firstin__SWIG_1(), _wrap_firstnode(), _wrap_firstnode__SWIG_0(), _wrap_firstnode__SWIG_1(), _wrap_firstout(), _wrap_firstout__SWIG_0(), _wrap_firstout__SWIG_1(), _wrap_firstsubg(), _wrap_firstsupg(), _wrap_firsttail(), _wrap_getv(), _wrap_getv__SWIG_0(), _wrap_getv__SWIG_1(), _wrap_getv__SWIG_2(), _wrap_getv__SWIG_3(), _wrap_getv__SWIG_4(), _wrap_getv__SWIG_5(), _wrap_graph(), _wrap_graph__SWIG_0(), _wrap_graph__SWIG_1(), _wrap_graphof(), _wrap_graphof__SWIG_0(), _wrap_graphof__SWIG_1(), _wrap_graphof__SWIG_2(), _wrap_headof(), _wrap_layout(), _wrap_nameof(), _wrap_nameof__SWIG_0(), _wrap_nameof__SWIG_1(), _wrap_nameof__SWIG_2(), _wrap_nextattr(), _wrap_nextattr__SWIG_0(), _wrap_nextattr__SWIG_1(), _wrap_nextattr__SWIG_2(), _wrap_nextedge(), _wrap_nextedge__SWIG_0(), _wrap_nextedge__SWIG_1(), _wrap_nexthead(), _wrap_nextin(), _wrap_nextin__SWIG_0(), _wrap_nextin__SWIG_1(), _wrap_nextnode(), _wrap_nextnode__SWIG_0(), _wrap_nextnode__SWIG_1(), _wrap_nextout(), _wrap_nextout__SWIG_0(), _wrap_nextout__SWIG_1(), _wrap_nextsubg(), _wrap_nextsupg(), _wrap_nexttail(), _wrap_node(), _wrap_ok(), _wrap_ok__SWIG_0(), _wrap_ok__SWIG_1(), _wrap_ok__SWIG_2(), _wrap_ok__SWIG_3(), _wrap_protoedge(), _wrap_protonode(), _wrap_read(), _wrap_read__SWIG_0(), _wrap_read__SWIG_1(), _wrap_readstring(), _wrap_render(), _wrap_render__SWIG_0(), _wrap_render__SWIG_1(), _wrap_render__SWIG_2(), _wrap_render__SWIG_3(), _wrap_renderchannel(), _wrap_renderdata(), _wrap_renderresult(), _wrap_rm(), _wrap_rm__SWIG_0(), _wrap_rm__SWIG_1(), _wrap_rm__SWIG_2(), _wrap_rootof(), _wrap_setv(), _wrap_setv__SWIG_0(), _wrap_setv__SWIG_1(), _wrap_setv__SWIG_2(), _wrap_setv__SWIG_3(), _wrap_setv__SWIG_4(), _wrap_setv__SWIG_5(), _wrap_strictdigraph(), _wrap_strictgraph(), _wrap_tailof(), _wrap_tred(), _wrap_write(), _wrap_write__SWIG_0(), _wrap_write__SWIG_1(), cleanup(), country_graph_coloring(), gml_to_gv(), gml_to_gv(), gvdevice_initialize(), lua_tolstring(), mkGraph(), mkGraph(), popAlist(), pushAlist(), renewlist(), RGB2LAB(), safe_list_append(), SWIG_init(), SWIG_init_user(), SWIG_Lua_add_class_instance_details(), SWIG_Lua_add_class_static_details(), SWIG_Lua_add_class_user_metamethod(), SWIG_Lua_add_class_user_metamethods(), SWIG_Lua_add_namespace_classes(), SWIG_Lua_add_namespace_details(), SWIG_Lua_add_variable(), SWIG_Lua_AddMetatable(), SWIG_Lua_class_destruct(), SWIG_Lua_class_disown(), SWIG_Lua_class_do_get(), SWIG_Lua_class_do_get_item(), SWIG_Lua_class_do_set(), SWIG_Lua_class_equal(), SWIG_Lua_class_get(), SWIG_Lua_class_register(), SWIG_Lua_class_register_instance(), SWIG_Lua_class_register_static(), SWIG_Lua_class_set(), SWIG_Lua_class_tostring(), SWIG_Lua_ConvertPacked(), SWIG_Lua_ConvertPtr(), SWIG_Lua_create_class_registry(), SWIG_Lua_do_resolve_metamethod(), SWIG_Lua_dostring(), SWIG_Lua_elua_class_register_instance(), SWIG_Lua_get_class_metatable(), SWIG_Lua_get_class_registry(), SWIG_Lua_get_inheritable_metamethods(), SWIG_Lua_GetModule(), SWIG_lua_isnilstring(), SWIG_Lua_iterate_bases(), SWIG_Lua_MustGetPtr(), SWIG_Lua_namespace_get(), SWIG_Lua_namespace_register(), SWIG_Lua_namespace_set(), SWIG_Lua_NewPackedObj(), SWIG_Lua_NewPointerObj(), SWIG_Lua_populate_inheritable_metamethods(), SWIG_Lua_pusherrstring(), SWIG_Lua_pushferrstring(), SWIG_Lua_resolve_metamethod(), SWIG_Lua_set_immutable(), SWIG_Lua_SetModule(), SWIG_Lua_type(), SWIG_Lua_typename(), treeDup(), and zapinlist().
|
static |
Definition at line 101 of file gmlparse.c.
Referenced by cleanup(), popAlist(), and pushAlist().
|
static |
Definition at line 90 of file gmlparse.c.
Referenced by cleanup().
int yychar |
Definition at line 1403 of file gmlparse.c.
|
static |
Definition at line 897 of file gmlparse.c.
|
static |
Definition at line 838 of file gmlparse.c.
|
static |
Definition at line 861 of file gmlparse.c.
YYSTYPE yylval |
Definition at line 1406 of file gmlparse.c.
int yynerrs |
Definition at line 1408 of file gmlparse.c.
|
static |
Definition at line 820 of file gmlparse.c.
|
static |
Definition at line 854 of file gmlparse.c.
|
static |
Definition at line 942 of file gmlparse.c.
|
static |
Definition at line 954 of file gmlparse.c.
|
static |
Definition at line 926 of file gmlparse.c.
|
static |
Definition at line 870 of file gmlparse.c.
|
static |
Definition at line 733 of file gmlparse.c.