public class ReLogoEdgeCreator
Constructor and description |
---|
ReLogoEdgeCreator
(LinkFactory lF, Class<? extends BaseLink> linkClass) |
Type Params | Return Type | Name and description |
---|---|---|
|
Link |
createEdge(Object source, Object target, boolean isDirected, double weight) Creates an Edge with the specified source, target, direction and weight. |
|
Class |
getEdgeType() Gets the edge type produced by this EdgeCreator. |
Creates an Edge with the specified source, target, direction and weight.
source
- the edge sourcetarget
- the edge targetisDirected
- whether or not the edge is directedweight
- the weight of the edgeGets the edge type produced by this EdgeCreator.