implemented SignedDiagrams class