To make the connection lines vertically shorter, apply styles to the class "google-visualization-orgchart-connrow-medium" (replace "medium with "small" or "large" if you set the "size" option to something other than "medium"), setting the height and font-size of that class:
.google-visualization-orgchart-connrow-medium {
height: 0px;
font-size: 2px;
}
The height of the row will always be large enough to accommodate the specified font-size, plus the margins/padding. The margins and padding are set by the selector ".google-visualization-orgchart-table *", so you can either change them at that level, or the row/td level as necessary.
To make them horizontally shorter, your only option is to decrease the width of the chart, which you can do by setting the width of the container div in CSS.