@Value.Immutable public abstract class GraphAsDot<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
GraphAsDot.AsComparable<T,C extends Comparable<C>> |
static interface |
GraphAsDot.SubGraph<T> |
| Constructor and Description |
|---|
GraphAsDot() |
| Modifier and Type | Method and Description |
|---|---|
<E> String |
asDot(org.jgrapht.Graph<T,E> graph) |
static <T> ImmutableGraphAsDot.Builder<T> |
builder(Function<T,String> nodeAsId) |
BiFunction<T,T,Map<String,String>> |
edgeAttributes() |
String |
label() |
abstract Function<T,String> |
nodeAsId() |
Function<T,String> |
nodeAsLabel() |
Function<T,Map<String,String>> |
nodeAttributes() |
abstract Optional<GraphAsDot.AsComparable<T,?>> |
sortedBy() |
Function<T,Optional<GraphAsDot.SubGraph<T>>> |
subGraph() |
String |
subGraphIdSeparator() |
@Value.Default public String subGraphIdSeparator()
@Value.Default public Function<T,Optional<GraphAsDot.SubGraph<T>>> subGraph()
public abstract Optional<GraphAsDot.AsComparable<T,?>> sortedBy()
@Value.Default public String label()
public static <T> ImmutableGraphAsDot.Builder<T> builder(Function<T,String> nodeAsId)
Copyright © 2023. All rights reserved.