Added directives for graph