Learn R Programming

dynamicGraph (version 0.2.2.6)

dg.Node-class: Class dg.Node

Description

A skeleton class for the classes of vertices, edges and block objects.

Arguments

Objects from the Class

The objects has the slots and methods relevant to vertices, edges and blocks.

Slots

color:
Object of class "character" with the color of the object.
label:
Object of class "character" with the label of the object.
label.position:
Object of class "numeric" with the label.positions of the object.

Methods

addToPopups
signature(object = "dg.Node"): Add items to the pop up menu (nodePop\-upMenu) of the object by tkadd.
color<-
signature(x = "dg.Node"): Set the color of the object.
color
signature(object = "dg.Node"): Return the color of the object.
label<-
signature(x = "dg.Node"): Set the label of the object.
label
signature(object = "dg.Node"): Return the label of the object.
labelPosition<-
signature(x = "dg.Node"): Set the label.position of the object.
labelPosition
signature(object = "dg.Node"): Return the label.position of the object.
propertyDialog
signature(object = "dg.Node"): Open a Tk/tcl-window with the slots of the node.
setSlots
signature(object = "dg.Node"): ...

See Also

dg.Vertex-class, dg.Edge-class, dg.Block-class.