}
if (node instanceof IRandomVariable) {
potTab = (PotentialTable)((IRandomVariable) node).getProbabilityFunction();
table = new GUIPotentialTable(potTab).makeTable();
} else {
// decision
// the number of rows in this case is the number of states of the