EdgeProto-class {dynamicGraph}R Documentation

Class "EdgeProto"

Description

A skeleton class for the classes of edges.

Objects from the Class

Objects can be created by calls of the form new("EdgeProto", ...). Objects has the methods for extracting and setting the slots for edges, and the method for drawing the edge.

Slots

vertex.indices:
Object of class "numeric": The vertex.indices of the vertices of the edge.
width:
Object of class "numeric": The width of the edge.
color:
Object of class "character": The color of the edge.
label:
Object of class "character": The label of the edge.
label.position:
Object of class "numeric": The label.position of the edge.

Extends

Class "NodeProto", directly.

Methods

draw
signature(object = "EdgeProto"): ...
label<-
signature(x = "EdgeProto"): Set the label of the edge.
label
signature(object = "EdgeProto"): Return the label of the edge.
name
signature(object = "EdgeProto"): Return the name, equal to the label, of the edge.
nodeIndicesOfEdge<-
signature(x = "EdgeProto"): Set the indices of the vertices of the edge.
nodeIndicesOfEdge
signature(object = "EdgeProto"): Return the indices of the vertices of the edge.
width<-
signature(x = "EdgeProto"): Set the width of the edge.
width
signature(object = "EdgeProto"): Return the width of the edge.

Author(s)

Jens Henrik Badsberg

See Also

VertexEdgeProto-class, BlockEdgeProto-class, FactorEdgeProto-class.


[Package Contents]