GraphGrammar without class