Modifier and Type | Method and Description |
---|---|
Dot<T> |
build() |
Dot.Builder<T> |
setCompactMode(boolean value) |
Dot.Builder<T> |
setNodesToFilter(java.util.function.Predicate<T> pred) |
Dot.Builder<T> |
setNodeToAttributes(java.util.function.Function<T,com.google.common.collect.ImmutableSortedMap<String,String>> func)
Configures a function to be used to extract additional attributes to include when rendering
graph nodes.
|
Dot.Builder<T> |
setNodeToName(java.util.function.Function<T,String> func) |
Dot.Builder<T> |
setNodeToTypeName(java.util.function.Function<T,String> func) |
Dot.Builder<T> |
setOutputOrder(Dot.OutputOrder outputOrder) |
public Dot.Builder<T> setNodeToName(java.util.function.Function<T,String> func)
public Dot.Builder<T> setNodeToTypeName(java.util.function.Function<T,String> func)
public Dot.Builder<T> setOutputOrder(Dot.OutputOrder outputOrder)
public Dot.Builder<T> setNodesToFilter(java.util.function.Predicate<T> pred)
public Dot.Builder<T> setCompactMode(boolean value)
public Dot.Builder<T> setNodeToAttributes(java.util.function.Function<T,com.google.common.collect.ImmutableSortedMap<String,String>> func)
In order ot prevent collisions, all attribute names are prefixed with buck_
. They
are also escaped in order to be compatible with the Dot format.