open fun addEdge(startFrom: V, endWith: V, value: E, isOriented: Boolean = true, isDynamicWeight: Boolean = false, hasWeight: Boolean = true, weight: Double = Edge.DefaultWeight): Edge<V, E>
Content copied to clipboard
Creates and add a new edge to the graph by several parameters. If startFrom or endWith values don't present in graph them will be added as new vertexes.