NodeMethods

flatgraph.traversal.NodeMethods
final class NodeMethods(node: GNode) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def both: Iterator[GNode]

follow all OUT and IN edges to their adjacent nodes

follow all OUT and IN edges to their adjacent nodes

Attributes

def both(edgeLabel: String): Iterator[GNode]

follow the given IN and OUT edge(s) to their adjacent nodes

follow the given IN and OUT edge(s) to their adjacent nodes

Attributes

def bothE: Iterator[Edge]

follow all OUT and IN edge(s)

follow all OUT and IN edge(s)

Attributes

def bothE(edgeLabel: String): Iterator[Edge]

follow the given OUT and IN edge(s)

follow the given OUT and IN edge(s)

Attributes

def in: Iterator[GNode]

follow all IN edges to their adjacent nodes

follow all IN edges to their adjacent nodes

Attributes

def in(edgeLabel: String): Iterator[GNode]

follow the given IN edge(s) to their adjacent nodes

follow the given IN edge(s) to their adjacent nodes

Attributes

def inE: Iterator[Edge]

follow all IN edge(s)

follow all IN edge(s)

Attributes

def inE(edgeLabel: String): Iterator[Edge]

follow the given IN edge(s)

follow the given IN edge(s)

Attributes

def out: Iterator[GNode]

follow all OUT edges to their adjacent nodes

follow all OUT edges to their adjacent nodes

Attributes

def out(edgeLabel: String): Iterator[GNode]

follow the given OUT edge(s) to their adjacent nodes

follow the given OUT edge(s) to their adjacent nodes

Attributes

def outE: Iterator[Edge]

follow all OUT edge(s)

follow all OUT edge(s)

Attributes

def outE(edgeLabel: String): Iterator[Edge]

follow the given OUT edge(s)

follow the given OUT edge(s)

Attributes

def propertiesMap: Map[String, AnyRef]
def property[ValueType](propertyKey: SinglePropertyKey[ValueType]): ValueType
def property[ValueType](propertyKey: OptionalPropertyKey[ValueType]): Option[ValueType]
def property[ValueType](propertyKey: MultiPropertyKey[ValueType]): IndexedSeq[ValueType]
def property[ValueType >: Null](name: String): ValueType

lookup property value by name - warning, this may return null if property is unset

lookup property value by name - warning, this may return null if property is unset

Attributes

def propertyOption[ValueType](propertyKey: SinglePropertyKey[ValueType]): Option[ValueType]
def propertyOption[ValueType](propertyKey: OptionalPropertyKey[ValueType]): Option[ValueType]
def propertyOption[ValueType](propertyKey: MultiPropertyKey[ValueType]): Option[IndexedSeq[ValueType]]
def propertyOption[ValueType](name: String): Option[ValueType]