Second step towards separating svg creation from db access in wrapper.
start and end parameters.