# Undefined attributes

**URL:** <https://forum.graphviz.org/t/undefined-attributes/839>\
**Category:** Help\
**Created:** [September 20, 2021, 10:16pm UTC](https://forum.graphviz.org/t/undefined-attributes/839 "2021-09-20T22:16:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [September 20, 2021, 10:16pm UTC](https://forum.graphviz.org/t/undefined-attributes/839/1 "2021-09-20T22:16:53Z")

</div>

Years ago, I “learned” that made-up attributes (e.g. `node [label="OK" doghouse=5]`) do not cause error or warning messages, but instead are attached to the appropriate object(s) and passed through to any interested user downstream (useless if output format is **png** but possibly useful if format is **svg** , **dot** or **json** ).  
Is there any documentation for the feature?

---

<div class="post-metadata">

**Author:** ![scnorth](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/scnorth/32/89_2.png) [@scnorth](https://forum.graphviz.org/u/scnorth)\
**Post date:** [September 21, 2021, 1:27am UTC](https://forum.graphviz.org/t/undefined-attributes/839/2 "2021-09-21T01:27:18Z")

</div>

You have documented it! That’s about it! For security reasons we have really locked down the values passed through in SVG. Not sure about json. It seems “easy” [sic].

---

<div class="post-metadata">

**Author:** ![magjac](https://sea2.discourse-cdn.com/graphviz/user_avatar/forum.graphviz.org/magjac/32/16_2.png) [@magjac](https://forum.graphviz.org/u/magjac)\
**Post date:** [September 21, 2021, 5:19am UTC](https://forum.graphviz.org/t/undefined-attributes/839/3 "2021-09-21T05:19:56Z")

</div>

This is documented [here](https://graphviz.org/docs/outputs/#ID) for the `id` attribute. I can’t find any such documentation for attributes in general.

---

<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:** [September 21, 2021, 5:33am UTC](https://forum.graphviz.org/t/undefined-attributes/839/4 "2021-09-21T05:33:57Z")

</div>

Generally you ignore the unknown fields otherwise new graphs will error on old graphviz. Makes the software more robust.
