focus_t* fs;
int ne;
vtx_data* graph = makeGraph (topview*, &ne);
- hierarchy = makeHier(topview*, graph, x_coords, y_coords);
+ hierarchy = makeHier(topview->NodeCount, ne, graph, x_coords, y_coords);
freeGraph (graph);
fs = initFocus (topview->Nodecount); // create focus set
}
Hierarchy*
-makeHier (topview* tv, vtx_data* graph, double* x_coords, double* y_coords)
+makeHier (int nn, int ne, vtx_data* graph, double* x_coords, double* y_coords)
{
vtx_data* delaunay;
ex_vtx_data* geom_graph;
- int nn = tv->Nodecount;
- int ne = tv->Edgecount;
int ngeom_edges;
Hierarchy* hp = NEW(Hierarchy);
void positionAllItems (Hierarchy* hp, focus_t* fs, hierparms_t* parms);
vtx_data* makeGraph (topview* tv, int* nedges);
-Hierarchy* makeHier (topview*, vtx_data*, double*, double*);
+Hierarchy* makeHier (int nnodes, int nedges, vtx_data*, double*, double*);
#endif