Main Overview

Class Edge

Class Edge: Edge of a Graph

Overview:

Constructor

Edge (source, target, weight=0, highlight=False)

Operators

OperatorMeaning
str(x)

Object Methods

MethodMeaning
adjacentNode (node)
isIncidentNode (node)

Constructor

Edge

Constructor

Usage: Edge(source, target, weight=0, highlight=False)


Operators

str(x)

Object representation as string

Usage: str(x)

Description:


Object Methods

adjacentNode

Usage: self.adjacentNode(node)


isIncidentNode

Usage: self.isIncidentNode(node)