Export hierarchical SDD.

Very ugly.