Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | ictx_t |
struct | gctx_t |
struct | rdr_t |
Macros | |
#define | USE_NON_CONST |
#define | CONST84 |
Functions | |
int | graphcmd (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[]) |
int | nodecmd (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[]) |
int | edgecmd (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[]) |
int | myiodisc_afread (void *channel, char *ubuf, int n) |
int | myiodisc_memiofread (void *chan, char *buf, int bufsize) |
Agraph_t * | agread_usergets (ictx_t *ictx, FILE *fp, int(*usergets)(void *chan, char *buf, int bufsize)) |
Agraph_t * | cmd2g (char *cmd) |
Agnode_t * | cmd2n (char *cmd) |
Agedge_t * | cmd2e (char *cmd) |
char * | obj2cmd (void *obj) |
void | deleteEdge (gctx_t *gctx, Agraph_t *g, Agedge_t *e) |
void | deleteNode (gctx_t *gctx, Agraph_t *g, Agnode_t *n) |
void | deleteGraph (gctx_t *gctx, Agraph_t *g) |
void | listGraphAttrs (Tcl_Interp *interp, Agraph_t *g) |
void | listNodeAttrs (Tcl_Interp *interp, Agraph_t *g) |
void | listEdgeAttrs (Tcl_Interp *interp, Agraph_t *g) |
void | setgraphattributes (Agraph_t *g, char *argv[], int argc) |
void | setedgeattributes (Agraph_t *g, Agedge_t *e, char *argv[], int argc) |
void | setnodeattributes (Agraph_t *g, Agnode_t *n, char *argv[], int argc) |
size_t | Tcldot_string_writer (GVJ_t *job, const char *s, size_t len) |
size_t | Tcldot_channel_writer (GVJ_t *job, const char *s, size_t len) |
void | tcldot_layout (GVC_t *gvc, Agraph_t *g, char *engine) |
Variables | |
Agiddisc_t | myiddisc |
#define CONST84 |
Definition at line 25 of file tcldot.h.
Referenced by edgecmd(), graphcmd(), and nodecmd().
Agraph_t* agread_usergets | ( | ictx_t * | ictx, |
FILE * | fp, | ||
int(*)(void *chan, char *buf, int bufsize) | usergets | ||
) |
Referenced by gvNextInputGraph().
Agedge_t* cmd2e | ( | char * | cmd | ) |
Agraph_t* cmd2g | ( | char * | cmd | ) |
Agnode_t* cmd2n | ( | char * | cmd | ) |
Definition at line 37 of file tcldot-util.c.
References NULL.
Referenced by graphcmd(), and nodecmd().
Definition at line 68 of file tcldot-util.c.
References agdelete(), gctx_t::g, gctx_t::ictx, ictx_t::interp, and obj2cmd().
Referenced by edgecmd().
Definition at line 108 of file tcldot-util.c.
References agclose(), agdelsubg(), agfstsubg(), agnxtsubg(), agroot(), deleteGraph(), gctx_t::ictx, ictx_t::interp, and obj2cmd().
Referenced by deleteGraph(), and graphcmd().
Definition at line 87 of file tcldot-util.c.
References agdelete(), gctx_t::g, gctx_t::ictx, ictx_t::interp, and obj2cmd().
Referenced by nodecmd().
Definition at line 16 of file tcldot-edgecmd.c.
References agfindedgeattr, aghead(), agisdirected(), agnameof(), agraphof(), agroot(), agtail(), agxget(), cmd2e(), CONST84, deleteEdge(), listEdgeAttrs(), NULL, obj2cmd(), and setedgeattributes().
Definition at line 16 of file tcldot-graphcmd.c.
References agedge(), agfindedge, agfindedgeattr, agfindgraphattr, agfindnode, agfindnodeattr, agfstnode(), agfstout(), agfstsubg(), aggetrec(), aglstnode(), agnameof(), agnedges(), agnnodes(), agnode(), agnxtnode(), agnxtout(), agnxtsubg(), agprvnode(), agraphof(), agroot(), agsubg(), agxget(), cmd2g(), cmd2n(), GVC_s::common, CONST84, GVJ_s::context, deleteGraph(), GVJ_s::external_context, FALSE, GVJ_s::flags, ictx_t::gvc, gvc, gvdevice_finalize(), gvjobs_delete(), gvjobs_output_langname(), gvplugin_list(), gvrender_end_job(), gvrender_select(), gvRenderJobs(), head, gctx_t::ictx, GVJ_s::imagedata, GVC_s::job, LAYOUT_NOT_REQUIRED, listEdgeAttrs(), listGraphAttrs(), listNodeAttrs(), NO_SUPPORT, NULL, obj2cmd(), GVJ_s::output_file, GVJ_s::output_filename, GVJ_s::output_lang, GVJ_s::output_langname, setedgeattributes(), setgraphattributes(), setnodeattributes(), Tcldot_channel_writer(), tcldot_layout(), Tcldot_string_writer(), TRUE, GVCOMMON_s::viewNum, and GVC_s::write_fn.
void listEdgeAttrs | ( | Tcl_Interp * | interp, |
Agraph_t * | g | ||
) |
Definition at line 210 of file tcldot-util.c.
References AGEDGE, agnxtattr(), Agsym_s::name, and NULL.
Referenced by edgecmd(), and graphcmd().
void listGraphAttrs | ( | Tcl_Interp * | interp, |
Agraph_t * | g | ||
) |
Definition at line 196 of file tcldot-util.c.
References agnxtattr(), AGRAPH, Agsym_s::name, and NULL.
Referenced by graphcmd().
void listNodeAttrs | ( | Tcl_Interp * | interp, |
Agraph_t * | g | ||
) |
Definition at line 203 of file tcldot-util.c.
References AGNODE, agnxtattr(), Agsym_s::name, and NULL.
Referenced by graphcmd(), and nodecmd().
Definition at line 31 of file tcldot-io.c.
Definition at line 86 of file tcldot-io.c.
References rdr_t::cur, rdr_t::data, and rdr_t::len.
Definition at line 16 of file tcldot-nodecmd.c.
References agedge(), agfindedge, agfindnode, agfindnodeattr, agfstedge(), agfstin(), agfstout(), agnameof(), agnxtedge(), agnxtin(), agnxtout(), agraphof(), agroot(), agxget(), cmd2n(), CONST84, deleteNode(), head, listNodeAttrs(), NULL, obj2cmd(), setedgeattributes(), and setnodeattributes().
char* obj2cmd | ( | void * | obj | ) |
Definition at line 55 of file tcldot-util.c.
References AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, and AGTYPE.
Referenced by deleteEdge(), deleteGraph(), deleteNode(), edgecmd(), graphcmd(), and nodecmd().
Definition at line 155 of file tcldot-util.c.
References agattr(), AGEDGE, agfindedgeattr, and agroot().
Referenced by edgecmd(), graphcmd(), and nodecmd().
Definition at line 143 of file tcldot-util.c.
References agattr(), agfindgraphattr, AGRAPH, and agroot().
Referenced by graphcmd().
Definition at line 178 of file tcldot-util.c.
References agattr(), agfindnodeattr, AGNODE, and agroot().
Referenced by graphcmd(), and nodecmd().
size_t Tcldot_channel_writer | ( | GVJ_t * | job, |
const char * | s, | ||
size_t | len | ||
) |
Definition at line 23 of file tcldot-util.c.
References GVJ_s::output_file.
Referenced by graphcmd().
Definition at line 218 of file tcldot-util.c.
References agattr(), agisdirected(), AGRAPH, agxset(), GD_bb, GD_drawing, gvFreeLayout(), gvlayout_select(), gvLayoutJobs(), gvplugin_list(), NO_SUPPORT, Nop, NULL, POINTS_PER_INCH, PSinputscale, ROUND, and strcasecmp().
Referenced by graphcmd().
size_t Tcldot_string_writer | ( | GVJ_t * | job, |
const char * | s, | ||
size_t | len | ||
) |
Definition at line 17 of file tcldot-util.c.
References GVJ_s::context, and NULL.
Referenced by graphcmd().
Agiddisc_t myiddisc |
Definition at line 99 of file tcldot-id.c.
Referenced by Tcldot_Init().