Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
args.c File Reference
#include <assert.h>
#include <cgraph/gv_ctype.h>
#include <common/render.h>
#include <fdpgen/tlayout.h>
#include <gvc/gvc.h>
#include <fdpgen/fdp.h>
#include <stdbool.h>
Include dependency graph for args.c:

Go to the source code of this file.

Functions

static int neato_extra_args (int argc, char **argv)
 
static int config_extra_args (GVC_t *gvc, int argc, char **argv)
 
static int setDouble (double *v, char *arg)
 
static int setInt (int *v, char *arg)
 
static int setFDPAttr (char *arg)
 Actions for fdp specific flags.
 
static int fdp_extra_args (int argc, char **argv)
 
int gvParseArgs (GVC_t *gvc, int argc, char **argv)
 

Function Documentation

◆ config_extra_args()

static int config_extra_args ( GVC_t gvc,
int  argc,
char **  argv 
)
static

Definition at line 77 of file args.c.

References GVCOMMON_s::auto_outfile_names, cnt(), GVC_s::common, GVCOMMON_s::config, gv_isdigit(), gvc, NULL, and GVCOMMON_s::verbose.

Referenced by gvParseArgs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fdp_extra_args()

static int fdp_extra_args ( int  argc,
char **  argv 
)
static

Definition at line 192 of file args.c.

References cnt(), dotneato_usage(), NULL, and setFDPAttr().

Referenced by gvParseArgs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ neato_extra_args()

static int neato_extra_args ( int  argc,
char **  argv 
)
static

Definition at line 33 of file args.c.

References agerrorf(), cnt(), dotneato_usage(), Nop, NULL, and Reduce.

Referenced by gvParseArgs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDouble()

static int setDouble ( double *  v,
char *  arg 
)
static

Definition at line 121 of file args.c.

References agerrorf().

Referenced by setFDPAttr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFDPAttr()

static int setFDPAttr ( char *  arg)
static

Definition at line 155 of file args.c.

References agwarningf(), fdpParms_s::C, fdp_parms, fdpParms_s::numIters, setDouble(), setInt(), fdpParms_s::T0, fdpParms_s::Tfact, fdpParms_s::unscaled, fdpParms_s::useGrid, and fdpParms_s::useNew.

Referenced by fdp_extra_args().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setInt()

static int setInt ( int *  v,
char *  arg 
)
static

Definition at line 139 of file args.c.

References agerrorf().

Referenced by setFDPAttr().

Here is the call graph for this function:
Here is the caller graph for this function: