My question is about the computation the fundamental group of graph of groups:
First let me give a reference for my question:
In the page 14 of Groups acting on graphs by Dunwoody and Dicks.
It says that
The fundamental group of graphs of groups can be obtained by successively performing one free product with amalgamation for each edge in the maximal subtree and then one HNN extension for each edge not in the maximal subtree.
I cannot see this procedure in the following example.
Suppose that our graph $Y$ is the complete graph with three vertices $K_3$ and the vertex groups are $A,B,C$ and the edge groups are $E,F,D$.