Packages

package graphs

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package algorithm
  2. package cat
  3. package defaults
  4. package editor
  5. package graphml
  6. package json
  7. package layout
  8. package style

Type Members

  1. final case class Edge[+E](id: String, value: E, from: String, to: String) extends Product with Serializable

    An edge value, note that this only holds the ids of the nodes.

    An edge value, note that this only holds the ids of the nodes. You need to get the node values from the graph. This allows dangling references and removes the dependency to the node values at the creation time of the edge. That design comes from a focus on serialization but also makes operations like mapping nodes easier internally (as you do not need to rebuild the edges etc.).

    E

    the edge type

  2. trait Graph[E, N] extends AnyRef

    A representation of a Graph.

    A representation of a Graph.

    A graph represents a relationship between objects (called nodes). The relation between two objects is established by an "arrow" (called edge) between two nodes. This arrow has a direction, thereby creating incoming (pointing to a node) and outgoing edges for a node.

    A graph is parametrized by:

    E

    the value type of the edges

  3. final case class GraphInstance[E, N](nodesById: Map[String, Node[N]] = scala.collection.immutable.TreeMap.empty[String, Node[N]], incomingById: Map[String, Set[String]] = scala.collection.immutable.Map.empty[String, Set[String]], outgoingById: Map[String, Set[String]] = scala.collection.immutable.Map.empty[String, Set[String]], edgesById: Map[String, Edge[E]] = scala.collection.immutable.TreeMap.empty[String, Edge[E]]) extends Graph[E, N] with Product with Serializable
  4. trait Identifiable[-T] extends AnyRef

    Type class to define an identifier for a value

    Type class to define an identifier for a value

    Similar to the Show type class but mainly used for serialisation purposes

    T

    the node type

  5. trait Labeled[E, L] extends AnyRef

    Type class to define a label

    Type class to define a label

    E

    edge value type

    L

    label type

  6. final case class Node[+N](id: String, value: N) extends Product with Serializable
  7. final case class Relation[+E, +N](value: E, from: Node[N], to: Node[N]) extends Product with Serializable

    Edge with complete node values, makes creating edges more type safe as it can capture both types, which the Edge type can not.

    Edge with complete node values, makes creating edges more type safe as it can capture both types, which the Edge type can not.

    Mainly used for Graph.fromEdges

Value Members

  1. object Edge extends Serializable
  2. object Graph
  3. object Identifiable
  4. object Labeled
  5. object Node extends Serializable

Ungrouped