graph (version 1.50.0)

simpleEdge-class: Class "simpleEdge".

Description

A simple class for representing edges in graphs.

Arguments

Objects from the Class

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

Slots

edgeType:
Object of class "character"; the type of the edge.
weight:
Object of class "numeric"; the edge weight.
directed:
Object of class "logical"; is the edge directed.
bNode:
Object of class "character"; the beginning node.
eNode:
Object of class "character"; the ending node.

Methods

No methods defined with class "simpleEdge" in the signature.

Examples

Run this code
  new("simpleEdge", bNode="A", eNode="D")

Run the code above in your browser using DataCamp Workspace