Show or hide the code nodes
qe_nodes.RdBy default ("auto") code nodes are drawn only when an edge network is
drawn, matching rENA, where nodes are part of ena.plot.network(): the
<qe-nodes> element is emitted only then. Node positions always come from
the model and set the plot extent, so the scale does not change.
Arguments
- p
A
qe_plotobject.- show
"auto"(default),"always", or"never".TRUE/FALSEare accepted as"always"/"never".- unconnected
What to draw for nodes with no drawn edges:
"dot"(default, a tiny dot that still marks the code's position) or"hide"(omit the node and its label).- positions
Node positions for this plot, replacing the model's (as rENA's
ena.plot.network(node.positions =)): a data frame / matrix /rotation$nodes-like table with a code column (the model's node id column,code, or row names) and two numeric columns (the model's x / y columns when present, else the first two numeric ones). A subset of codes moves only those nodes. Edges, node sizes, labels and the plot extent all follow the new positions.- labels
Display text per code: a named character vector (
c(Technical.Constraints = "Tech. constraints")). The code stays the node's identity (events, edges); only the drawn label changes.""draws no label for that code.- sizes
Node diameters in CSS pixels at zoom 1, per code: a named numeric vector (
c(Data = 24)), in place of the size from the node's edge weights. Codes not listed keep the computed size; unconnected nodes stay a tiny dot (or hidden).- fixed_size
Logical.
TRUEkeeps node diameters at their zoom-1 on-screen size when the plot is zoomed. DefaultFALSE(nodes grow with the zoom).