Update sample_data.py
Browse files- sample_data.py +102 -0
sample_data.py
CHANGED
@@ -302,3 +302,105 @@ RADIAL_DIAGRAM_JSON = """
|
|
302 |
]
|
303 |
}
|
304 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
]
|
303 |
}
|
304 |
"""
|
305 |
+
|
306 |
+
PROCESS_FLOW_JSON = """
|
307 |
+
{
|
308 |
+
"start_node": "Start Order Process",
|
309 |
+
"nodes": [
|
310 |
+
{
|
311 |
+
"id": "customer_order",
|
312 |
+
"label": "Customer Places Order",
|
313 |
+
"type": "process"
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"id": "check_stock",
|
317 |
+
"label": "Check Stock Availability",
|
318 |
+
"type": "decision"
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"id": "stock_available",
|
322 |
+
"label": "Stock Available?",
|
323 |
+
"type": "decision"
|
324 |
+
},
|
325 |
+
{
|
326 |
+
"id": "process_payment",
|
327 |
+
"label": "Process Payment",
|
328 |
+
"type": "process"
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"id": "order_confirmed",
|
332 |
+
"label": "Order Confirmed",
|
333 |
+
"type": "process"
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"id": "notify_customer_oos",
|
337 |
+
"label": "Notify Customer (Out of Stock)",
|
338 |
+
"type": "process"
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"id": "end_order_process",
|
342 |
+
"label": "End Order Process",
|
343 |
+
"type": "end"
|
344 |
+
}
|
345 |
+
],
|
346 |
+
"connections": [
|
347 |
+
{"from": "start_node", "to": "customer_order", "label": "Initiate"},
|
348 |
+
{"from": "customer_order", "to": "check_stock", "label": "Proceed"},
|
349 |
+
{"from": "check_stock", "to": "stock_available", "label": "Result"},
|
350 |
+
{"from": "stock_available", "to": "process_payment", "label": "Yes"},
|
351 |
+
{"from": "stock_available", "to": "notify_customer_oos", "label": "No"},
|
352 |
+
{"from": "process_payment", "to": "order_confirmed", "label": "Success"},
|
353 |
+
{"from": "order_confirmed", "to": "end_order_process", "label": "Complete"},
|
354 |
+
{"from": "notify_customer_oos", "to": "end_order_process", "label": "Finish"}
|
355 |
+
]
|
356 |
+
}
|
357 |
+
"""
|
358 |
+
|
359 |
+
# New JSON for Work Breakdown Structure (WBS) Diagram - similar to image, but not identical
|
360 |
+
WBS_DIAGRAM_JSON = """
|
361 |
+
{
|
362 |
+
"project_title": "Website Redesign Project",
|
363 |
+
"phases": [
|
364 |
+
{
|
365 |
+
"id": "phase_1_initiation",
|
366 |
+
"label": "1. Project Initiation",
|
367 |
+
"tasks": [
|
368 |
+
{"id": "task_1_1_define", "label": "1.1. Define Goals & Scope"},
|
369 |
+
{"id": "task_1_2_team", "label": "1.2. Assemble Team"},
|
370 |
+
{"id": "task_1_3_budget", "label": "1.3. Establish Budget"}
|
371 |
+
]
|
372 |
+
},
|
373 |
+
{
|
374 |
+
"id": "phase_2_planning",
|
375 |
+
"label": "2. Planning Phase",
|
376 |
+
"tasks": [
|
377 |
+
{"id": "task_2_1_req", "label": "2.1. Gather Requirements"},
|
378 |
+
{"id": "task_2_2_design", "label": "2.2. Design UI/UX"},
|
379 |
+
{"id": "task_2_3_tech_stack", "label": "2.3. Select Tech Stack"},
|
380 |
+
{"id": "task_2_4_sitemap", "label": "2.4. Create Sitemap"},
|
381 |
+
{"id": "task_2_5_content_plan", "label": "2.5. Plan Content Strategy"}
|
382 |
+
]
|
383 |
+
},
|
384 |
+
{
|
385 |
+
"id": "phase_3_execution",
|
386 |
+
"label": "3. Execution Phase",
|
387 |
+
"tasks": [
|
388 |
+
{"id": "task_3_1_frontend", "label": "3.1. Develop Frontend"},
|
389 |
+
{"id": "task_3_2_backend", "label": "3.2. Develop Backend"},
|
390 |
+
{"id": "task_3_3_db", "label": "3.3. Database Integration"},
|
391 |
+
{"id": "task_3_4_content_creation", "label": "3.4. Content Creation"},
|
392 |
+
{"id": "task_3_5_testing", "label": "3.5. Internal Testing"}
|
393 |
+
]
|
394 |
+
},
|
395 |
+
{
|
396 |
+
"id": "phase_4_deployment",
|
397 |
+
"label": "4. Deployment & Launch",
|
398 |
+
"tasks": [
|
399 |
+
{"id": "task_4_1_pre_launch", "label": "4.1. Pre-Launch Checks"},
|
400 |
+
{"id": "task_4_2_go_live", "label": "4.1. Go Live"},
|
401 |
+
{"id": "task_4_3_monitoring", "label": "4.3. Post-Launch Monitoring"}
|
402 |
+
]
|
403 |
+
}
|
404 |
+
]
|
405 |
+
}
|
406 |
+
"""
|