node.labs not working for alphanumeric alpha.ids
Opened this issue · 0 comments
jrgant commented
qd_dag needs to check for pre-existing labels in nodes with alphanumeric node.ids because these nodes are assigned a label at graph creation (to subscript the number)
For instance:
edges <- c("A1 -> Y") labs <- c("A1" = "Exposure", "Y" = "Outcome" qd_dag(edges, node.labs = labs) %>% render_graph()
will update the Y node's label but not A1's.