MiRA shows a network in several views, each opened by a button in MiRA's
toolbar. MiRA calls them modes, hence the functions' names; this
documentation says view, and both words mean the same thing. A
mira_mode_*() component opens the plot in that view; without one, MiRA
opens in the network view (network mode), the stack of layers.
Everything can still be changed in MiRA, including the view.
mira_mode_grid(): the layers side by side.mira_mode_map(): the layers on a geographic map.mira_mode_layer(): one bubble per layer, linked by shared nodes and interlayer links.mira_mode_meta(): the network aggregated over layers.mira_mode_dashboard(): summary charts.mira_mode_data(): the data tables.
Details
One view per plot. A plot opens in one view. A later
mira_mode_*() of another view replaces the earlier one, with a warning;
a later one of the same view changes only the arguments it gives. To
show a network in two views, make two plots. To open a network in any
view with MiRA's defaults, use plot_mira() with mode.
What applies where. The other components of the plot apply in the views where MiRA uses them:
| Component | network | grid | map | layer | meta | dashboard, data |
mira_layout() | yes | yes | yes | inside the bubbles | ||
mira_node() | yes | yes | yes | shapes | ||
mira_intralayer() | yes | yes | yes | |||
mira_interlayer() | yes | yes | ||||
mira_layer() colors | yes | yes | yes | color_by | ||
mira_node(highlight = ) | yes | yes | yes | yes | ||
mira_filter() | yes | yes | yes | layers only | ||
mira_camera() | yes | |||||
mira_legends() | yes | yes | yes | position, show = FALSE | position, show = FALSE |
R warns when mira_filter() or mira_camera() is combined with a view
that does not use it. The meta-network has its own layer filter, which
dims the other layers instead: mira_mode_meta(layers = ). The layer
view and the meta-network have their own legends, which start open; the
legend names of mira_legends() are those of the network, grid and map
views.
See also
plot_mira() to open a network in a view with MiRA's defaults.
Other components:
mira_camera(),
mira_filter(),
mira_interlayer(),
mira_intralayer(),
mira_layer(),
mira_layout(),
mira_legends(),
mira_mode_dashboard(),
mira_mode_data(),
mira_mode_grid(),
mira_mode_layer(),
mira_mode_map(),
mira_mode_meta(),
mira_node()
