<｜begin▁of▁sentence｜>### Instruction:
Imagine you're at the hospital laboratory, diligently organizing the blood sample data. You're handed a chart resembling a lollipop graph, a sort of map that represents the pathways utilized for the blood samples' journey, labeled with various details like 'weight' and 'capacity' on some of the connecting lines—similar to how some vials might have information about volume and test type. You've been tasked with three different ways to document these connections: 

First, you need to create a straightforward list in the vein of a collection overview, where you only note down the direct connections between points without any additional details. 

Next, the laboratory supervisor asks for a comprehensive record akin to a complete labeling of each sample, detailing all the information associated with each connection, presented in a dictonary-esque format. 

Lastly, you're required to prepare a third log, this time only showing specific details for each connection—imagine including just the 'type of test' and 'priority' for a sample, omiting other data like volume.

To maintain organization and a clear trail of all the data manipulations, these records should be neatly compiled as if preparing a blood sample chart for a meticulous review. Can you transcribe and organize the pathways of our 'lollipop graph' into these three distinctive lists?
### Response:
import networkx as nx

# Create a lollipop graph
G = nx.lollipop_graph(4, 3)
# Add edge attributes
G[1][2]['weight'] = 3
G[3][4]['capacity'] = 12

# Generate edge list with no data
for line in nx.generate_edgelist(G, data=False):
    print(line)

# Output:
# 0 1
# 0 2
# 0 3
# 1 2
# 1 3
# 2 3
# 3 4
# 4 5
# 5 6

# Generate edge list with default data (dictionary format)
for line in nx.generate_edgelist(G):
    print(line)

# Output:
# 0 1 {}
# 0 2 {}
# 0 3 {}
# 1 2 {'weight': 3}
# 1 3 {}
# 2 3 {}
# 3 4 {'capacity': 12}
# 4 5 {}
# 5 6 {}

# Generate edge list with selected data keys
for line in nx.generate_edgelist(G, data=['weight']):
    print(line)

# Output:
# 0 1
# 0 2
# 0 3
# 1 2 3
# 1 3
# 2 3
# 3 4
# 4 5
# 5 6
<|EOT|>
