Add notes with commands to diagrams