RedPort-class: Class "RedPort"

Description Slots Methods Details Author(s) See Also Examples

Description

A class providing access to the RedeR application.

Slots

title:

The name of the XML-RPC port.

uri:

The uri to the XML-RPC server.

host:

The host to the XML-RPC server.

port:

The port number to the XML-RPC server.

Methods

Get node attributes from a RedeR session

getNodes
getNodeIDs

Get edge attributes from a RedeR session

getEdges
getEdgeIDs
getSourceEdgeIDs
getTargetEdgeIDs

Methods that change graph structure

addGraph
getGraph
addNodes
deleteNodes
nestNodes
updateContainerSize
mergeOutEdges
getContainerComponets
mergeNodes
addEdges
addEdgeBetweenContainers
deleteEdges
setArrowDirection

Methods to wrap up attributes and add/get graphs to/from RedeR

addGraph
getGraph
addSubgraph
addSeries
duplicateGraph

Other methods to manipulate RedeR graphs

updateGraph
selectEdges
selectNodes
selectAllEdges
selectAllNodes
selectGraph
deSelectEdges
deSelectNodes
deSelectGraph
deleteSelectedEdges
deleteSelectedNodes
isDynamicsActive

Methods to establish RedeR server connection

ping
version
calld
exitd
resetd

Details

RedPort methods invoke RedeR application via XML-RPC (remote procedure call) server. For each R method listed above there is a Java mirror that executes a callback procedure. Therefore, the Java callback engine must be initialized before any callback from RedeR (i.e. start the Java application).

Author(s)

Mauro Castro

See Also

RedPort

Examples

1
2
3
    
    # Creates a RedeR object by calling the constructor
    rdp <- RedPort('MyPort')       

RedeR documentation built on Nov. 8, 2020, 7:45 p.m.