edge

inline fun <V : Any, E : Any> edge(startFrom: V, endWith: V, value: E, isOriented: Boolean = true, hasWeight: Boolean = true, weight: Double = Edge.DefaultWeight): Edge<V, E>

Creates a static edge.

inline fun <V : Any, E : AbstractEdge> edge(startFrom: V, endWith: V, value: E): Edge<V, E>

Creates a custom edge.