Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I think this is a great question- I've certainly thought about such things, and I think knot theory (or virtual tangle theory) might in fact be just the right language in which one might want to describe creative writing/composition- at least, it very much appeals to me as a language to describe such things.