/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/neatogen/adjust.h

Go to the documentation of this file.
00001 /* $Id: adjust.h,v 1.7 2006/05/11 21:47:36 erg Exp $ $Revision: 1.7 $ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /**********************************************************
00005 *      This software is part of the graphviz package      *
00006 *                http://www.graphviz.org/                 *
00007 *                                                         *
00008 *            Copyright (c) 1994-2004 AT&T Corp.           *
00009 *                and is licensed under the                *
00010 *            Common Public License, Version 1.0           *
00011 *                      by AT&T Corp.                      *
00012 *                                                         *
00013 *        Information and Software Systems Research        *
00014 *              AT&T Research, Florham Park NJ             *
00015 **********************************************************/
00016 
00017 
00018 
00019 #ifndef ADJUST_H
00020 #define ADJUST_H
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00026 typedef enum {
00027     AM_NONE, AM_VOR, AM_COMPRESS,
00028     AM_SCALE, AM_NSCALE, AM_SCALEXY, AM_PUSH, AM_PUSHPULL,
00029     AM_ORTHO, AM_ORTHO_YX, AM_ORTHOXY, AM_ORTHOYX,
00030     AM_PORTHO, AM_PORTHO_YX, AM_PORTHOXY, AM_PORTHOYX,
00031     AM_VPSC, AM_IPSEP
00032 } adjust_mode;
00033 
00034 typedef struct {
00035     adjust_mode mode;
00036     char *attrib;
00037     char *print;
00038 } adjust_data;
00039 
00040     extern double expFactor(graph_t * G);
00041     extern int adjustNodes(graph_t * G);
00042     extern void normalize(graph_t * g);
00043     extern int removeOverlap(graph_t * G);
00044     extern int removeOverlapAs(graph_t*, char*);
00045     extern int cAdjust(graph_t *, int);
00046     extern int scAdjust(graph_t *, int);
00047     extern adjust_data *graphAdjustMode(graph_t *G);
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 #endif

Generated on Mon Mar 31 19:03:27 2008 for Graphviz by  doxygen 1.5.1