Skip to contents

Retrieves the nodes in a graph that have no children under a certain node or group of nodes

Usage

get_leaves_under(graph, nodes)

Arguments

graph

A graph object

nodes

A character vector of nodes to find leaves for

Value

A character vector of nodes