ZahirJS commited on
Commit
6c2a865
·
verified ·
1 Parent(s): 7c42310

Update network_graph_generator.py

Browse files
Files changed (1) hide show
  1. network_graph_generator.py +3 -0
network_graph_generator.py CHANGED
@@ -11,6 +11,9 @@ def generate_network_graph(json_input: str, output_format: str) -> str:
11
  json_input (str): A JSON string describing the network graph structure.
12
  It must follow the Expected JSON Format Example below.
13
 
 
 
 
14
  Expected JSON Format Example:
15
  {
16
  "nodes": [
 
11
  json_input (str): A JSON string describing the network graph structure.
12
  It must follow the Expected JSON Format Example below.
13
 
14
+ output_format (str): The output format for the generated diagram.
15
+ Supported formats: "png" or "svg"
16
+
17
  Expected JSON Format Example:
18
  {
19
  "nodes": [