@@ -219,7 +219,7 @@ graphAsRelation (DisconnectedTransaction parentUUID _) graph@(TransactionGraph _
220 attrs = A.attributesFromList [Attribute "id" StringAtomType,
220 attrs = A.attributesFromList [Attribute "id" StringAtomType,
221 Attribute "parents" (RelationAtomType parentAttributes),
221 Attribute "parents" (RelationAtomType parentAttributes),
222− Attribute "current" IntAtomType,
222+ Attribute "current" BoolAtomType,
223 Attribute "head" StringAtomType
223 Attribute "head" StringAtomType
225 parentAttributes = A.attributesFromList [Attribute "id" StringAtomType]
225 parentAttributes = A.attributesFromList [Attribute "id" StringAtomType]
@@ -227,7 +227,7 @@ graphAsRelation (DisconnectedTransaction parentUUID _) graph@(TransactionGraph _
227 Left err -> Left err
227 Left err -> Left err
228 Right parentTransRel -> Right [StringAtom $ T.pack $ show (transactionUUID transaction),
228 Right parentTransRel -> Right [StringAtom $ T.pack $ show (transactionUUID transaction),
229 RelationAtom parentTransRel,
229 RelationAtom parentTransRel,
230− IntAtom $ if parentUUID == transactionUUID transaction then 1 else 0,
230+ BoolAtom $ parentUUID == transactionUUID transaction,
231 StringAtom $ case headNameForTransaction transaction graph of
231 StringAtom $ case headNameForTransaction transaction graph of
232 Just headName -> headName
232 Just headName -> headName
233 Nothing -> ""
233 Nothing -> ""