#endif
#include <assert.h>
+#include <gvc.h>
#include <render.h>
#include <neatoprocs.h>
#include <ingraphs.h>
* combined graph will be strict; other, the combined graph will
* be non-strict.
*/
-static Agraph_t **readGraphs(int *cp)
+static Agraph_t **readGraphs(int *cp, GVC_t* gvc)
{
Agraph_t *g;
Agraph_t **gs = 0;
newIngraph(&ig, myFiles, agread);
while ((g = nextGraph(&ig)) != 0) {
+ GD_gvc(g) = gvc;
if (verbose)
fprintf(stderr, "Reading graph %s\n", g->name);
if (cnt >= sz) {
int cnt;
pack_info pinfo;
box bb;
+ GVC_t * gvc;
init(argc, argv);
- gs = readGraphs(&cnt);
+ gvc = gvNEWcontext(Info, gvUsername());
+ gs = readGraphs(&cnt, gvc);
if (cnt == 0)
exit(0);