Automatic Instrument Loop Diagram Creation