Spaces:
Running
Running
Update sample_data.py
Browse files- sample_data.py +30 -30
sample_data.py
CHANGED
|
@@ -250,51 +250,56 @@ SYNOPTIC_CHART_JSON = """
|
|
| 250 |
|
| 251 |
RADIAL_DIAGRAM_JSON = """
|
| 252 |
{
|
| 253 |
-
"central_node": "
|
| 254 |
"nodes": [
|
| 255 |
{
|
| 256 |
-
"id": "
|
| 257 |
-
"label": "
|
| 258 |
-
"relationship": "
|
| 259 |
"subnodes": [
|
| 260 |
-
{"id": "
|
| 261 |
-
{"id": "
|
|
|
|
| 262 |
]
|
| 263 |
},
|
| 264 |
{
|
| 265 |
-
"id": "
|
| 266 |
-
"label": "
|
| 267 |
-
"relationship": "
|
| 268 |
"subnodes": [
|
| 269 |
-
{"id": "
|
| 270 |
-
{"id": "
|
|
|
|
| 271 |
]
|
| 272 |
},
|
| 273 |
{
|
| 274 |
-
"id": "
|
| 275 |
-
"label": "
|
| 276 |
"relationship": "applied in",
|
| 277 |
"subnodes": [
|
| 278 |
-
{"id": "
|
| 279 |
-
{"id": "
|
|
|
|
| 280 |
]
|
| 281 |
},
|
| 282 |
{
|
| 283 |
-
"id": "
|
| 284 |
-
"label": "
|
| 285 |
-
"relationship": "
|
| 286 |
"subnodes": [
|
| 287 |
-
{"id": "
|
| 288 |
-
{"id": "explainability", "label": "Explainability
|
|
|
|
| 289 |
]
|
| 290 |
},
|
| 291 |
{
|
| 292 |
-
"id": "
|
| 293 |
-
"label": "Future AI
|
| 294 |
-
"relationship": "
|
| 295 |
"subnodes": [
|
| 296 |
-
{"id": "
|
| 297 |
-
{"id": "quantum_ai", "label": "Quantum AI", "relationship": "e.g."}
|
|
|
|
| 298 |
]
|
| 299 |
}
|
| 300 |
]
|
|
@@ -641,7 +646,6 @@ CONCEPT_MAP_JSON = """
|
|
| 641 |
}
|
| 642 |
"""
|
| 643 |
|
| 644 |
-
# JSON for Synoptic Chart (horizontal hierarchy) - AI related, 4 levels
|
| 645 |
SYNOPTIC_CHART_JSON = """
|
| 646 |
{
|
| 647 |
"central_node": "AI Project Lifecycle",
|
|
@@ -725,7 +729,6 @@ SYNOPTIC_CHART_JSON = """
|
|
| 725 |
}
|
| 726 |
"""
|
| 727 |
|
| 728 |
-
# JSON for Radial Diagram (central expansion) - AI related, 3 levels with 5->10 structure
|
| 729 |
RADIAL_DIAGRAM_JSON = """
|
| 730 |
{
|
| 731 |
"central_node": "AI Core Concepts & Domains",
|
|
@@ -850,7 +853,6 @@ PROCESS_FLOW_JSON = """
|
|
| 850 |
}
|
| 851 |
"""
|
| 852 |
|
| 853 |
-
# New JSON for Work Breakdown Structure (WBS) Diagram - similar to image, but not identical
|
| 854 |
WBS_DIAGRAM_JSON = """
|
| 855 |
{
|
| 856 |
"project_title": "AI Model Development Project",
|
|
@@ -952,7 +954,6 @@ WBS_DIAGRAM_JSON = """
|
|
| 952 |
}
|
| 953 |
"""
|
| 954 |
|
| 955 |
-
# JSON for Timeline Diagram
|
| 956 |
TIMELINE_JSON = """
|
| 957 |
{
|
| 958 |
"title": "Complete History of Artificial Intelligence",
|
|
@@ -1335,7 +1336,6 @@ CLASS_DIAGRAM_JSON = """
|
|
| 1335 |
}
|
| 1336 |
"""
|
| 1337 |
|
| 1338 |
-
# JSON for Entity Relationship Diagram
|
| 1339 |
ENTITY_RELATIONSHIP_JSON = """
|
| 1340 |
{
|
| 1341 |
"entities": [
|
|
|
|
| 250 |
|
| 251 |
RADIAL_DIAGRAM_JSON = """
|
| 252 |
{
|
| 253 |
+
"central_node": "Artificial Intelligence",
|
| 254 |
"nodes": [
|
| 255 |
{
|
| 256 |
+
"id": "machine_learning",
|
| 257 |
+
"label": "Machine Learning",
|
| 258 |
+
"relationship": "learns through",
|
| 259 |
"subnodes": [
|
| 260 |
+
{"id": "supervised", "label": "Supervised Learning", "relationship": "e.g."},
|
| 261 |
+
{"id": "unsupervised", "label": "Unsupervised Learning", "relationship": "e.g."},
|
| 262 |
+
{"id": "reinforcement", "label": "Reinforcement Learning", "relationship": "e.g."}
|
| 263 |
]
|
| 264 |
},
|
| 265 |
{
|
| 266 |
+
"id": "neural_networks",
|
| 267 |
+
"label": "Neural Networks",
|
| 268 |
+
"relationship": "built with",
|
| 269 |
"subnodes": [
|
| 270 |
+
{"id": "deep_learning", "label": "Deep Learning", "relationship": "e.g."},
|
| 271 |
+
{"id": "cnns", "label": "CNNs", "relationship": "e.g."},
|
| 272 |
+
{"id": "transformers", "label": "Transformers", "relationship": "e.g."}
|
| 273 |
]
|
| 274 |
},
|
| 275 |
{
|
| 276 |
+
"id": "ai_applications",
|
| 277 |
+
"label": "AI Applications",
|
| 278 |
"relationship": "applied in",
|
| 279 |
"subnodes": [
|
| 280 |
+
{"id": "nlp", "label": "Natural Language Processing", "relationship": "e.g."},
|
| 281 |
+
{"id": "computer_vision", "label": "Computer Vision", "relationship": "e.g."},
|
| 282 |
+
{"id": "robotics", "label": "Robotics", "relationship": "e.g."}
|
| 283 |
]
|
| 284 |
},
|
| 285 |
{
|
| 286 |
+
"id": "ai_ethics",
|
| 287 |
+
"label": "AI Ethics",
|
| 288 |
+
"relationship": "guided by",
|
| 289 |
"subnodes": [
|
| 290 |
+
{"id": "bias_fairness", "label": "Bias & Fairness", "relationship": "e.g."},
|
| 291 |
+
{"id": "explainability", "label": "Explainability", "relationship": "e.g."},
|
| 292 |
+
{"id": "privacy", "label": "Privacy Protection", "relationship": "e.g."}
|
| 293 |
]
|
| 294 |
},
|
| 295 |
{
|
| 296 |
+
"id": "future_ai",
|
| 297 |
+
"label": "Future AI",
|
| 298 |
+
"relationship": "evolving toward",
|
| 299 |
"subnodes": [
|
| 300 |
+
{"id": "agi", "label": "Artificial General Intelligence", "relationship": "e.g."},
|
| 301 |
+
{"id": "quantum_ai", "label": "Quantum AI", "relationship": "e.g."},
|
| 302 |
+
{"id": "brain_interfaces", "label": "Brain-Computer Interfaces", "relationship": "e.g."}
|
| 303 |
]
|
| 304 |
}
|
| 305 |
]
|
|
|
|
| 646 |
}
|
| 647 |
"""
|
| 648 |
|
|
|
|
| 649 |
SYNOPTIC_CHART_JSON = """
|
| 650 |
{
|
| 651 |
"central_node": "AI Project Lifecycle",
|
|
|
|
| 729 |
}
|
| 730 |
"""
|
| 731 |
|
|
|
|
| 732 |
RADIAL_DIAGRAM_JSON = """
|
| 733 |
{
|
| 734 |
"central_node": "AI Core Concepts & Domains",
|
|
|
|
| 853 |
}
|
| 854 |
"""
|
| 855 |
|
|
|
|
| 856 |
WBS_DIAGRAM_JSON = """
|
| 857 |
{
|
| 858 |
"project_title": "AI Model Development Project",
|
|
|
|
| 954 |
}
|
| 955 |
"""
|
| 956 |
|
|
|
|
| 957 |
TIMELINE_JSON = """
|
| 958 |
{
|
| 959 |
"title": "Complete History of Artificial Intelligence",
|
|
|
|
| 1336 |
}
|
| 1337 |
"""
|
| 1338 |
|
|
|
|
| 1339 |
ENTITY_RELATIONSHIP_JSON = """
|
| 1340 |
{
|
| 1341 |
"entities": [
|