Options of dynamicGraphMain and simpleGraphtoGraph
Allow the user to set some characteristics of 'dynamicGraphMain' and 'DynamicGraph'.
dg.control(label = "dynamicGraph", width = 400, height = 400, w = 6, margin = 100, closeenough = 2, background = "white", transformation = NULL, permitZoom = TRUE, UserMenus = NULL, constrained = FALSE, vertexColor = "red", extraVertexColor = "white", edgeColor = "black", factorVertexColor = "default", factorEdgeColor = "brown", blockEdgeColor = "default", blockColors = NULL, extraEdgeColor = "peru", drawblocks = TRUE, right.to.left = FALSE, nested.blocks = FALSE, overlaying = TRUE, fixedFactorPositions = FALSE, diagonal = TRUE, N = 3, vertexClasses = validVertexClasses(), factorClasses = validFactorClasses(), edgeClasses = validEdgeClasses(), viewClasses = validViewClasses(), drawBlockFrame = TRUE, drawBlockBackground = FALSE, useNamesForLabels = TRUE, namesOnEdges = TRUE, updateEdgeLabels = TRUE, enterLeaveUpdate = TRUE, updateAllViews = TRUE, saveTkReferences = TRUE, saveFunctions = TRUE, returnNull = FALSE, hasMethods = TRUE, variableFrame = TRUE, debug.strata = FALSE, debug.edges = FALSE, debug.position = FALSE, debug.update = FALSE, ...)
label |
Text string with the title set on the graph window.
( |
width |
Integer with the width of the plot canvas.
( |
height |
Integer with the height of the plot canvas.
( |
w |
The |
margin |
Integer, the width of the margin round the canvas.
( |
closeenough |
Parameter for whether the mouse is close enough
when clicking an object of the graph window,
see |
background |
The color of the canvas of the graph window,
default: "white".
( |
transformation |
NULL,
or rotation matrix for projecting the positions
of the vertices, blocks, etc. onto the canvas.
( |
permitZoom |
Logical. If FALSE then zooming is disabled,
and no margin around the canvas is set.
( |
vertexColor |
Single text string.
Colors of new vertices created in
|
extraVertexColor |
Single text string.
As |
edgeColor |
Single text string.
|
factorVertexColor |
Single text string.
|
factorEdgeColor |
Single text string.
|
blockEdgeColor |
"default", or list with two text strings for colors.
|
blockColors |
List of colors of blocks.
Similar to |
extraEdgeColor |
Single text string.
|
drawblocks |
Logical. If |
right.to.left |
Logical. If |
nested.blocks |
Logical. If |
overlaying |
Logical. If |
fixedFactorPositions |
Logical. If |
diagonal |
Logical. If |
N |
The number, |
vertexClasses |
Returned value from |
factorClasses |
Returned value from |
edgeClasses |
Returned value from |
viewClasses |
Returned value from |
drawBlockFrame |
Logical.
If TRUE then frames are drawn around blocks.
( |
drawBlockBackground |
Logical. If TRUE then a |
useNamesForLabels |
Logical. If |
namesOnEdges |
Logical. If FALSE then the names of the vertices
are not set on the edge as label.
( |
updateEdgeLabels |
Logical. If FALSE then the edge labels
are not cleared when the model is updated.
( |
enterLeaveUpdate |
Logical. If FALSE then the graph window
is not redrawn when the mouse enters and leaves the graph window.
( |
UserMenus |
List with user defined menu items for main menu
and pop up menus. See |
constrained |
Logical. If |
hasMethods |
Logical.
If TRUE then the |
saveTkReferences |
Logical, if |
saveFunctions |
Logical, if |
returnNull |
Logical, if |
updateAllViews |
Logical.
If TRUE then all windows are updated when one is changed.
( |
variableFrame |
Logical.
If |
debug.strata |
Logical for tracing the strata of the vertices
(also in plot).
( |
debug.edges |
Logical for tracing edges (also by labels in plot).
( |
debug.position |
Logical for tracing positions of the vertices.
( |
debug.update |
Logical for tracing redrawing of the graph window.
( |
... |
Additional deprecated arguments, e.g., |
A 'list' with components with meanings as explained under 'Arguments'.
The arguments of dg.control
can also be given to
dynamicGraphMain
and DynamicGraph
(for backward compatibility).
But if the argument control
is used for
dynamicGraphMain
or DynamicGraph
then these arguments are ignored.
Jens Henrik Badsberg
require(dynamicGraph) str(dg.control())
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.