klay.js Padding Example

In the example below, the node g0 has padding values specified:

"padding": {
  "left": 5,
  "top": 20,
  "right": 10,
  "bottom": 5
}

Note how there is additional space above n1 and more space to g0's right border than to its left border.