<｜begin▁of▁sentence｜>### Instruction:
Imagine you're examining a cosmic system where two celestial currents, designated as `g1_stream` and `g2_stream`, flow towards a central black hole clustered at the node labeled '1'. The current `g1_stream` emerges from this black hole and directs stellar material to the surrounding celestial bodies marked as '2' and '3', with the force of the flow charted at intensities 5 and 8, respectively. In contrast, the `g2_stream` represents influx, with matter from bodies '2' and '3' spiraling inward towards the singularity '1', each propelled with forces measuring 3 and 1, respectively.

In your cosmic investigation, how might you employ the astronomical instrument, known as the `networkx_classes_coreviews_unionatlas`, to amalgamate and inspect the characteristics of these stellar fluxes tied to the central singularity, node '1', from both currents `g1_stream` and `g2_stream`? Your task is to elucidate the method by which the forces acting upon node '1' from both currents can be observed in unison.
### Response:
import networkx as nx

# Create two graphs
g1 = nx.DiGraph()
g1.add_edge(1, 2, weight=5)
g1.add_edge(1, 3, weight=8)

# The second graph has the reverse edges with different weights
g2 = nx.DiGraph()
g2.add_edge(2, 1, weight=3)
g2.add_edge(3, 1, weight=1)

# Get the union atlas (a read-only view of the combined edges of the two graphs)
union_edges = nx.classes.coreviews.unionatlas(g1._succ[1], g2._pred[1])

# Iterate and print edge attributes in the union atlas
for node, attr in union_edges.items():
    print(f'Edge from 1 to {node}: {attr}')
<|EOT|>
