XQueryModule m = t.parse();
fr.close();
StaticContext sc = t.getStaticContext();
sc.setSystemBaseURI(statEnv.getSystemBaseURI());
m.staticAnalysis(sc);
m.visit(GraphConstructionVisitor.this, sc);
// create panel
final JGraph jgraph = createJGraph();
jgraph.setBackground(Color.decode(DEFAULT_BG_COLOR));
final JScrollPane panel = new JScrollPane(jgraph);
panel.setPreferredSize(DEFAULT_SIZE);