Build a UMG from a qgraph object or weighted adjacency matrix
Source:R/converters_extra.R
umg_from_qgraph.RdTranslates a network-psychometric object into a Gaussian-graphical
UMG. A qgraph object is reduced to its weights matrix; a plain
numeric matrix is treated directly as a (partial) association
matrix. Nonzero off-diagonal entries become symmetric cov edges
among observed continuous vertices. As the article notes, the UMG
displays an estimated network but does not by itself specify it,
since the structure is a picture of fitted quantities.