FYI: If I remember correctly: The dagview layout engine is setup for filters. I just never made any other than for testing. I really don't do anything with freecad anymore, so I won't be working on it.
The blog you linked to is about 'using directives' vs 'using declarations' and kind of glosses over headers vs source files. Stack overflow is a good place for this kind of information.