first version of working Trace + graph generation (centralized and distributed);