Supplier & material dependencies
Find products that depend on the same upstream supplier. Follow sourcing relationships across the tiers represented in your data, connecting suppliers to components and the products that use them.
View Cypher example
Set $supplierId to the upstream supplier. SUPPLIES runs from an upstream supplier to its downstream customer; this example follows up to three supplier links.
MATCH path = (upstream:Supplier)-[:SUPPLIES*1..3]->(direct:Supplier)
-[:SUPPLIES_COMPONENT]->(part:Component)
<-[:USES_COMPONENT]-(product:Product)
WHERE upstream.id = $supplierId
RETURN DISTINCT product.id AS product,
part.id AS component, path
LIMIT 25Returns: Products and components that depend on the selected supplier, with the recorded supply path for each result.




