EdgeContext Class
abstract class EdgeContext[VD, ED, A] extends AnyRefInstance constructor:
new EdgeContext()
Abstract active members:
abstract def attr: ED
The attribute associated with the edge.
abstract def dstAttr: VD
The vertex attribute of the edge's destination vertex.
abstract def dstId: VertexId
The vertex id of the edge's destination vertex.
abstract def sendToDst(msg: A): Unit
Sends a message to the destination vertex.
abstract def sendToSrc(msg: A): Unit
Sends a message to the source vertex.
abstract def srcAttr: VD
The vertex attribute of the edge's source vertex.
abstract def srcId: VertexId
The vertex id of the edge's source vertex.Example:
Reference:
Last updated
Was this helpful?