Diagram upload