return ancestors;
}
private boolean isCrossingNode(GraphicalNode gnode)
{
TaskGraphNode tgn = gnode.node;
List list = this.getAncestor(tgn);
if(list.size()>0)
{
Iterator ancestors = list.iterator();
while(ancestors.hasNext())
{
TaskGraphNode ancestor = (TaskGraphNode)ancestors.next();
GraphicalNode gancestor = this.getGraphicalNodeByID(ancestor.getID());
if(gancestor.col<gnode.col-1)
{
for(int col=gnode.col-1; col>gancestor.col; col--)
{
if(this.isOccupied(gnode.row, col))