construction of simple arbitrary graph
(but it gives model with atrtifacts now)