 
     fileprivate let xmlString: String
     fileprivate let initialPosition: Transform
+    fileprivate var svgSize: Size?
+    fileprivate var viewBox: Rect?
 
     fileprivate var nodes = [Node]()
     fileprivate var defNodes = [String: XMLIndexer]()

        children.forEach { child in
            if let element = child.element {
                if element.name == "svg" {
                    iterateThroughXmlTree(child.children)
                } else if let node = parseNode(child) {
                    self.nodes.append(node)
                }
            }
        }
    }

    fileprivate func parse() -> Group {
        let parsedXml = SWXMLHash.parse(xmlString)
        iterateThroughXmlTree(parsedXml.children)
        addViewBoxClipToNodes()
        let group = Group(contents: self.nodes, place: initialPosition)
        return group
    }
