Corrected the way it handles transparent nodes and edges.