weightOf

fun weightOf(a: A, b: A): Double?(source)

Weight of the edge from a to b, or null if there is no such edge.