View source: R/zzz_class_directory.R
find_class_generator | R Documentation |
Find the R6 class for a Graph object
find_class_generator(props, type_filter = NULL, default_generator = ms_object)
props |
A list of object properties, generally the result of a Graph API call. |
type_filter |
An optional vector of types by which to filter the result. |
default_generator |
The default class generator to use, if a match couldn't be found. |
This function maps Graph objects to AzureGraph classes.
An R6 class generator for the appropriate AzureGraph class. If no matching R6 class could be found, the default generator is returned. If type_filter
is provided, but the matching R6 class isn't in the filter, NULL is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.