function determineLabel(x, y) {
    if (x === 0) return ['left', 5, 5];
    if (x === tempBuffer.layout.width) return ['right', -5, 5];
    if (y === 0) return ['center', 0, 13];
    return ['center', 0, -6];
}
Helper function to determine alignment and position of nodes for rendering
@param {number} x - width of label
@param {number} y - height of label
@category layoutMode