constructor param param gm graph model sequenc diagram layer mutabl graph model gm gm 