private int idNum = 0;
public ITuple getGraph() {
ISetWriter sw = vf.setWriter(tf.tupleType(tf.stringType(),
tf.stringType(), tf.stringType(), tf.integerType()));
sw.insertAll(ids.values());
return vf.tuple(sw.done(), edges);
}
public IString addFact(IFact<?> fact, String name, int status) {
if (!ids.containsKey(fact)) {