Skip to content

Added global options for consort plot parameters#32

Merged
adayim merged 1 commit intoadayim:mainfrom
Ramsas88:updates
Apr 2, 2026
Merged

Added global options for consort plot parameters#32
adayim merged 1 commit intoadayim:mainfrom
Ramsas88:updates

Conversation

@Ramsas88
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor 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.

@adayim adayim self-requested a review April 2, 2026 12:54
Copy link
Copy Markdown
Owner

@adayim adayim left a comment

Choose a reason for hiding this comment

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

I made some changes. I don't think you have added adsl data information in the data.R file. I have to delete it if there is no documentation about this data. I think we can remove the new vignette as I have updated the old vignette.

@adayim adayim merged commit 5524383 into adayim:main Apr 2, 2026
1 of 6 checks passed
@Ramsas88
Copy link
Copy Markdown
Contributor Author

Ramsas88 commented Apr 2, 2026 via email

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