Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
dotgen
aspect.h
Go to the documentation of this file.
1
/* $Id$Revision: */
2
/* vim:set shiftwidth=4 ts=8: */
3
4
/*************************************************************************
5
* Copyright (c) 2011 AT&T Intellectual Property
6
* All rights reserved. This program and the accompanying materials
7
* are made available under the terms of the Eclipse Public License v1.0
8
* which accompanies this distribution, and is available at
9
* http://www.eclipse.org/legal/epl-v10.html
10
*
11
* Contributors: See CVS logs. Details at http://www.graphviz.org/
12
*************************************************************************/
13
14
#ifndef ASPECT_H
15
#define ASPECT_H
16
17
typedef
struct
aspect_t
{
18
double
targetAR
;
/* target aspect ratio */
19
double
combiAR
;
20
int
prevIterations
;
/* no. of iterations in previous pass */
21
int
curIterations
;
/* no. of iterations in current pass */
22
int
nextIter
;
/* dynamically adjusted no. of iterations */
23
int
nPasses
;
/* bound on no. of top-level passes */
24
int
badGraph
;
/* hack: set if graph is disconnected or has
25
* clusters. If so, turn off aspect */
26
}
aspect_t
;
27
28
extern
aspect_t
*
setAspect
(
Agraph_t
* g,
aspect_t
* adata);
29
extern
void
rank3
(
graph_t
* g,
aspect_t
* asp);
30
extern
void
initEdgeTypes
(
graph_t
* g);
31
extern
void
init_UF_size
(
graph_t
* g);
32
extern
int
countDummyNodes
(
graph_t
* g);
33
34
#endif
/* ASPECT_H */
35
aspect_t::curIterations
int curIterations
Definition:
aspect.h:21
aspect_t::nextIter
int nextIter
Definition:
aspect.h:22
aspect_t::nPasses
int nPasses
Definition:
aspect.h:23
Agraph_s
Definition:
cgraph.h:239
initEdgeTypes
void initEdgeTypes(graph_t *g)
Definition:
aspect.c:1595
aspect_t::targetAR
double targetAR
Definition:
aspect.h:18
aspect_t::badGraph
int badGraph
Definition:
aspect.h:24
aspect_t::prevIterations
int prevIterations
Definition:
aspect.h:20
aspect_t
Definition:
aspect.h:17
init_UF_size
void init_UF_size(graph_t *g)
Definition:
aspect.c:1969
countDummyNodes
int countDummyNodes(graph_t *g)
Definition:
aspect.c:129
aspect_t::combiAR
double combiAR
Definition:
aspect.h:19
aspect_t
struct aspect_t aspect_t
rank3
void rank3(graph_t *g, aspect_t *asp)
Definition:
aspect.c:1786
setAspect
aspect_t * setAspect(Agraph_t *g, aspect_t *adata)
Definition:
aspect.c:1978
Generated by
1.8.5