Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

returnExtraEdgeList

Class dg.ExtraEdgeList: The extra edge list


Description

Return a list of extra edges, each of class dg.ExtraEdge.

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

Usage

returnExtraEdgeList(edge.list, vertices, extravertices = NULL,
                    width = 2, color = "DarkSlateGrey", N = 3, type = NULL)

Arguments

edge.list

A list of vectors identifying the edges (between vertices). Each vector of edge.list should be a vector of integers giving the indices of the vertices of an edge, positive for vertices, negative for extra vertices, or a vector of text strings with the names of the vertices.

vertices

The list of vertices, each of a class containing dg.Vertex.

extravertices

The list of extravertices, each of a class containing dg.ExtraVertex.

width

A numeric with the initial width of the extra edges.

color

A text string giving the initial color of the extra edges.

N

Integer, N is the number of coordinates of the vertices.

type

A text string giving the type of the extra edges.

Value

A list of edges, each of class dg.ExtraEdge.

Slots

.Data:

Object of class "list".

Extends

Class "dg.EdgeList", directly. Class "dg.list", directly. Class "list", from data part. Class "dg.NodeList", by class "dg.EdgeList". Class "vector", by class "dg.EdgeList". Class "vector", by class "dg.list". Class "vector", by class "list".

Methods

initialize

signature(.Object = "dg.ExtraEdgeList"): ...

Note

The methods of the edge list, returnEdgeList, also applies for extra edge lists.

The application is similar to returnBlockEdgeList, see example here.

Author(s)

Jens Henrik Badsberg

See Also


dynamicGraph

dynamicGraph

v0.2.2.6
GPL (>= 2)
Authors
Jens Henrik Badsberg <coco@badsberg.eu>
Initial release
2010/01/30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.