Basic library for local PMC and strand diagrams.