Robust Line Detection And Association In Piping And Instrumentation Diagrams