This Python application that builds an undirected graph using an adjacency list.
214
This Docker image contains a Python application that builds an undirected graph using an adjacency list. The graph is represented as a dictionary where each node points to a list of adjacent nodes.
To use this application:
Pull the Docker image: docker pull yourusername/adjacency-graph
Run the container: docker run yourusername/adjacency-graph
The default graph has edges (1, 2), (1, 3), and (2, 4), but you can modify adjacency_graph.py to add custom edges.
Content type
Image
Digest
sha256:304f9aba5…
Size
47.4 MB
Last updated
almost 2 years ago
docker pull sav10032000/adjacency-graph