We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
draw_lines
I'm looking for alternative methods to draw lines between nodes. For instance, curved arcs
or half lines:
I'm happy to write my own functions, but would like to know what the easiest method is to 'submit' the created sf linestrings to the sfnetwork object.
So far I found out: that for an sfnetwork object x created with edges_as_lines = FALSE, I can add straight lines with
sfnetwork
x
edges_as_lines = FALSE
x = sfnetworks:::explicative_edges(x)
which runs sfnetworks:::draw_lines under the hood.
sfnetworks:::draw_lines
What would be helpful is a function like for instance::
x = explicitize_edges(x, fun = draw_curved_arcs, curvature = 15)
where
draw_curved_arcs = function(sfc_from, sfc_to, curvature = 30) {... }
is a just an example similar to draw_lines but user defined.
The text was updated successfully, but these errors were encountered:
I like the idea to increase flexibility in this way. Will add it to the to-do list of v1.0
Sorry, something went wrong.
No branches or pull requests
I'm looking for alternative methods to draw lines between nodes. For instance, curved arcs
or half lines:
I'm happy to write my own functions, but would like to know what the easiest method is to 'submit' the created sf linestrings to the sfnetwork object.
So far I found out: that for an
sfnetwork
objectx
created withedges_as_lines = FALSE
, I can add straight lines withwhich runs
sfnetworks:::draw_lines
under the hood.What would be helpful is a function like for instance::
where
is a just an example similar to
draw_lines
but user defined.The text was updated successfully, but these errors were encountered: