Directed

com.phasmidsoftware.gryphon.core.Directed
object Directed extends EdgeType

The Directed object represents a directed edge type in a graph, where the edge has a specific direction (one-way). It extends the EdgeType trait and implements the oneWay method, which always returns true to indicate that the edge is directed.

Attributes

Graph
Supertypes
trait EdgeType
class Object
trait Matchable
class Any
Self type
Directed.type

Members list

Value members

Concrete methods

def oneWay: Boolean

Indicates whether the edge is one-way (directed).

Indicates whether the edge is one-way (directed).

Attributes

Returns

true, as this method always returns true to signify that the edge is directed.

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any