IndexOutOfBoundException when layouting graphs with isolated vertices

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




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.



Jul 12, 2010 at 11:50 AM

Could you provide a fix?