- java.lang.Object
-
- life.expert.common.graph.RenderGraphStrategy.ValueStrategy<N,V>
-
- Type Parameters:
N- the type parameterV- the type parameter
- All Implemented Interfaces:
RenderGraphStrategy<N>
- Enclosing interface:
- RenderGraphStrategy<N>
public static class RenderGraphStrategy.ValueStrategy<N,V> extends java.lang.Object implements RenderGraphStrategy<N>
The type Render graph value strategy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface life.expert.common.graph.RenderGraphStrategy
RenderGraphStrategy.DefaultStrategy<N>, RenderGraphStrategy.NetworkStrategy<N,E>, RenderGraphStrategy.ValueStrategy<N,V>
-
-
Constructor Summary
Constructors Constructor Description ValueStrategy()
-
Method Summary
Modifier and Type Method Description booleanisDirected()Is directed boolean.java.lang.StringrenderToString(@NonNull java.util.Map<N,java.lang.String> markNodes, @NonNull java.util.Map<com.google.common.graph.EndpointPair<N>,java.lang.String> markEdges)Render to string string.
-
-
-
Method Detail
-
isDirected
public boolean isDirected()
Description copied from interface:RenderGraphStrategyIs directed boolean.- Specified by:
isDirectedin interfaceRenderGraphStrategy<N>- Returns:
- the boolean
-
renderToString
public java.lang.String renderToString(@NonNull @NonNull java.util.Map<N,java.lang.String> markNodes, @NonNull @NonNull java.util.Map<com.google.common.graph.EndpointPair<N>,java.lang.String> markEdges)Description copied from interface:RenderGraphStrategyRender to string string.- Specified by:
renderToStringin interfaceRenderGraphStrategy<N>- Parameters:
markNodes- the mark nodesmarkEdges- the mark edges- Returns:
- the string
-
-