the script below creates a process map diagram using standard built in patients data. I wish to customize the plot furthur using ggplot2 and plotly such that I can create a dynamic process diagram which is interactive. I am not getting, how to put ggplot2 in the commands below. Thank you and please help.
library(shiny)
library(shinydashboard)
library(bupaR)
library(edeaR)
library(eventdataR)
library(processmapR)
library(processmonitR)
library(xesreadR)
library(ggplot2)
library(DiagrammeR)
library(plotly)
patients %>% process_map()