Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing arrowhead symbol #31

Closed
marknovak opened this issue Jul 2, 2019 · 1 comment
Closed

Changing arrowhead symbol #31

marknovak opened this issue Jul 2, 2019 · 1 comment

Comments

@marknovak
Copy link

Any chance you could (explain how to) implement an option to replace the shape/symbol of the edge arrowheads with a different shape (e.g., any of the pch options of points())? I'm trying to create a graph that uses arrowheads to positive effects and circles (pch=19) for negative effects (e.g., link). thanks

@SachaEpskamp
Copy link
Owner

This might be more tricky than it seems. The function for drawing an arrow is here: https://github.com/SachaEpskamp/qgraph/blob/master/R/DrawArrow.R (does not use a base R plotting symbol). The hardest part here is that I would need to know exactly where a node ends and a circle on the edge end ends too, such that these ending points connect to each other. That will not be very trivial I'm afraid... so I won't pick this up any time soon.

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

No branches or pull requests

2 participants