graph TD
x1((x1)) --> x3((x3))
x1 --> x4((x4))
%%{init: {'theme':'dark'}}%%
graph TD
x1((x1)) --> x3((x3))
x1 --> x4((x4))
P(x3,x4∣x1)=P(x1)P(x1,x3,x4)=P(x1)P(x3∣x1)P(x4∣x1)P(x1)
graph RL
z((z)) --> x((x)) --> y((y))
%%{init: {'theme':'dark'}}%%
graph RL
z((z)) --> x((x)) --> y((y))
P(y,z∣x)=P(x)P(y∣x)P(x∣z)P(z)=P(x)P(y∣x)P(z∣x)P(x)
graph TD
x1((x1)) --> x4((x4))
x2((x2)) --> x4
%%{init: {'theme':'dark'}}%%
graph TD
x1((x1)) --> x4((x4))
x2((x2)) --> x4
P(x1,x2)=x4∑P(x1,x2,x4)=x4∑P(x4∣x1,x2)P(x1)P(x2)=P(x1)P(x2)