BlockProto-class {dynamicGraph}R Documentation

Class "BlockProto"

Description

The class for blocks.

Objects from the Class

Objects can be created by calls of the form new("BlockProto", ...).

Slots

stratum:
Object of class "numeric", the stratum of the block.
index:
Object of class "numeric" with (minus) the index of the block, the position of the block in a block list.
ancestors:
Object of class "numeric". Integer vector for the ancestor blocks of the block.
descendants:
Object of class "numeric". Integer vector for the descendants blocks of the block. The slot with the descendant blocks is set after the creation of the block.
position:
Object of class "matrix", the position of the block, the two diagonal opposite corners.
closed:
Object of class "logical", if TRUE then the block is closed, e.i. drawn as a "vertex".
visible:
Object of class "logical", if TRUE then the block is drawn, else it is hidden in a closed block.
color:
Object of class "character", see "NodeProto".
label:
Object of class "character", see "NodeProto".
label.position:
Object of class "numeric", see "NodeProto".

Extends

Class "NodeProto", directly.

Methods

ancestors<-
signature(x = "BlockProto"): ...
ancestors
signature(object = "BlockProto"): ...
closed<-
signature(x = "BlockProto"): ...
closed
signature(object = "BlockProto"): ...
descendants<-
signature(x = "BlockProto"): ...
descendants
signature(object = "BlockProto"): ...
draw
signature(object = "BlockProto"): Method for drawing the closed block.
index<-
signature(x = "BlockProto"): ...
index
signature(object = "BlockProto"): ...
name
signature(object = "BlockProto"): Extract the label of the block.
position<-
signature(x = "BlockProto"): ...
position
signature(object = "BlockProto"): ...
stratum<-
signature(x = "BlockProto"): ...
stratum
signature(object = "BlockProto"): ...
visible<-
signature(x = "BlockProto"): ...
visible
signature(object = "BlockProto"): ...

Author(s)

Jens Henrik Badsberg

See Also

newBlock, setBlocks, setTreeBlocks, NodeProto-class.


[Package Contents]