# How can I get the graph or all nodes for a material?

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-the-graph-or-all-nodes-for-a-material/132251>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [October 16, 2019, 2:09pm UTC](https://forums.unrealengine.com/t/how-can-i-get-the-graph-or-all-nodes-for-a-material/132251 "2019-10-16T14:09:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4a796a92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4a796a92](https://forums.unrealengine.com/u/anonymous_user_4a796a92)\
**Post date:** [October 16, 2019, 2:09pm UTC](https://forums.unrealengine.com/t/how-can-i-get-the-graph-or-all-nodes-for-a-material/132251/1 "2019-10-16T14:09:06Z")

</div>

Greetings.  
I’m looking for a way to get all these nodes and links from which ‘NewMaterial’ is consist (four in this example):  
[https://docs.unrealengine.com/Images/Engine/Rendering/Materials/PhysicallyBased/BaseColor\_QS.jpg](https://docs.unrealengine.com/Images/Engine/Rendering/Materials/PhysicallyBased/BaseColor_QS.jpg)

Is exist a way to get it, if I have material from UStaticMeshComponent?
