Skip to content

Commit

Permalink
Remove layout_sfnetwork class
Browse files Browse the repository at this point in the history
  • Loading branch information
loreabad6 committed Jan 23, 2024
1 parent 0bcd3ba commit d7715c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/tbl_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ create_layout.tbl_graph <- function(graph, layout, circular = FALSE, ...) {
'layout_ggraph',
class(layout)
)
if (inherits(graph, 'sfnetwork')) {
class(layout) <- append('layout_sfnetwork', class(layout))
}
check_layout(layout)
}
collect_edges.layout_tbl_graph <- function(layout) {
Expand Down

0 comments on commit d7715c4

Please sign in to comment.