/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/pack/pack.h File Reference

#include "types.h"
#include "graph.h"

Include dependency graph for pack.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pack_info

Defines

#define _PACK_H   1

Enumerations

enum  pack_mode { l_undef, l_clust, l_node, l_graph }

Functions

pointputGraphs (int, Agraph_t **, Agraph_t *, pack_info *)
int packGraphs (int, Agraph_t **, Agraph_t *, pack_info *)
int packSubgraphs (int, Agraph_t **, Agraph_t *, pack_info *)
int pack_graph (int, Agraph_t **, Agraph_t *, boolean *)
pack_mode getPackMode (Agraph_t *g, pack_mode dflt)
int getPack (Agraph_t *, int not_def, int dflt)
int isConnected (Agraph_t *)
Agraph_t ** ccomps (Agraph_t *, int *, char *)
Agraph_t ** pccomps (Agraph_t *, int *, char *, boolean *)
int nodeInduce (Agraph_t *)


Define Documentation

#define _PACK_H   1

Definition at line 20 of file pack.h.


Enumeration Type Documentation

enum pack_mode

Enumerator:
l_undef 
l_clust 
l_node 
l_graph 

Definition at line 39 of file pack.h.


Function Documentation

Agraph_t** ccomps ( Agraph_t ,
int *  ,
char *   
)

Definition at line 149 of file ccomps.c.

References agfstnode(), agnnodes(), agnxtnode(), agsubg(), free(), gmalloc(), MARKED, N_GNEW, RALLOC, SMALLBUF, and UNMARK.

Referenced by circomps(), main(), and twopi_layout().

int getPack ( Agraph_t ,
int  not_def,
int  dflt 
)

Definition at line 915 of file pack.c.

References agget().

Referenced by circoLayout(), init_info(), neato_layout(), pack_graph(), and twopi_layout().

pack_mode getPackMode ( Agraph_t g,
pack_mode  dflt 
)

Definition at line 868 of file pack.c.

References agget(), l_clust, l_graph, l_node, and streq.

Referenced by circoLayout(), init_info(), neato_layout(), pack_graph(), and twopi_layout().

int isConnected ( Agraph_t  ) 

Definition at line 208 of file ccomps.c.

References agfstnode(), agnnodes(), agnxtnode(), and UNMARK.

Referenced by main().

int nodeInduce ( Agraph_t  ) 

Definition at line 233 of file ccomps.c.

References agcontains(), agfstnode(), agfstout(), aginsert(), agnxtnode(), agnxtout(), Agedge_t::head, and Agraph_t::root.

Referenced by findCComp(), neato_layout(), and twopi_layout().

int pack_graph ( int  ,
Agraph_t **  ,
Agraph_t ,
boolean  
)

Definition at line 850 of file pack.c.

References CL_OFFSET, pack_info::doSplines, dotneato_postprocess(), pack_info::fixed, getPack(), getPackMode(), l_graph, pack_info::margin, pack_info::mode, and packSubgraphs().

int packGraphs ( int  ,
Agraph_t **  ,
Agraph_t ,
pack_info  
)

Definition at line 805 of file pack.c.

References pack_info::doSplines, free(), and putGraphs().

Referenced by main(), neato_layout(), and packSubgraphs().

int packSubgraphs ( int  ,
Agraph_t **  ,
Agraph_t ,
pack_info  
)

Definition at line 823 of file pack.c.

References compute_bb(), GD_bb, GD_clust, GD_n_cluster, and packGraphs().

Referenced by circoLayout(), pack_graph(), and twopi_layout().

Agraph_t** pccomps ( Agraph_t ,
int *  ,
char *  ,
boolean  
)

Definition at line 73 of file ccomps.c.

References agfstnode(), agnnodes(), agnxtnode(), agsubg(), FALSE, free(), gmalloc(), isPinned, MARKED, N_GNEW, RALLOC, SMALLBUF, TRUE, and UNMARK.

Referenced by neato_layout().

point* putGraphs ( int  ,
Agraph_t **  ,
Agraph_t ,
pack_info  
)

Definition at line 573 of file pack.c.

References compute_bb(), pack_info::fixed, free(), freePS(), GD_bb, l_graph, box::LL, pack_info::margin, MAX, MIN, pack_info::mode, N_NEW, newPS(), box::UR, Verbose, point::x, and point::y.

Referenced by layout(), and packGraphs().


Generated on Mon Mar 31 19:07:40 2008 for Graphviz by  doxygen 1.5.1