Class dg.Node

Share:

Description

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

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"): ...

Author(s)

Jens Henrik Badsberg

See Also

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.