Extractors for weighted and/or labeled undirected edges.
object StringLabel extends LEdgeImplicits[String]
import StringLabel._
val lE = (n1 ~+ n2)(label)
lE match { case LUnDiEdge(s, t, l) => f(s, t, l) } // constructor pattern
lE match { case s :~ t + l => f(s, t, l) } // infix op patternval lkE = (n1 ~+# n2)(label)
lkE match { case s :~ t + l => f(s, t, l) }
Extractors for weighted and/or labeled undirected edges.