---
title: 布局
order: 5
---

```text
//layoutName:
//星型布局:'circular',均衡布局:'hierarchical',
//树型布局：纵向：’towardsouth‘，横向’towardeast‘

let layout = new ht.layout.AutoLayout(graphView);
layout.layout(layoutName, function(){
      //此处可以添加一些布局后的操作，如不需要，请忽略
});

```
