Read an Excalidraw file from a file or URL. If simplifyVector = TRUE, the
the diagram elements are returned as a data frame instead of a list. This
option makes the returned object is incompatible with the R6 methods in this
package.
xkd_read(file, excalidoc = FALSE, simplifyVector = FALSE)A file path or URL for an Excalidraw file with a JSON or excalidraw file extension.
Default FALSE. If TRUE, return a R6 ExcaliDoc class
object.
simplifies nested lists into vectors and data frames. See fromJSON().
A named list or ExcaliDoc object