According to ancient and modern books, the Qimen Dunjia originated from the formation that appeared more than 4,600 years ago, when the Yellow Emperor of Xuanyuan fought against Xuan you. It is rumored that "Qimen Dunjia" is the predecessor of the "Bagua Array", "Qimen Dunjia" can be said to be the largest occult science in Chinese history, and it can also be said that it is the only formation in the world that can control the opponent's army at will, because its strength is called the study of the emperor in ancient times, that is to say, it is a superior formation, it is difficult for ordinary people to learn, if it is found that there is a scholar who steals must be beheaded, so it is deeply buried in the deep sea of history, and can only be preached by the master's father, and passed down alone. So so far, few people have figured it out.

The main reason why the Qimen Dunjia is so powerful is that it studies the flow of magnetic effects in nature every year, month, day and hour to calculate the dynamics that affect all living things. In ancient China, the Qimen Dunjia was mainly used for military purposes.
As a derivative of the Qimen Dunjia, the complexity of the Bagua Array is greatly reduced, but after Zhuge Liang's research, the Bagua Array is mainly derived from the Taiji image of a more exquisite array, and there is such a sentence about the Bagua Array: "Taiji gives birth to two instruments, two instruments give birth to four elephants, and four elephants give birth to Bagua." Zhuge Liang's formation is indeed very powerful, equivalent to the strength of a million troops, history says that as long as you enter this formation, no one can come out alive, but during the Three Kingdoms period, there was such a person who could enter and exit freely, without any obstacles, and this person was Lu Xun.
Lu Xun (陸逊), courtesy name Boyan, was a politician and military figure of the State of Wu during the Three Kingdoms period. In the State of Wu also had a certain military status, at that time it was a confrontation with the army of Shu Han, after the defeat of Liu Bei's army, Lu Xun's army chased after it, and when it chased to the riverside, it saw several piles of stones, but strangely, there was a killing air in the middle of these stones, Lu Xun suddenly had doubts, asked the local people, said that Zhuge Liang had laid down a formation here before, so the formation would often be stormy.
However, Lu Xun thought that this was Zhuge Liang who was confusing his opponents, so he led his army directly into the formation, but unexpectedly, just after entering, he flew sand and stones, the wind was fierce, Lu Xun wanted to retreat, but he could not find an exit, just at this moment, an old man appeared, took Lu Xun out of the dangerous place, after coming out, the old man said: "The old man is Zhuge Liang's father-in-law Huang Chengyan, this array was laid down before the son-in-law entered the river, called the Bagua Array, when leaving, he instructed the old man that if there was a general of Eastern Wu who entered this array, he should not lead him out." The old man had just stood on the top of the hill and saw the general enter the door of death, presumably he must have not known this formation, and came to the rescue. The old man was so kind in life that he couldn't bear to let the general die in the battle, so he came to lead you out. Strictly speaking, Lu Xun did not come out of the Gossip Array on his own, but was able to survive through Huang Chengyan.
In fact, Huang Chengyan said that he was kind-hearted and could not bear to see Lu Xun trapped in the formation, in fact, Huang Chengyan was planning for the future of Shu Han, if there was no rescue of Lu Xun, then Shu Han and Wu Guo would definitely marry Liangzi, and Shu Han would not have good fruit to eat; If Lu Xun had been saved, Wu Guo would have owed a favor, and Shu Han would have lived a little longer, and if there had been no Huang Chengyan's rescue, I am afraid that Shu Han would have perished long ago.