Graph turned into a directive.