![]() |
GrammarScope
4.0.0
|


Classes | |
| class | DestinationOffsetFunction |
| class | SourceOffsetFunction |
Public Member Functions | |
| EdgeOffsetFunctionsImpl2 (final Comparator< E > edgeComparator) | |
| EdgeOffsetFunction< V, E > | getSourceOffsetFunction () |
| EdgeOffsetFunction< V, E > | getDestOffsetFunction () |
Protected Member Functions | |
| void | init (final Graph< V, E > graph) |
| Map< V, Map< E, Integer > > | allocate (final Graph< V, E > graph) |
Protected Attributes | |
| Map< V, Map< E, Integer > > | edgeOffsets |
| final SourceOffsetFunction | sourceOffsetFunction |
| final DestinationOffsetFunction | destinationOffsetFunction |
| final Comparator< E > | edgeComparator |
Edge offset functions. Offsets are here horizontal offsets applied to edge's x anchor point to node. This allows edges not to merge and improves visibility of edges' end points, notably arrows' tips.
| <V> | vertex type |
| <E> | edge type |
| grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.EdgeOffsetFunctionsImpl2 | ( | final Comparator< E > | edgeComparator | ) |
Constructor
| edgeComparator | edge comparator that determines allocation order |
|
protected |
Allocate node offset slots
| graph | graph |
| EdgeOffsetFunction<V, E> grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.getDestOffsetFunction | ( | ) |
Destination-end offset function
Implements grammarscope.jung2.EdgeOffsetFunctions< V, E >.
| EdgeOffsetFunction<V, E> grammarscope.jung2.EdgeOffsetFunctionsImpl2< V, E >.getSourceOffsetFunction | ( | ) |
Source-end offset function
Implements grammarscope.jung2.EdgeOffsetFunctions< V, E >.
|
protected |
Initialize
| graph | graph |
|
protected |
Destination offset function
|
protected |
Edge comparator
|
protected |
(Vertex-Edge)-indexed edge anchor-point offsets
|
protected |
Source offset function
1.8.17