IndexOutOfBoundException when layouting graphs with isolated vertices

Jul 12, 2010 at 7:08 AM
Edited Jul 12, 2010 at 7:16 AM

Hi, 

 

 

I notice that if I layout a graph which has only isolated vertices, the EfficientSugiyama layout algorithm will throw an IndexOutOfBound exception as the field _alternativeLayers is empty. It is caused by that after the removal of the isolated vertices, the internal graph is empty.

 

Chengnian.

Jul 12, 2010 at 12:50 PM

Could you provide a fix?