Graphviz  2.41.20171026.1811
Macros | Functions | Variables
edge.c File Reference
#include <cghdr.h>
Include dependency graph for edge.c:

Go to the source code of this file.

Macros

#define IN_SET   FALSE
 
#define OUT_SET   TRUE
 
#define ID_ORDER   TRUE
 
#define SEQ_ORDER   FALSE
 

Functions

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_tagfstedge (Agraph_t *g, Agnode_t *n)
 
Agedge_tagnxtedge (Agraph_t *g, Agedge_t *e, Agnode_t *n)
 
Agsubnode_tagsubrep (Agraph_t *g, Agnode_t *n)
 
Agedge_tagidedge (Agraph_t *g, Agnode_t *t, Agnode_t *h, IDTYPE id, int cflag)
 
Agedge_tagedge (Agraph_t *g, Agnode_t *t, Agnode_t *h, char *name, int cflag)
 
void agdeledgeimage (Agraph_t *g, Agedge_t *e, void *ignored)
 
int agdeledge (Agraph_t *g, Agedge_t *e)
 
Agedge_tagsubedge (Agraph_t *g, Agedge_t *e, int cflag)
 
int agedgeidcmpf (Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
 
int agedgeseqcmpf (Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
 
CGRAPH_API int ageqedge (Agedge_t *e, Agedge_t *f)
 
CGRAPH_API Agedge_tagmkout (Agedge_t *e)
 
CGRAPH_API Agedge_tagmkin (Agedge_t *e)
 
CGRAPH_API Agnode_tagtail (Agedge_t *e)
 
CGRAPH_API Agnode_taghead (Agedge_t *e)
 
CGRAPH_API Agedge_tagopp (Agedge_t *e)
 

Variables

Dtdisc_t Ag_mainedge_seq_disc
 
Dtdisc_t Ag_subedge_seq_disc
 
Dtdisc_t Ag_mainedge_id_disc
 
Dtdisc_t Ag_subedge_id_disc
 

Macro Definition Documentation

#define ID_ORDER   TRUE

Definition at line 18 of file edge.c.

#define IN_SET   FALSE

Definition at line 16 of file edge.c.

#define OUT_SET   TRUE

Definition at line 17 of file edge.c.

#define SEQ_ORDER   FALSE

Definition at line 19 of file edge.c.

Function Documentation

int agdeledge ( Agraph_t g,
Agedge_t e 
)
void agdeledgeimage ( Agraph_t g,
Agedge_t e,
void *  ignored 
)
Agedge_t* agedge ( Agraph_t g,
Agnode_t t,
Agnode_t h,
char *  name,
int  cflag 
)
int agedgeidcmpf ( Dict_t d,
void *  arg_e0,
void *  arg_e1,
Dtdisc_t disc 
)

Definition at line 405 of file edge.c.

References AGID, AGTYPE, Agedge_s::node, and NOTUSED.

int agedgeseqcmpf ( Dict_t d,
void *  arg_e0,
void *  arg_e1,
Dtdisc_t disc 
)

Definition at line 425 of file edge.c.

References AGSEQ, assert, Agedge_s::node, and NOTUSED.

CGRAPH_API int ageqedge ( Agedge_t e,
Agedge_t f 
)

Definition at line 501 of file edge.c.

References AGEQEDGE.

Agedge_t* agfstedge ( Agraph_t g,
Agnode_t n 
)
Agedge_t* agfstin ( Agraph_t g,
Agnode_t n 
)
Agedge_t* agfstout ( Agraph_t g,
Agnode_t n 
)
CGRAPH_API Agnode_t* aghead ( Agedge_t e)
Agedge_t* agidedge ( Agraph_t g,
Agnode_t t,
Agnode_t h,
IDTYPE  id,
int  cflag 
)

Definition at line 259 of file edge.c.

References agallocid(), AGEDGE, agisundirected(), agroot(), and NILedge.

CGRAPH_API Agedge_t* agmkin ( Agedge_t e)

Definition at line 517 of file edge.c.

References AGMKIN.

CGRAPH_API Agedge_t* agmkout ( Agedge_t e)

Definition at line 509 of file edge.c.

References AGMKOUT.

Agedge_t* agnxtedge ( Agraph_t g,
Agedge_t e,
Agnode_t n 
)
Agedge_t* agnxtin ( Agraph_t g,
Agedge_t e 
)
Agedge_t* agnxtout ( Agraph_t g,
Agedge_t e 
)
CGRAPH_API Agedge_t* agopp ( Agedge_t e)

Definition at line 541 of file edge.c.

References AGOPP.

Agedge_t* agsubedge ( Agraph_t g,
Agedge_t e,
int  cflag 
)

Definition at line 378 of file edge.c.

References AGHEAD, AGID, AGOPP, agsubnode(), AGTAG, AGTAIL, AGTYPE, and NILedge.

Referenced by agcontains(), aghide(), circomps(), and node_induce().

Agsubnode_t* agsubrep ( Agraph_t g,
Agnode_t n 
)
CGRAPH_API Agnode_t* agtail ( Agedge_t e)

Variable Documentation

Dtdisc_t Ag_mainedge_id_disc
Initial value:
= {
0,
0,
offsetof(Agedge_t,id_link),
}
unsigned int(* Dthash_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:41
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:38
#define NIL(t)
Definition: dthdr.h:13
void * agdictobjmem(Dict_t *dict, void *p, size_t size, Dtdisc_t *disc)
Definition: utils.c:19
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:39
int agedgeidcmpf(Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
Definition: edge.c:405

Definition at line 472 of file edge.c.

Referenced by agopen1().

Dtdisc_t Ag_mainedge_seq_disc
Initial value:
= {
0,
0,
offsetof(Agedge_t,seq_link),
}
unsigned int(* Dthash_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:41
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:38
#define NIL(t)
Definition: dthdr.h:13
int agedgeseqcmpf(Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
Definition: edge.c:425
void * agdictobjmem(Dict_t *dict, void *p, size_t size, Dtdisc_t *disc)
Definition: utils.c:19
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:39

Definition at line 447 of file edge.c.

Referenced by agopen1().

Dtdisc_t Ag_subedge_id_disc
Initial value:
= {
0,
0,
-1,
}
unsigned int(* Dthash_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:41
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:38
#define NIL(t)
Definition: dthdr.h:13
void * agdictobjmem(Dict_t *dict, void *p, size_t size, Dtdisc_t *disc)
Definition: utils.c:19
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:39
int agedgeidcmpf(Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
Definition: edge.c:405

Definition at line 484 of file edge.c.

Referenced by agopen1().

Dtdisc_t Ag_subedge_seq_disc
Initial value:
= {
0,
0,
-1,
}
unsigned int(* Dthash_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:41
void *(* Dtmake_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:38
#define NIL(t)
Definition: dthdr.h:13
int agedgeseqcmpf(Dict_t *d, void *arg_e0, void *arg_e1, Dtdisc_t *disc)
Definition: edge.c:425
void * agdictobjmem(Dict_t *dict, void *p, size_t size, Dtdisc_t *disc)
Definition: utils.c:19
void(* Dtfree_f)(Dt_t *, void *, Dtdisc_t *)
Definition: cdt.h:39

Definition at line 459 of file edge.c.

Referenced by agopen1().