Modifications t clips2graph by Dunn