compass.extraction.common.setup_graph_no_nodes#

setup_graph_no_nodes(**kwargs)[source]#

Setup a graph with no nodes

This function is used to set keywords on the graph that can be used in text prompts on the graph nodes.

Returns:

nx.DiGraph – Graph with no nodes but with global keywords set.