Skip to contents

Enables conditional formatting for different parts of the model


formatting(..., type, groups)



lists of node or edge options for each of the groups


type of conditional formatting being used, node, edge, or custom; custom only works with edges


character vector of the names of custom groups, with nodes and edges default values are set and you need to match the order: for nodes: c("latent", "obs"), for edges: c("regress", "latent", "covs"). For custom groups of edges, you must match names that you pre-multiply with coefficients in your model specification.


a formatting data frame that can work with the create_nodes and create_edges functions