| 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 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | #ifndef _DEFS_H_ |
| 19 | #define _DEFS_H_ |
| 20 | |
| 21 | #include "neato.h" |
| 22 | |
| 23 | #include "sparsegraph.h" |
| 24 | |
| 25 | #ifdef DIGCOLA |
| 26 | #ifdef IPSEPCOLA |
| 27 | typedef struct cluster_data { |
| 28 | int nvars; /* total count of vars in clusters */ |
| 29 | int nclusters; /* number of clusters */ |
| 30 | int *clustersizes; /* number of vars in each cluster */ |
| 31 | int **clusters; /* list of var indices for constituents of each c */ |
| 32 | int ntoplevel; /* number of nodes not in any cluster */ |
| 33 | int *toplevel; /* array of nodes not in any cluster */ |
| 34 | boxf *bb; /* bounding box of each cluster */ |
| 35 | } cluster_data; |
| 36 | #endif |
| 37 | #endif |
| 38 | |
| 39 | |
| 40 | #ifdef __cplusplus |
| 41 | } |
| 42 | #endif |
| 43 | |
| 44 | #endif |
| 45 | |