pydot compatibility & label collision fixes