I guess my prolem is best described with the following picture.

![enter image description here](https://i.stack.imgur.com/hpWoY.png)

How can I tell JUNG to place everything in the visible area?

This is my `VertexShapeTransformer` (Scala)

```
vv.getRenderContext().setVertexShapeTransformer(
new org.apache.commons.collections15.Transformer[String,java.awt.Shape]() {
  def transform(label: String): java.awt.Shape = {
    val longest_name = label.length
    val width = longest_name * 10.0 // 12.0 is approx size of letter
    val circle = new java.awt.geom.Ellipse2D.Double(-(width/2), -12.5, width, 25);
    circle
  }
})

```

When I remove it, the small default circles fit in the window but the vertex label is still not in the window.