Enable having multiple output formats for raildiagrams
Having a way to add more output formats is useful for adding other back-ends such as SVG or LaTeX. It would also be useful for enhanced debugging of the generated diagram elements, where you can automatically detect and highlight gaps and overlap between elements.