You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to build a pretty simple graph that uses styled text (a simple equation) on the edge labels, but the label_parse argument to geom_edge_link() doesn't seem to be working. Here's a reprex:
Digging into the code a tiny bit, it looks like the label_parse argument for all of the edge geoms gets processed as part of the creating the ggproto GeomEdgePath in the file geom_edge.R. If I'm reading it correctly, starting on line 125, it checks to see if label_parse is set to TRUE, and if so, parses the labels to expressions, saving the result as the variable lab_expressions. But then I can't see where lab_expressions is used anywhere else. Is that an oversight, or am I misunderstanding the code?
Excellent, thanks!!
From: Thomas Lin Pedersen <notifications@github.com>
Reply-To: thomasp85/ggraph <reply@reply.github.com>
Date: Thursday, November 12, 2020 at 2:29 PM
To: thomasp85/ggraph <ggraph@noreply.github.com>
Cc: tarball11 <travis.carter@gmail.com>, Author <author@noreply.github.com>
Subject: Re: [thomasp85/ggraph] label_parse for edges? (#245)
Closed #245 via 8e60310.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Activity
tarball11 commentedon Nov 12, 2020
Fix thomasp85#245, assign lab_expressions to lab