| 1 |
/************************************************************************* |
| 2 |
* Copyright (c) 2011 AT&T Intellectual Property |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* https://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: Details at https://graphviz.org |
| 9 |
*************************************************************************/ |
| 10 |
|
| 11 |
#pragma once |
| 12 |
|
| 13 |
#ifdef __cplusplus |
| 14 |
extern "C" { |
| 15 |
#endif |
| 16 |
|
| 17 |
#include <neatogen/neato.h> |
| 18 |
|
| 19 |
#include <neatogen/sparsegraph.h> |
| 20 |
|
| 21 |
#ifdef DIGCOLA |
| 22 |
#ifdef IPSEPCOLA |
| 23 |
typedef struct cluster_data { |
| 24 |
int nvars; /* total count of vars in clusters */ |
| 25 |
int nclusters; /* number of clusters */ |
| 26 |
int *clustersizes; /* number of vars in each cluster */ |
| 27 |
int **clusters; /* list of var indices for constituents of each c */ |
| 28 |
int ntoplevel; /* number of nodes not in any cluster */ |
| 29 |
int *toplevel; /* array of nodes not in any cluster */ |
| 30 |
boxf *bb; /* bounding box of each cluster */ |
| 31 |
} cluster_data; |
| 32 |
#endif |
| 33 |
#endif |
| 34 |
|
| 35 |
|
| 36 |
#ifdef __cplusplus |
| 37 |
} |
| 38 |
#endif |