Identify the bottlenecks in this distributed system diagram and propose a strategy to increase throughput.
Represent the diagram as a directed graph whose edges have capacities. Implement the function below to compute maximum throughput and identify the input edges forming a minimum cut. The recommended strategy is to increase capacity on one or more returned bottleneck edges.
edges contains [from_node, to_node, capacity] entries. Return a dictionary with max_throughput and zero-based bottleneck_edges.
def analyze_network(node_count, edges, source, sink):