Show parent child relationship of taxonomy term in view I am looking for a way to display the list of taxonomy terms in a view indenting the child tax terms. I need to be able to see all Taxonomy terms including the ones that do not have children terms. any ideas?

Domain 1 
    Sub-domain 1
    Sub-domain 2
Domain 2
    Sub-domain3
    Sub-domain4
Domain 3
Domain 4


I tried to follow the suggested solutions but they did not work out for me.  The first one in the link is asking you to provide a parent taxonomy term to filter by. I want to get the complete list.  the Second one only provide the Taxonomy terms that have a parent child relationship. I need to see all taxonomy terms even if they don't have children.  Here is the screenshot of my view setup, I followed the exact steps outlined by louieliu.  As you can see it only shows Environment with subchildren of Soil and Weather but does not show the other Domains without subchildren.
You can also try Views tree module.

Project page says


  This module provides a tree-based style plugin for Views. It is
  equivalent to the tree-based style template from Views 1.
  
  It is based off of the list style. Although it generates a nested
  view, there is still only a single query run for the view making it
  quite performant.
  
  Compatibility
  
  This module has been tested and used with the following
  relationship-oriented modules:
  
  Taxonomy (in core) - parent/child relationships