Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gvtool_tred.c File Reference
#include "config.h"
#include <stdio.h>
#include <cgraph/cgraph.h>
#include <gvc/gvc.h>
Include dependency graph for gvtool_tred.c:

Go to the source code of this file.

Data Structures

struct  Agmarknodeinfo_t
 

Macros

#define MARK(n)   (((Agmarknodeinfo_t*)(n->base.data))->mark)
 
#define agrootof(n)   ((n)->root)
 

Functions

static int dfs (Agnode_t *n, Agedge_t *link, int warn)
 
int gvToolTred (Agraph_t *g)
 

Macro Definition Documentation

◆ agrootof

#define agrootof (   n)    ((n)->root)

Definition at line 34 of file gvtool_tred.c.

◆ MARK

#define MARK (   n)    (((Agmarknodeinfo_t*)(n->base.data))->mark)

Definition at line 32 of file gvtool_tred.c.

Function Documentation

◆ dfs()

static int dfs ( Agnode_t n,
Agedge_t link,
int  warn 
)
static

Definition at line 36 of file gvtool_tred.c.

References agdelete(), agfstin(), agfstout(), aghead, agnameof(), agnxtin(), agnxtout(), AGOUT2IN, agrootof, agtail, dfs(), and MARK.

Referenced by dfs(), and gvToolTred().

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