only draw nodes with connecting edges
only draw the images that are actually useful
first graph version without cycles