The AT&T GraphViz toolset by Steven North and colleagues does automatic layout and is embedded in many graphing applications.