create svg node when container passed in