Nodes are positioned in vertical direction using spacing and in horizontal direction using indentation
<diputree> <has> <l> <lt>100 pixels</lt> <hasspace> <pixelcount> <i>100</i> </pixelcount> </hasspace> </l> <l> <lt>between us!</lt> </l> </has> </diputree> |
<diputree>
<has>
<l>
<lt>100 pixels</lt>
the hasspace relation between the leaf and the pixelcount
<hasspace>
<pixelcount>
the integer relation between pixelcount and 100
<i>100</i>
</pixelcount>
</hasspace>
</l>
<l>
<lt>between us!</lt>
</l>
</has>
</diputree>
<diputree> <has> <b> <lt>parent</lt> <hasindent> <pixelcount> <i>100</i> </pixelcount> </hasindent> <has> <l> <lt>child</lt> </l> <l> <lt>child</lt> </l> </has> </b> </has> </diputree> |
<diputree>
<has>
<b>
<lt>parent</lt>
the hasindent relation between the branch and the pixelcount
<hasindent>
<pixelcount>
the integer relation between pixelcount and 100
<i>100</i>
</pixelcount>
</hasindent>
<has>
<l>
<lt>child</lt>
</l>
<l>
<lt>child</lt>
</l>
</has>
</b>
</has>
</diputree>
<diputree> <has> <l> <lt>normal</lt> </l> <l> <lt>indented</lt> <hasicon> <icon> <when> <closed/> </when> <hasindent> <pixelcount> <i>50</i> </pixelcount> </hasindent> </icon> </hasicon> <haslabel> <label> <when> <closed/> </when> <hasindent> <pixelcount> <i>70</i> </pixelcount> </hasindent> </label> </haslabel> </l> </has> </diputree> |
<diputree>
<has>
<l>
<lt>normal</lt>
</l>
<l>
<lt>indented</lt>
<hasicon>
<icon>
<when>
<closed/>
</when>
the hasindent relation between the icon and the pixelcount
<hasindent>
<pixelcount>
<i>50</i>
</pixelcount>
</hasindent>
</icon>
</hasicon>
<haslabel>
<label>
<when>
<closed/>
</when>
the hasindent relation between the label and the pixelcount
<hasindent>
<pixelcount>
<i>70</i>
</pixelcount>
</hasindent>
</label>
</haslabel>
</l>
</has>
</diputree>