I am new to graph theory and confused with ancestors definition in DAG(or in general graph).
For example in the following DAG 1--->2--->3<---4<--