graph directive