Generates an interactive network visualization using visNetwork library. The visualization includes interactive features for exploring model structure and relationships.
Usage
mc_network(
mcmodule,
variate = 1,
color_pal = NULL,
color_by = NULL,
legend = FALSE,
inputs = FALSE
)
Arguments
- mcmodule
An mcmodule object
- variate
Integer specifying which variate to visualize (default: 1)
- color_pal
Custom color palette for nodes (optional)
- color_by
Column name to determine node colors (optional)
- legend
Show colors legend (optional)
- inputs
Show non-node inputs: data-sets, data-frames and columns (optional)