Vertex vtmp = null;
Set inE = v.getInEdges();
Set outE = v.getOutEdges();
Boolean hide = null;
Object tmp = null;
Edge e = null;
NexsmEdgeType et = null;
VisualizationViewer vv = getVV(key);
VisualizationViewer vvSatellite = getVV(key + "satellite");
//the childs
for (Object o: outE) {
if (o instanceof Edge) {
e = (Edge)o;
if (isVisible(e, key)) {
lchilds.add(e.getOpposite(v));
}
}
}
// the parents
for (Object o: inE) {
et = null;
hide = null;
if (o instanceof Edge) {
e = (Edge)o;
if (isVisible(e, key)) {
lparents.add(e.getOpposite(v));
}
}
}
e = null;
for (Vertex p: lparents) {
for (Vertex c: lchilds) {
// as we are hiding the vertex, the new edges are not real for
// these childs so the new edge is a false or fictitious edge
if (!p.equals(c)) {
if ((e = p.findEdge(c)) == null) {
try {
e = addFalseEdge(p, c);
} catch (GraphException ge) {}
}
if (e != null)
e.setUserDatum(userdatumkey+key, new Boolean(hidden), UserData.CLONE);
}
}
}
v.setUserDatum(userdatumkey+key, new Boolean(hidden), UserData.CLONE);
if (vv != null)