I would like some help to set up a simple Bill Of Materials Please. I’m really new to this so please bear with me.
First the parts. Each part has two fields
Then I would define the parent/child relationships by creating an edge between two parts. Something like:
P1 child P2
P1 child P3
So P1 is an assembly of two parts, P2 and P3
Each child would also require child.index that would determine the order of the children.
When that is done I would require a query that would return all the parts below the “root” part P1 in the correct order.
These are not terribly complicated relationships, but unfortunately I can’t make any sense of the docs. If It would really help me out if someone could provide the mutations to make the three parts and one assembly in my example.