Skip to content

Added global options for consort plot parameters#32

Open
Ramsas88 wants to merge 1 commit intoadayim:mainfrom
Ramsas88:updates
Open

Added global options for consort plot parameters#32
Ramsas88 wants to merge 1 commit intoadayim:mainfrom
Ramsas88:updates

Conversation

@Ramsas88
Copy link

added global options for the below params.

Reset all to defaults

options(
consort_line_lwd = NULL, # Line width of connector arrows
consort_line_col = NULL, # Color of connector lines and arrow heads
consort_arrow_length = NULL, # Size of the arrow head(numeric=inches or pass grid::unit() 0.1
consort_arrow_type = NULL, # Arrow head style "closed" or "open"
consort_pad_u = NULL ,# Vertical and horizontal spacing between boxes
consort_bullet =NULL # Unicode character used for bullet points in side boxes
)

x = line_coords$x,
y = line_coords$y,
gp = gpar(fill = "black"),
gp = gpar(fill = col, col = col, lwd = lwd),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice but I would change this to arrow_gp parameter and make sure users pass a gpar() object. What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we can change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants