pywhy_graphs.functional.set_node_attributes_with_G#

pywhy_graphs.functional.set_node_attributes_with_G(G1, G2, node)[source]#

Set node attributes in G1 using G2.

Parameters:

G1 : Graph

The target graph that is modified.

G2 : Graph

The source graph that is used to set the node attributes.

node : Node

The specific node to set.