package
defaults
Type Members
-
final
case class
DefaultGraph[E, N, M](value: M, edges: Iterable[E], nodes: Iterable[N], incoming: Map[N, Iterable[E]], outgoing: Map[N, Iterable[E]]) extends Product with Serializable
-
final
case class
Edge[V, N](value: V, head: N, tail: N) extends Product with Serializable
-
final
case class
Node[X](value: X, label: Option[String] = None)(implicit identifiable: Identifiable[X]) extends Product with Serializable
Value Members
-
-
-
implicit
def
emptyOption[T]: Empty[Option[T]]
-
implicit
def
emptyUnit: Empty[Unit]
-
implicit
def
identifiableNode[X]: Identifiable[Node[X]]
-
implicit
def
identifiableNumeric[N](implicit numeric: Numeric[N]): Identifiable[N]
-
implicit
def
identifiableString[X]: Identifiable[String]
-
implicit
def
labeledEdge[E[_, _], V, N](implicit edge: EdgeType[E], labeled: Labeled[V, String]): Labeled[E[V, N], String]
-
def
n[X](value: X, label: Option[String] = None)(implicit identifiable: Identifiable[X]): Node[X]
-
implicit
def
numericLabel[T](implicit numeric: Numeric[T]): Labeled[T, String]
-
implicit
def
stringLabel: Labeled[String, String]
-
implicit
def
unitLabel: Labeled[Unit, String]