After enabling readers you want to use, then starting the Dtk_API, you can call the OpenDocument method of the Dtk_API class to get a Dtk_MainDoc. It contains a root representing the Assembly Tree based on Dtk_Component.
Dtk_API contains a file search engine to set your preferences for searching for files that are part of an assembly : How to use Search File Engine
Here is a model sample and its corresponding representation in Dtk_Component :
Each Dtk_Component has a type, a name and children.
There are 4 different types:
If you need only data for visualisation you can call ReadComponentGraphic();
This method gives you a set of meshes for 3D files and a set of drawing for 2D files. Not all files contains such information so result may be empty : In this case you have to call ReadComponent to get all data.
You can also get a corresponding image preview with GetPreview() method.
Note about how to use colors in Assembly Tree :
Dtk_Component colors should prevail on any other defined colors A single blue Cube could be instantiated as green and red :