Creates a formatted node table for visualisation with visNetwork. Includes styling and formatting for interactive network display.
Arguments
- mcmodule
(mcmodule object). Module containing network structure.
- variate
(integer). Which variate to extract. Default: 1.
- color_pal
(character vector, optional). Custom colour palette for nodes. Default: NULL.
- color_by
(character, optional). Column name to determine node colours. Default: NULL.
- inputs
(logical). If TRUE, include non-node inputs. Default: FALSE.
