returnExtraEdgeList: Class dg.ExtraEdgeList: The extra edge list

Description Usage Arguments Value Slots Extends Methods Note Author(s) See Also

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

1
2
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

returnFactorEdgeList and returnBlockEdgeList.


dynamicGraph documentation built on May 2, 2019, 6:38 a.m.