# Generic State Machine and Graph/Tree Library

**URL:** <https://forums.unrealengine.com/t/generic-state-machine-and-graph-tree-library/305052>\
**Category:** C++\
**Tags:** third-party-librarie, container, unreal-engine, state-machines, CPP, question\
**Created:** [January 26, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/generic-state-machine-and-graph-tree-library/305052 "2015-01-26T17:48:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danneran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Danneran](https://forums.unrealengine.com/u/Danneran)\
**Post date:** [January 26, 2015, 5:48pm UTC](https://forums.unrealengine.com/t/generic-state-machine-and-graph-tree-library/305052/1 "2015-01-26T17:48:37Z")

</div>

Hello,

I’m wondering if there is a generic state machine library and a generic graph/tree container library within the UE4?

I searched the API and did not find anything, neither a generic state machine nor a generic graph/tree container. I just wanted to ask if I just overlooked something before I start to either write my own solution or integrate a third party library.

Thanks and best regards,  
Julian

---

<div class="post-metadata">

**Author:** ![RoboticHuman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RoboticHuman](https://forums.unrealengine.com/u/RoboticHuman)\
**Post date:** [January 26, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/generic-state-machine-and-graph-tree-library/305052/2 "2015-01-26T19:08:23Z")

</div>

As far as i know, there is no state machine out of the box support so you will have to build your own if you really want to( not so difficult) and regarding the ‘generic’ graph/tree container, i doubt they have that as well.

---

<div class="post-metadata">

**Author:** ![Danneran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Danneran](https://forums.unrealengine.com/u/Danneran)\
**Post date:** [January 29, 2015, 9:18am UTC](https://forums.unrealengine.com/t/generic-state-machine-and-graph-tree-library/305052/3 "2015-01-29T09:18:26Z")

</div>

Hm… well thanks. I too thought that there is no generic state machine and graph/tree container. Just wanted to make sure, especially as the concepts are use throughout the engine.
