
You can specify how many board edges have to be visible at a minimum, how many empty lines around a position, and the minimum width and height of a position (in board points).
This is one page from Kogo's Joseki Dictionary. A huge (20 MB), 168-page PDF with thousands of diagrams of the entire Kogo's 4-4 Joseki is here, a diagram outputted for every comment.
The diagrams in this example are still crude, but it shows how robust the system is.