module XML.ParsedTypes where
type ParsedNode = String
type ParsedTypedNode = (String, Maybe String, String)
type ParsedEdge = (String, String, String)
type ParsedTypedEdge = (String, Maybe String, String, String, String)
type ParsedGraph = (String, [ParsedNode], [ParsedEdge])
type ParsedTypedGraph = (String, [ParsedTypedNode], [ParsedTypedEdge])
type ParsedRule = (String, String, ParsedTypedGraph,
([ParsedTypedNode], [ParsedTypedEdge]),
([ParsedTypedNode], [ParsedTypedEdge]), [ParsedNAC])
type ParsedNAC = ([ParsedTypedNode], [ParsedTypedEdge])
type ParsedTypeGraph = ([ParsedTypedNode], [ParsedTypedEdge])
type ParsedAtomicConstraint = (String, ParsedTypedGraph, ParsedTypedGraph, [Mapping])
type Rule = (String, ParsedTypedGraph, ParsedTypedGraph, [Mapping])
type RuleWithNacs = (Rule,[Nac])
type SndOrderRuleSide = (String, String, RuleWithNacs)
type Mapping = (String, Maybe String, String)
type Nac = (ParsedTypedGraph, [Mapping])
type ConflictMorphism = (ParsedTypedGraph,[Mapping],[Mapping],String,String)
type Overlappings = (String,String,[ConflictMorphism])
type Overlapping = (String,String,ConflictMorphism,Int)
type Sequence = (String, [SubSequence], [ParsedObjectFlow])
type SubSequence = (Int, [SequenceItem])
type SequenceItem = (Int, String)
type ParsedObjectFlow = (String, String, String, [Mapping])