Layouts / Circular Layout

Circular Layout

Arranges all the nodes/groups in the toolkit instance into a circle, with a radius sufficiently large that no two nodes/groups overlap.

Circular Layout


  • {number} padding Optional, defaults to 30. The minimum amount of padding to leave between any nodes.

toolkit.render({
  container:"someElement",
  layout:{
    type:"Circular"
  }
});