Below is part of my work so far. I'm getting cycles and both ways connections in between my Lines and single connections from Messages to Lines for some reason. I don't see why there are never more than one message to line connections. My facts are probably (most likely) a little wrong. Thanks for the help.
some sig Line{
nextLine: some Line,
}
sig Message{
formedOfLines: Line,
}
fact MessageHasMoreThan1LineHasNextLine{
all m:Message|#m.formedOfLines>1 implies #m.formedOfLines.nextLine>0
}
fact NoNextLineIsSelf
{
all l1,l2:Line | l1=l2 implies l1.nextLine!=l2
}
fact LineBelongsToSomeMessage
{
all l:Line | l in Message.formedOfLines
}