# DOT Language Grammar

**URL:** <https://forum.graphviz.org/t/dot-language-grammar/3082>\
**Category:** Help\
**Created:** [July 8, 2025, 11:31am UTC](https://forum.graphviz.org/t/dot-language-grammar/3082 "2025-07-08T11:31:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaltryProgrammer](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@PaltryProgrammer](https://forum.graphviz.org/u/PaltryProgrammer)\
**Post date:** [July 8, 2025, 11:31am UTC](https://forum.graphviz.org/t/dot-language-grammar/3082/1 "2025-07-08T11:31:38Z")

</div>

greetings & kind regards  
upon examining DOT Language grammar at page [https://graphviz.org/doc/info/lang.html](https://graphviz.org/doc/info/lang.html) i do not see terminals nor their proper location in the Language for the many other graph properties listed in Table of Contents exempli gratia Attributes Attribute Types Graph Attributes etc. please advise .  
thank you kindly

---

<div class="post-metadata">

**Author:** ![mark](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/mark/32/84_2.png) [@mark](https://forum.graphviz.org/u/mark)\
**Post date:** [July 8, 2025, 12:04pm UTC](https://forum.graphviz.org/t/dot-language-grammar/3082/2 "2025-07-08T12:04:58Z")

</div>

The attributes are arbitrary strings that can be interpreted or not by different graph layout engines. So they are not defined as part of the language specification.

That is, it’s valid dot language to have `digraph G { foo=bar }`, though the attribute ‘foo’ is not yet interpreted by any layout engine.
