Padding
You can pass a Padding value to define the space around the nodes when fitting the view. It can be a single value applied to all sides, or an object specifying individual sides or axes like you know it from CSS.
const padding: Padding = {
top: '10px',
right: '5%',
bottom: 20, // this would be interpreted as 20px
left: '15px',
}