![]() |
GrammarScope
4.0.0
|


Classes | |
| class | DestinationOffsetFunction |
| class | SourceOffsetFunction |
Public Member Functions | |
| EdgeOffsetFunctionsImpl (final EdgeIndexFunctionImpl< V, E > edgeIndexFunction) | |
| 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 EdgeIndexFunctionImpl< V, E > | edgeIndexFunction |
Private Member Functions | |
| boolean | isLeft (final Graph< V, E > graph, final E edge, final boolean incoming) |
| int | span (final E edge, final Graph< V, E > graph) |
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.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.EdgeOffsetFunctionsImpl | ( | final EdgeIndexFunctionImpl< V, E > | edgeIndexFunction | ) |
Constructor
| edgeIndexFunction | edge index function |
|
protected |
Allocate node offset slots
| graph | graph |
| EdgeOffsetFunction<V, E> grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.getDestOffsetFunction | ( | ) |
Destination-end offset function
Implements grammarscope.jung2.EdgeOffsetFunctions< V, E >.
| EdgeOffsetFunction<V, E> grammarscope.jung2.EdgeOffsetFunctionsImpl< V extends HasIndex, E >.getSourceOffsetFunction | ( | ) |
Source-end offset function
Implements grammarscope.jung2.EdgeOffsetFunctions< V, E >.
|
protected |
Initialize
| graph | graph |
|
private |
Whether edge is left
| graph | graph |
| edge | edge |
| incoming | whether edge is incoming |
|
private |
|
protected |
Destination offset function
|
protected |
Edge index function
|
protected |
(Vertex-Edge)-indexed edge anchor-point offsets
|
protected |
Source offset function
1.8.17