You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/demos/pages/supply_chain-demo.adoc
+54-10Lines changed: 54 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,8 @@ This demonstration shows how to use Neo4j to analyze and visualize complex *phar
29
29
* <<thechain,Dependency Chain>>
30
30
* <<rm_demand,Understanding Raw Materials Demand>>
31
31
* <<scoptimize,Supply Chain Optimization>>
32
-
* <<dashboards,Dashboards>>
32
+
* <<dashboards,Dashboards _(NeoDash)_>>
33
+
* <<resources,Resources>>
33
34
34
35
====
35
36
@@ -61,12 +62,12 @@ If you're new to AuraDB, create an account at https://concole.neo4j.io and click
61
62
Wait until the instance status shows **_“RUNNING”_** before moving to the next step.
62
63
====
63
64
64
-
*2.* Clone the git repository from https://github.com/neo4j-product-examples/demo-supply_chain[https://github.com/neo4j-product-examples/demo-supply_chain] You can do this with the following command:
65
+
*2.* Clone the git repository from link:https://github.com/neo4j-product-examples/demo-supply_chain[the GitHub repo] You can do this with the following command:
Alternatively, you can use the “download ZIP” option on GitHub to download a copy.
70
+
Alternatively, you can use the "Download ZIP" option on link:https://github.com/neo4j-product-examples/demo-supply_chain[the GitHub repo] to download a copy.
70
71
71
72
*3.* Use .backup file to load data to the database.
72
73
Using the “...3 dots” menu in the Aura console, select Backup & Restore.
@@ -82,7 +83,7 @@ or link:https://drive.google.com/file/d/1MdlQWlnWxFe_lDCYLu5uCUY-MYj9jUn-/view?u
82
83
83
84
*4.* Review the warning about replacing your instance data and proceed when you are ready:
84
85
85
-
image::download-sc.png[align="left", width=400]
86
+
image::download-sc.png[align="center", width=400]
86
87
87
88
88
89
*5.* You are ready to run the examples when your database instance reaches the “RUNNING” state.
This graph model maps the full lifecycle of a pharmaceutical product by connecting key entities and their relationships. It captures the structure and flow of data needed to analyze production, traceability, and distribution in a connected, end-to-end view.
115
118
119
+
[source,cypher]
120
+
----
121
+
/* Run this query to view the schema or graph model of the dataset */
122
+
CALL db.schema.visualization();
123
+
----
124
+
116
125
===== Key Entities
117
126
118
127
- **Suppliers**: Provide raw materials and active ingredients.
@@ -443,12 +452,47 @@ ORDER BY fg.generation, fg.strength
443
452
----
444
453
[[dashboards]]
445
454
== Dashboards (_using NeoDash_)
455
+
Neo4j Dashboards provide an interactive view of pharmaceutical supply chains, helping leaders explore critical areas like demand, bottlenecks, traceability, and equipment usage—all in one place.
456
+
457
+
=== Prep work
458
+
* Go to https://neodash.graphapp.io/ and click on New Dashboard
459
+
* Create the New Dashboard.
460
+
* Connect to the database created in Step 1 <<setup,Database setup>>
461
+
* Click on left arrow at the bottom to expand the left pane
462
+
* Click on the **+** button and import the JSON file located in the `src` folder of the link:https://github.com/neo4j-product-examples/demo-supply_chain[GitHub repository].
463
+
464
+
** Direct link to the file: link:https://github.com/neo4j-product-examples/demo-supply_chain/blob/main/src/dashboard-supplychain.json[dashboard-supplychain.json]
465
+
466
+
image::neodash_1.png[align="center", width=800]
467
+
468
+
* You should see the Dashboard
469
+
446
470
image::neodash-sc.png[align="center"]
447
471
448
-
[[nextsteps]]
449
-
== Next Steps
472
+
=== Dashboard Tabs
473
+
474
+
The *Supply Chain* tab offers a high-level view of global brands, markets, and distribution.
475
+
For example, selecting the drug *Calciiarottecarin* (50mg caplet) shows enriched demand in the EU market, with *West Europe* as the top distributor.
476
+
From here, you can drill down into its full product flow to assess upstream dependencies and potential risks.
477
+
478
+
Each tab focuses on a key dimension:
479
+
480
+
* The *RM Demand* tab calculates how much raw material is needed to fulfill demand for a selected product.
481
+
It traces supply chain paths and aggregates quantities instantly—making complex demand propagation simple and scalable.
482
+
* The *SC Optimization* tab helps identify costly shipping patterns and delays in processing.
483
+
It surfaces cross-border inefficiencies and highlights stages that exceed target durations—so teams can quickly pinpoint and address bottlenecks.
484
+
* The *Batch Traceability* tab helps trace defective batches back through the supply chain—revealing shared equipment, operators, and potential contamination points.
485
+
It combines Neo4j’s rich relationship modeling with GenAI to highlight commonalities and root causes for fast, explainable investigation.
486
+
* The *Equipment Utilization* tab highlights underused equipment across production.
487
+
It helps identify rescheduling opportunities to boost usage, avoid unnecessary procurement, and plan maintenance—thanks to Neo4j’s flexible schema for modeling process and equipment sequences.
488
+
489
+
[[resources]]
490
+
== Resources
450
491
451
-
Now that you have seen how you can use Neo4j Graph Database to enrich your customers’ experience, here are some ideas for your next steps:
492
+
Now that you've seen how Neo4j can help analyze and optimize complex supply chain networks,
493
+
here are some helpful resources and ideas to guide your next steps:
452
494
453
-
* Load your own data into the same graph data model and run the same queries from this demo. An easy way to do this is to create relational tables or CSV files that match the format of the files in the data directory of the repository and use +model/Neo4j_importer_model.json+ to load the data using AuraDB’s data import service
454
-
* Explore another https://neo4j.com/developer/genai-ecosystem/ai-for-customer-experiences/[Customer Experience demo] that uses Generative AI
495
+
* link:https://neo4j.com/blog/supply-chain-and-logistics/what-is-supply-chain-management/[What Is Supply Chain Management? – Neo4j Blog]
0 commit comments