Summarizing the imperial family chart for anyone who is confused (based on the drama as of episode 16):
***First Generation:
1) Grand Princess: The emperor's aunt. Matriarch of the Yue family. Part of the Marquis of Anyang's Mansion. Mother of Yue Qiong.
2) Prince Yu: The emperor's only uncle. Like drinking, gambling, and women.
***Second Generation:
1) Current Emperor
2) Prince Rui aka Yan Lin: Father of Yan Chi. General of the Shuoxi Army.
3) Prince Yi
4) Yue Qiong: Marquis of Anyang. Related to the imperial family through his mother, the Grand Princess. Father of Yue Jia, Yue Qing, and Yue Ning. Later the adopted father of Qin Wan. Fought side by side with Prince Rui on the battlefields before.
***Third Generation:
Yue Jia: Yue Ning's oldest brother. Was supposed to marry Song Rou (headless bride) by the emperor's decree.
Yue Qing: Yue Ning's second older brother. Has a crush on Qin Wan.
Crown Prince:
Prince Cheng:
Prince Jin: Emperor's eldest son. Rumored to have committed suicide and that he attempted ro rape and killed Consort Jin. His death is related to Shen Yi and the Shen family's death.
7th Prince: Yan Chi. Son of Prince Rui. Young Marshal of the Shouxi Army. Later entered the Ministry of Justice.
Yan Li: Son of Prince Yi. Gets along well with Yan Chi and dislikes self-righteous people.
Princess Yongning: Yue Ning. Her father is the Marquis of Anyang and her grandmother is the Grand Princess.
Qin Wan: Adopted by the Yue family. Now considered the younger sister of Yue Jia, Yue Qing, and Yue Ning.