# Additional functionality of "must" nodes on apoc.path.expandConfig

**URL:** <https://community.neo4j.com/t/additional-functionality-of-must-nodes-on-apoc-path-expandconfig/61235>\
**Category:** Procedures & APOC\
**Tags:** apoc\
**Created:** [March 3, 2023, 2:16pm UTC](https://community.neo4j.com/t/additional-functionality-of-must-nodes-on-apoc-path-expandconfig/61235 "2023-03-03T14:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hosoi](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/hosoi/32/844_2.png) [@hosoi](https://community.neo4j.com/u/hosoi)\
**Post date:** [March 3, 2023, 2:16pm UTC](https://community.neo4j.com/t/additional-functionality-of-must-nodes-on-apoc-path-expandconfig/61235/1 "2023-03-03T14:16:50Z")

</div>

In apoc.path.expandConfig, whitenodes, and blacknodes can be specified.  
In my case, in addition to white nodes, some nodes among whitenodes needs to be specified as "must" nodes, which must be included in the result.  
What is the best way to realize this?
