Graph directive