Refactoring on SVG export and filter exported topics only to visible topics in topicmap