|
Graphviz
2.29.20120523.0446
|
00001 /* $Id$Revision: */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 #ifndef ASPECT_H 00015 #define ASPECT_H 00016 00017 typedef struct aspect_t { 00018 double targetAR; /* target aspect ratio */ 00019 double combiAR; 00020 int prevIterations; /* no. of iterations in previous pass */ 00021 int curIterations; /* no. of iterations in current pass */ 00022 int nextIter; /* dynamically adjusted no. of iterations */ 00023 int nPasses; /* bound on no. of top-level passes */ 00024 int badGraph; /* hack: set if graph is disconnected or has 00025 * clusters. If so, turn off aspect */ 00026 } aspect_t; 00027 00028 extern void rank3(graph_t * g, aspect_t * asp); 00029 extern void initEdgeTypes(graph_t * g); 00030 extern void init_UF_size(graph_t * g); 00031 extern int countDummyNodes(graph_t * g); 00032 00033 #endif /* ASPECT_H */ 00034
1.7.5