diagram notation