/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/graph/graph.h File Reference

#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include "cdt.h"

Include dependency graph for graph.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Agraph_t
struct  Agnode_t
struct  Agedge_t
struct  Agdata_t
struct  Agsym_t
struct  Agdict_t
struct  Agproto_t

Defines

#define _GRAPH_H   1
#define TAIL_ID   "tailport"
#define HEAD_ID   "headport"
#define AGFLAG_DIRECTED   (1<<0)
#define AGFLAG_STRICT   (1<<1)
#define AGFLAG_METAGRAPH   (1<<2)
#define AGRAPH   0
#define AGRAPHSTRICT   (AGRAPH | AGFLAG_STRICT)
#define AGDIGRAPH   AGFLAG_DIRECTED
#define AGDIGRAPHSTRICT   (AGDIGRAPH | AGFLAG_STRICT)
#define AGMETAGRAPH   (AGFLAG_DIRECTED | AGFLAG_STRICT | AGFLAG_METAGRAPH)
#define AG_IS_DIRECTED(g)   ((g)->kind & AGFLAG_DIRECTED)
#define AG_IS_STRICT(g)   ((g)->kind & AGFLAG_STRICT)
#define AG_IS_METAGRAPH(g)   ((g)->kind & AGFLAG_METAGRAPH)
#define aginit()   aginitlib(sizeof(Agraph_t),sizeof(Agnode_t),sizeof(Agedge_t))
#define agobjkind(p)   ((agobjkind_t)(((Agraph_t*)(p))->tag))
#define agmetanode(g)   ((g)->meta_node)

Typedefs

typedef Agraph_t Agraph_t
typedef Agnode_t Agnode_t
typedef Agedge_t Agedge_t
typedef Agdict_t Agdict_t
typedef Agsym_t Agsym_t
typedef Agdata_t Agdata_t
typedef Agproto_t Agproto_t
typedef char *(*) gets_f (char *ubuf, int n, FILE *fp)

Enumerations

enum  agerrlevel_t { AGWARN, AGERR, AGMAX, AGPREV }
enum  agobjkind_t { AGNODE = 1, AGEDGE, AGGRAPH }

Functions

char * agstrcanon (char *, char *)
char * agcanonical (char *)
int aghtmlstr (char *s)
char * agget (void *, char *)
char * agxget (void *, int)
int agset (void *, char *, char *)
int agsafeset (void *, char *, char *, char *)
int agxset (void *, int, char *)
int agindex (void *, char *)
void aginitlib (int, int, int)
Agraph_tagopen (char *, int)
Agraph_tagsubg (Agraph_t *, char *)
Agraph_tagfindsubg (Agraph_t *, char *)
void agclose (Agraph_t *)
Agraph_tagread (FILE *)
Agraph_tagread_usergets (FILE *, gets_f)
void agreadline (int)
void agsetfile (char *)
Agraph_tagmemread (char *)
int agwrite (Agraph_t *, FILE *)
int agerrors (void)
Agraph_tagprotograph (void)
Agraph_tagusergraph (Agnode_t *)
int agnnodes (Agraph_t *)
int agnedges (Agraph_t *)
void aginsert (Agraph_t *, void *)
void agdelete (Agraph_t *, void *)
int agcontains (Agraph_t *, void *)
Agnode_tagnode (Agraph_t *, char *)
Agsym_tagnodeattr (Agraph_t *, char *, char *)
Agnode_tagfindnode (Agraph_t *, char *)
Agnode_tagfstnode (Agraph_t *)
Agnode_tagnxtnode (Agraph_t *, Agnode_t *)
Agnode_taglstnode (Agraph_t *)
Agnode_tagprvnode (Agraph_t *, Agnode_t *)
Agedge_tagedge (Agraph_t *, Agnode_t *, Agnode_t *)
Agsym_tagedgeattr (Agraph_t *, char *, char *)
Agedge_tagfindedge (Agraph_t *, Agnode_t *, Agnode_t *)
Agedge_tagfstedge (Agraph_t *, Agnode_t *)
Agedge_tagnxtedge (Agraph_t *, Agedge_t *, Agnode_t *)
Agedge_tagfstin (Agraph_t *, Agnode_t *)
Agedge_tagnxtin (Agraph_t *, Agedge_t *)
Agedge_tagfstout (Agraph_t *, Agnode_t *)
Agedge_tagnxtout (Agraph_t *, Agedge_t *)
Agsym_tagraphattr (Agraph_t *, char *, char *)
Agsym_tagfindattr (void *, char *)
int agcopyattr (void *, void *)
void agseterr (agerrlevel_t)
char * aglasterr (void)
int agerr (agerrlevel_t level, char *fmt,...)
void agerrorf (char *fmt,...)
void agwarningf (char *fmt,...)
char * agstrdup (char *)
void agstrfree (char *)

Variables

agerrlevel_t agerrno


Define Documentation

#define _GRAPH_H   1

Definition at line 20 of file graph.h.

#define AG_IS_DIRECTED (  )     ((g)->kind & AGFLAG_DIRECTED)

Definition at line 58 of file graph.h.

Referenced by agedge(), agfindedge(), agwrite(), and arrow_flags().

#define AG_IS_METAGRAPH (  )     ((g)->kind & AGFLAG_METAGRAPH)

Definition at line 60 of file graph.h.

Referenced by agclose(), agDELedge(), agDELnode(), agFREEnode(), and agINSnode().

#define AG_IS_STRICT (  )     ((g)->kind & AGFLAG_STRICT)

Definition at line 59 of file graph.h.

Referenced by agedge(), and agwrite().

#define AGDIGRAPH   AGFLAG_DIRECTED

Definition at line 54 of file graph.h.

Referenced by agparse(), digraph(), and sizeArray().

#define AGDIGRAPHSTRICT   (AGDIGRAPH | AGFLAG_STRICT)

Definition at line 55 of file graph.h.

Referenced by agparse(), and strictdigraph().

#define AGFLAG_DIRECTED   (1<<0)

Definition at line 48 of file graph.h.

Referenced by agwredge(), and strdup_and_subst_obj().

#define AGFLAG_METAGRAPH   (1<<2)

Definition at line 50 of file graph.h.

#define AGFLAG_STRICT   (1<<1)

Definition at line 49 of file graph.h.

Referenced by circomps().

 
#define aginit (  )     aginitlib(sizeof(Agraph_t),sizeof(Agnode_t),sizeof(Agedge_t))

Definition at line 61 of file graph.h.

Referenced by dotneato_args_initialize(), and gvContext().

#define AGMETAGRAPH   (AGFLAG_DIRECTED | AGFLAG_STRICT | AGFLAG_METAGRAPH)

Definition at line 56 of file graph.h.

Referenced by agopen().

#define agmetanode (  )     ((g)->meta_node)

Definition at line 206 of file graph.h.

#define agobjkind (  )     ((agobjkind_t)(((Agraph_t*)(p))->tag))

Definition at line 204 of file graph.h.

Referenced by circomps(), make_html_label(), and strdup_and_subst_obj().

#define AGRAPH   0

Definition at line 52 of file graph.h.

Referenced by agparse(), and graph().

#define AGRAPHSTRICT   (AGRAPH | AGFLAG_STRICT)

Definition at line 53 of file graph.h.

Referenced by agparse(), and strictgraph().

#define HEAD_ID   "headport"

Definition at line 36 of file graph.h.

Referenced by common_init_edge().

#define TAIL_ID   "tailport"

Definition at line 35 of file graph.h.

Referenced by common_init_edge().


Typedef Documentation

typedef struct Agdata_t Agdata_t

Definition at line 43 of file graph.h.

typedef struct Agdict_t Agdict_t

Definition at line 41 of file graph.h.

typedef struct Agedge_t Agedge_t

Definition at line 40 of file graph.h.

typedef struct Agnode_t Agnode_t

Definition at line 39 of file graph.h.

typedef struct Agproto_t Agproto_t

Definition at line 44 of file graph.h.

typedef struct Agraph_t Agraph_t

Definition at line 38 of file graph.h.

typedef struct Agsym_t Agsym_t

Definition at line 42 of file graph.h.

typedef char*(*) gets_f(char *ubuf, int n, FILE *fp)

Definition at line 46 of file graph.h.


Enumeration Type Documentation

enum agerrlevel_t

Enumerator:
AGWARN 
AGERR 
AGMAX 
AGPREV 

Definition at line 192 of file graph.h.

enum agobjkind_t

Enumerator:
AGNODE 
AGEDGE 
AGGRAPH 

Definition at line 203 of file graph.h.


Function Documentation

char* agcanonical ( char *   ) 

Definition at line 195 of file graphio.c.

References agstrcanon().

Referenced by agwrite(), agwrnode(), and write_plain().

void agclose ( Agraph_t  ) 

Definition at line 343 of file graph.c.

References AG_IS_METAGRAPH, agclose(), agDELnode(), agfstin(), agfstnode(), agfstout(), agnxtin(), agnxtnode(), agnxtout(), agpopproto(), agstrfree(), agusergraph(), Agraph_t::attr, Agdict_t::dict, Agraph_t::didset, dtsize(), FALSE, free(), Agdata_t::globattr, Agnode_t::graph, Agedge_t::head, Agraph_t::meta_node, NULL, Agraph_t::proto, Agraph_t::root, TAG_GRAPH, TAG_OF, TRUE, and Agraph_t::univ.

Referenced by agclose(), agdelete(), agparse(), layout_block(), main(), processClusterEdges(), rm(), and undoClusterEdges().

int agcontains ( Agraph_t ,
void *   
)

Definition at line 398 of file graph.c.

References agidnode(), dtsearch, FALSE, NULL, TAG_EDGE, TAG_GRAPH, TAG_NODE, and TAG_OF.

Referenced by interclexp(), nodeInduce(), and twopi_layout().

int agcopyattr ( void *  ,
void *   
)

Definition at line 375 of file attribs.c.

References agdictof(), agfindattr(), agxget(), agxset(), Agsym_t::index, KEYX, Agdict_t::list, Agsym_t::name, TAG_EDGE, and TAG_OF.

void agdelete ( Agraph_t ,
void *   
)

Definition at line 426 of file graph.c.

References agclose(), agDELedge(), agDELnode(), TAG_EDGE, TAG_GRAPH, TAG_NODE, and TAG_OF.

Referenced by circoLayout(), circomps(), layout(), main(), neato_layout(), processClusterEdges(), rm(), scan_graph_mode(), twopi_layout(), and undoClusterEdges().

Agedge_t* agedge ( Agraph_t ,
Agnode_t ,
Agnode_t  
)

Definition at line 226 of file edge.c.

References AG_IS_DIRECTED, AG_IS_STRICT, agINSedge(), agNEWedge(), Agedge_t::attr, Agproto_t::e, head, Agedge_t::head, KEYX, MUSTPRINT, Agproto_t::n, NOPRINT, NULL, Agedge_t::printkey, Agraph_t::proto, SMALLBUF, and Agedge_t::tail.

Referenced by agINSgraph(), circomps(), edge(), main(), and makeGraphs().

Agsym_t* agedgeattr ( Agraph_t ,
char *  ,
char *   
)

Definition at line 206 of file attribs.c.

References AG, Agproto_t::e, NULL, Agraph_t::proto, AG_s::proto_g, and Agraph_t::root.

Referenced by agsafeset(), attach_attrs_and_arrows(), dotneato_args_initialize(), main(), and setv().

int agerr ( agerrlevel_t  level,
char *  fmt,
  ... 
)

Definition at line 541 of file lexer.c.

Referenced by agDELedge(), agerror(), aginitlib(), aglex(), agstrfree(), allow_edits(), build_ranks(), cat_libfile(), charsetToStr(), checkStart(), common_init_node(), do_graph_label(), epsf_init(), fdp_initParams(), find_intersection(), find_ints(), gvconfig(), gvLayout(), gvloadimage(), gvNextInputGraph(), gvplugin_library_load(), gvRender(), gvrender_set_style(), gvRenderData(), gvRenderFilename(), gvRenderJobs(), htmlEntityUTF8(), htmlerror(), htmllex(), init_nop(), initHTMLlexer(), initial_positions(), install_in_rank(), makePoly(), mark_clusters(), merge_oneway(), neato_layout(), parse_style(), ps_string(), push_obj_state(), routesplinesinit(), safefile(), setEdgeType(), solve_model(), spline_edges0(), stress_majorization_kD_mkernel(), twopi_layout(), and user_pos().

void agerrorf ( char *  fmt,
  ... 
)

Definition at line 549 of file lexer.c.

References AGERR.

Referenced by gvNEWcontext().

int agerrors ( void   ) 

Definition at line 90 of file graphio.c.

References AG, and AG_s::syntax_errors.

Referenced by gvFreeContext().

Agsym_t* agfindattr ( void *  ,
char *   
)

Definition at line 282 of file attribs.c.

References agdictof(), Agdict_t::dict, and dtmatch.

Referenced by agcopyattr(), agindex(), agsafeset(), do_graph_label(), dot_rank(), dot_sameports(), dotneato_args_initialize(), emit_graph(), fdp_init_graph(), fdp_init_node_edge(), fdp_initParams(), findattr(), getv(), graph_init(), init_info(), init_nop(), late_attr(), neato_init_graphn(), neato_init_node_edge(), safe_dcl(), and setv().

Agedge_t* agfindedge ( Agraph_t ,
Agnode_t ,
Agnode_t  
)

Definition at line 59 of file edge.c.

References AG_IS_DIRECTED, head, and NULL.

Referenced by class1(), class2(), diffeq_model(), findedge(), nexthead(), nextsubg(), nextsupg(), and nexttail().

Agnode_t* agfindnode ( Agraph_t ,
char *   
)

Definition at line 25 of file node.c.

References dtmatch, dtsearch, Agdata_t::node_dict, Agraph_t::nodes, Agraph_t::root, and Agraph_t::univ.

Referenced by agfindsubg(), agnode(), agsubg(), findnode(), main(), makeGraphs(), and twopi_layout().

Agraph_t* agfindsubg ( Agraph_t ,
char *   
)

Definition at line 322 of file graph.c.

References agfindnode(), agusergraph(), Agnode_t::graph, Agraph_t::meta_node, and NULL.

Referenced by agparse(), and findsubg().

Agedge_t* agfstedge ( Agraph_t ,
Agnode_t  
)

Definition at line 107 of file edge.c.

References agfstin(), agfstout(), and NULL.

Referenced by agDELnode(), circuit_model(), dot_sameports(), fdp_cleanup(), firstedge(), interclexp(), and s1().

Agedge_t* agfstin ( Agraph_t ,
Agnode_t  
)

Definition at line 172 of file edge.c.

References Agedge_t::attr, dtnext, Agedge_t::head, Agraph_t::inedges, NULL, and Agedge_t::tail.

Referenced by agclose(), agfstedge(), agINSnode(), agnxtedge(), agwrnode(), firstin(), firstsupg(), firsttail(), and nextin().

Agnode_t* agfstnode ( Agraph_t  ) 

Definition at line 91 of file node.c.

References dtfirst, and Agraph_t::nodes.

Referenced by agclose(), allocate_ranks(), attach_attrs_and_arrows(), build_skeleton(), cAdjust(), ccomps(), circleLayout(), circo_cleanup(), circo_layout(), circomps(), circuit_model(), circularLayout(), class1(), class2(), compoundEdges(), compute_bb(), createBlocktree(), decompose(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dot_sameports(), dot_scan_ranks(), dumpstat(), emit_clusters(), emit_graph(), expand_ranksets(), fdp_cleanup(), fdp_init_node_edge(), fdp_tLayout(), findCComp(), firstin(), firstnode(), firstout(), init_nop(), interclexp(), isConnected(), layout(), main(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_init_node_edge(), neato_set_aspect(), nodeInduce(), normalize(), pccomps(), processClusterEdges(), scAdjust(), scan_graph_mode(), shortest_path(), spline_edges(), splineEdges(), twopi_cleanup(), twopi_layout(), undoClusterEdges(), and write_plain().

Agedge_t* agfstout ( Agraph_t ,
Agnode_t  
)

Definition at line 147 of file edge.c.

References Agedge_t::attr, dtnext, Agedge_t::head, NULL, Agraph_t::outedges, and Agedge_t::tail.

Referenced by agclose(), agDELedge(), agDELnode(), agfstedge(), agwrnode(), allocate_ranks(), attach_attrs_and_arrows(), build_skeleton(), circo_cleanup(), circomps(), class1(), class2(), compoundEdges(), compute_bb(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dumpstat(), emit_clusters(), fdp_init_node_edge(), findCComp(), firsthead(), firstout(), firstsubg(), main(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_init_node_edge(), neato_layout(), nextout(), nodeInduce(), normalize(), processClusterEdges(), rm(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().

char* agget ( void *  ,
char *   
)

Definition at line 306 of file attribs.c.

References agindex(), and agxget().

Referenced by agwredge(), agwrnode(), attach_attrs_and_arrows(), bind_shape(), common_init_edge(), do_graph_label(), dot_layout(), dot_mincross(), emit_background(), emit_clusters(), emit_html_label(), epsf_init(), expFactor(), fdp_xLayout(), getdouble(), getPack(), getPackMode(), graph_init(), graphAdjustMode(), gvrender_begin_graph(), neatoLayout(), normalize(), rank(), removeOverlap(), scan_graph_mode(), setEdgeType(), setSeed(), splineEdges(), and twopi_layout().

int aghtmlstr ( char *  s  ) 

Definition at line 146 of file refstr.c.

Referenced by agstrcanon(), common_init_edge(), common_init_node(), and do_graph_label().

int agindex ( void *  ,
char *   
)

Definition at line 316 of file attribs.c.

References agfindattr(), and Agsym_t::index.

Referenced by agget(), agset(), and scan_graph_mode().

void aginitlib ( int  ,
int  ,
int   
)

Definition at line 292 of file attribs.c.

void aginsert ( Agraph_t ,
void *   
)

Definition at line 411 of file graph.c.

References agINSedge(), agINSgraph(), agINSnode(), TAG_EDGE, TAG_GRAPH, TAG_NODE, and TAG_OF.

Referenced by agparse(), circomps(), and nodeInduce().

char* aglasterr ( void   ) 

Definition at line 492 of file lexer.c.

References malloc().

Agnode_t* aglstnode ( Agraph_t  ) 

Definition at line 101 of file node.c.

References dtlast, and Agraph_t::nodes.

Agraph_t* agmemread ( char *   ) 

Definition at line 75 of file graphio.c.

References AG, aglexinit(), agparse(), and AG_s::parsed_g.

Referenced by readstring().

int agnedges ( Agraph_t  ) 

Definition at line 446 of file graph.c.

References dtsize(), and Agraph_t::outedges.

Referenced by main(), and scan_graph_mode().

int agnnodes ( Agraph_t  ) 

Definition at line 441 of file graph.c.

References dtsize(), and Agraph_t::nodes.

Referenced by adjustNodes(), cAdjust(), ccomps(), circleLayout(), circo_layout(), circoLayout(), circomps(), circularLayout(), compoundEdges(), fdp_init_node_edge(), fdp_tLayout(), findCComp(), isConnected(), layout(), main(), neato_init_node_edge(), neatoLayout(), pccomps(), processClusterEdges(), removeOverlapAs(), scAdjust(), scan_graph_mode(), and twopi_layout().

Agnode_t* agnode ( Agraph_t ,
char *   
)

Definition at line 42 of file node.c.

References agfindnode(), agINSnode(), agNEWnode(), dtinsert, Agproto_t::n, Agdata_t::node_dict, NULL, Agraph_t::proto, Agraph_t::root, and Agraph_t::univ.

Referenced by agopen(), agsubg(), main(), makeGraphs(), and node().

Agsym_t* agnodeattr ( Agraph_t ,
char *  ,
char *   
)

Definition at line 197 of file attribs.c.

References AG, Agproto_t::n, NULL, Agraph_t::proto, AG_s::proto_g, and Agraph_t::root.

Referenced by agopen(), agsafeset(), attach_attrs_and_arrows(), dotneato_args_initialize(), gvContext(), and setv().

Agedge_t* agnxtedge ( Agraph_t ,
Agedge_t ,
Agnode_t  
)

Definition at line 120 of file edge.c.

References agfstin(), dtnext, Agedge_t::head, Agraph_t::inedges, NULL, Agraph_t::outedges, and Agedge_t::tail.

Referenced by agDELnode(), circuit_model(), dot_sameports(), fdp_cleanup(), interclexp(), nextedge(), and s1().

Agedge_t* agnxtin ( Agraph_t ,
Agedge_t  
)

Definition at line 188 of file edge.c.

References dtnext, Agedge_t::head, Agraph_t::inedges, and NULL.

Referenced by agclose(), agINSnode(), nextin(), and nextsupg().

Agnode_t* agnxtnode ( Agraph_t ,
Agnode_t  
)

Definition at line 96 of file node.c.

References dtnext, and Agraph_t::nodes.

Referenced by agclose(), allocate_ranks(), attach_attrs_and_arrows(), build_skeleton(), cAdjust(), ccomps(), circo_cleanup(), circomps(), circuit_model(), class1(), class2(), compoundEdges(), compute_bb(), createBlocktree(), decompose(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dot_sameports(), dot_scan_ranks(), dumpstat(), emit_clusters(), emit_graph(), expand_ranksets(), fdp_cleanup(), fdp_init_node_edge(), fdp_tLayout(), findCComp(), init_nop(), interclexp(), isConnected(), layout(), main(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_init_node_edge(), neato_set_aspect(), nextin(), nextnode(), nextout(), nodeInduce(), normalize(), pccomps(), processClusterEdges(), scAdjust(), scan_graph_mode(), shortest_path(), spline_edges(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().

Agedge_t* agnxtout ( Agraph_t ,
Agedge_t  
)

Definition at line 163 of file edge.c.

References dtnext, NULL, Agraph_t::outedges, and Agedge_t::tail.

Referenced by agclose(), agDELedge(), agDELnode(), allocate_ranks(), attach_attrs_and_arrows(), build_skeleton(), circo_cleanup(), circomps(), class1(), class2(), compoundEdges(), compute_bb(), dot_cleanup(), dot_compoundEdges(), dot_init_node_edge(), dumpstat(), emit_clusters(), fdp_init_node_edge(), findCComp(), main(), mark_clusters(), mark_lowclusters(), neato_cleanup(), neato_init_node_edge(), neato_layout(), nexthead(), nextout(), nextsubg(), nexttail(), nodeInduce(), processClusterEdges(), rm(), splineEdges(), twopi_cleanup(), undoClusterEdges(), and write_plain().

Agraph_t* agopen ( char *  ,
int   
)

Definition at line 287 of file graph.c.

References AGMETAGRAPH, agnode(), agnodeattr(), Agnode_t::attr, Agraph_t::meta_node, and NULL.

Referenced by circomps(), digraph(), graph(), main(), sizeArray(), strictdigraph(), and strictgraph().

Agraph_t* agprotograph ( void   ) 

Definition at line 165 of file attribs.c.

References AG, and AG_s::proto_g.

Referenced by dotneato_args_initialize().

Agnode_t* agprvnode ( Agraph_t ,
Agnode_t  
)

Definition at line 106 of file node.c.

References dtprev, and Agraph_t::nodes.

Agsym_t* agraphattr ( Agraph_t ,
char *  ,
char *   
)

Definition at line 188 of file attribs.c.

References AG, NULL, AG_s::proto_g, and Agraph_t::root.

Referenced by agsafeset(), attach_attrs_and_arrows(), dotneato_args_initialize(), init_nop(), and setv().

Agraph_t* agread ( FILE *   ) 

Definition at line 68 of file graphio.c.

References AG, aglexinit(), agparse(), and AG_s::parsed_g.

Referenced by gvNextInputGraph(), main(), and read().

Agraph_t* agread_usergets ( FILE *  ,
gets_f   
)

Definition at line 83 of file graphio.c.

References AG, aglexinit(), agparse(), and AG_s::parsed_g.

Referenced by gvNextInputGraph().

void agreadline ( int   ) 

Definition at line 58 of file lexer.c.

References Line_number.

int agsafeset ( void *  ,
char *  ,
char *  ,
char *   
)

Definition at line 349 of file attribs.c.

References agedgeattr(), agfindattr(), agnodeattr(), agraphattr(), agxset(), graph(), head, Agsym_t::index, NULL, TAG_EDGE, TAG_GRAPH, TAG_NODE, and TAG_OF.

Referenced by gvLayout().

int agset ( void *  ,
char *  ,
char *   
)

Definition at line 311 of file attribs.c.

References agindex(), and agxset().

Referenced by attach_attrs_and_arrows(), and setSeed().

void agseterr ( agerrlevel_t   ) 

Definition at line 487 of file lexer.c.

Referenced by dotneato_args_initialize().

void agsetfile ( char *   ) 

Definition at line 70 of file lexer.c.

References Line_number.

Referenced by gvNextInputGraph().

char* agstrcanon ( char *  ,
char *   
)

Definition at line 150 of file graphio.c.

References aghtmlstr().

Referenced by agcanonical().

char* agstrdup ( char *   ) 

Definition at line 73 of file refstr.c.

References dtinsert, dtsearch, malloc(), NULL, offsetof, refstr_t::refcnt, and refstr_t::s.

Referenced by aglex(), agNEWedge(), agNEWnode(), agNEWsym(), agxset(), and emit_once().

void agstrfree ( char *   ) 

Definition at line 123 of file refstr.c.

References agerr(), AGERR, dtdelete, dtsearch, free(), NULL, offsetof, and refstr_t::refcnt.

Referenced by agclose(), agFREEedge(), agFREEnode(), agparse(), and agxset().

Agraph_t* agsubg ( Agraph_t ,
char *   
)

Definition at line 301 of file graph.c.

References agfindnode(), agINSgraph(), agnode(), agusergraph(), Agnode_t::attr, Agnode_t::graph, Agraph_t::kind, and Agraph_t::meta_node.

Referenced by agparse(), ccomps(), circomps(), findCComp(), graph(), pccomps(), processClusterEdges(), and undoClusterEdges().

Agraph_t* agusergraph ( Agnode_t  ) 

Definition at line 282 of file graph.c.

References Agnode_t::attr, Agnode_t::graph, Agraph_t::meta_node, and NULL.

Referenced by agclose(), agDELedge(), agDELnode(), agfindsubg(), agINSnode(), agsubg(), circomps(), findCComp(), firstsubg(), firstsupg(), neato_layout(), nextsubg(), nextsupg(), and rm().

void agwarningf ( char *  fmt,
  ... 
)

Definition at line 557 of file lexer.c.

References AGWARN.

int agwrite ( Agraph_t ,
FILE *   
)

Definition at line 495 of file graphio.c.

References AG_IS_DIRECTED, AG_IS_STRICT, agcanonical(), Agdata_t::edgeattr, Agdata_t::globattr, Agraph_t::name, Agdata_t::nodeattr, and Agraph_t::univ.

Referenced by main(), and write().

char* agxget ( void *  ,
int   
)

Definition at line 327 of file attribs.c.

References NULL.

Referenced by agcopyattr(), agget(), arrow_flags(), common_init_edge(), common_init_node(), dot_sameports(), doubleattr(), emit_clusters(), late_bool(), late_double(), late_int(), late_string(), nonconstraint_edge(), user_pos(), and write_plain().

int agxset ( void *  ,
int  ,
char *   
)

Definition at line 334 of file attribs.c.

References agstrdup(), agstrfree(), Agraph_t::attr, and Agraph_t::didset.

Referenced by agcopyattr(), agsafeset(), agset(), and attach_attrs_and_arrows().


Variable Documentation

agerrlevel_t agerrno

Definition at line 482 of file lexer.c.


Generated on Mon Mar 31 19:05:50 2008 for Graphviz by  doxygen 1.5.1