The work breakdown structure used for building your Gantt chart is created using the Structure app functionality, which supports Parent links used in Portfolio plans.
You can visualize Parent links using either Extend or Group generators of Portfolio type when building your structure.