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:
G1Graph

The target graph that is modified.

G2Graph

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

nodeNode

The specific node to set.