commited missing bits for the svg export functionality