Title: Pregroups and graphs of groups