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

#include <limits.h>
#include "libgraph.h"

Include dependency graph for edge.c:

Go to the source code of this file.

Functions

Agedge_tagfindedge (Agraph_t *g, Agnode_t *tail, Agnode_t *head)
void agINSedge (Agraph_t *g, Agedge_t *e)
Agedge_tagfstedge (Agraph_t *g, Agnode_t *n)
Agedge_tagnxtedge (Agraph_t *g, Agedge_t *e, Agnode_t *n)
Agedge_tagfstout (Agraph_t *g, Agnode_t *n)
Agedge_tagnxtout (Agraph_t *g, Agedge_t *e)
Agedge_tagfstin (Agraph_t *g, Agnode_t *n)
Agedge_tagnxtin (Agraph_t *g, Agedge_t *e)
Agedge_tagNEWedge (Agraph_t *subg, Agnode_t *tail, Agnode_t *head, Agedge_t *proto)
Agedge_tagedge (Agraph_t *g, Agnode_t *tail, Agnode_t *head)
void agFREEedge (Agedge_t *e)
void agDELedge (Agraph_t *g, Agedge_t *e)


Function Documentation

void agDELedge ( Agraph_t g,
Agedge_t e 
)

Definition at line 281 of file edge.c.

References AG_IS_METAGRAPH, agDELedge(), agerr(), AGERR, agFREEedge(), agfstout(), agnxtout(), agusergraph(), dtdelete, dtsearch, dtwalk(), FALSE, Agnode_t::graph, Agedge_t::head, Agraph_t::inedges, Agraph_t::meta_node, NIL, NULL, Agraph_t::outedges, and Agraph_t::root.

Referenced by agDELedge(), agdelete(), and agDELnode().

Agedge_t* agedge ( Agraph_t g,
Agnode_t tail,
Agnode_t head 
)

Definition at line 226 of file edge.c.

References AG_IS_DIRECTED, AG_IS_STRICT, agINSedge(), agNEWedge(), Agedge_t::attr, Agproto_t::e, Agedge_t::head, 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().

Agedge_t* agfindedge ( Agraph_t g,
Agnode_t tail,
Agnode_t head 
)

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().

void agFREEedge ( Agedge_t e  ) 

Definition at line 266 of file edge.c.

References agdictof(), agstrfree(), Agedge_t::attr, Agdict_t::dict, Agedge_t::didset, dtsize(), Agdata_t::edgeattr, free(), Agnode_t::graph, TAG_OF, Agedge_t::tail, and Agraph_t::univ.

Referenced by agDELedge(), and agpopproto().

Agedge_t* agfstedge ( Agraph_t g,
Agnode_t n 
)

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 g,
Agnode_t n 
)

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().

Agedge_t* agfstout ( Agraph_t g,
Agnode_t n 
)

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().

void agINSedge ( Agraph_t g,
Agedge_t e 
)

Definition at line 92 of file edge.c.

References MULTIPLE, MUSTPRINT, and Agedge_t::printkey.

Referenced by agedge(), and aginsert().

Agedge_t* agNEWedge ( Agraph_t subg,
Agnode_t tail,
Agnode_t head,
Agedge_t proto 
)

Definition at line 198 of file edge.c.

References AG, agstrdup(), Agedge_t::attr, Agdict_t::dict, Agedge_t::didset, dtsize(), AG_s::edge_nbytes, Agdata_t::edgeattr, Agedge_t::head, head, Agedge_t::id, Agdata_t::max_edge_id, N_NEW, NULL, Agedge_t::tag, TAG_EDGE, Agedge_t::tail, and Agraph_t::univ.

Referenced by agedge().

Agedge_t* agnxtedge ( Agraph_t g,
Agedge_t e,
Agnode_t n 
)

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 g,
Agedge_t e 
)

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().

Agedge_t* agnxtout ( Agraph_t g,
Agedge_t e 
)

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().


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