Skip to content

Fix node.labs not working for alphanumeric alpha.ids #4

@jrgant

Description

@jrgant

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions