class DelegateNativeContext2D implements INativeContext2D {

    @Override
    public void saveContainer(String id) {
        HashMap<String, String> map = new HashMap<>();
        //setting the node id in case it exists on graph
        if (canvasHandler.getGraphIndex().get(id) != null) {
            map.put(DEFAULT_NODE_ID, id);
            map.put(svgNodeId, id);
        }
        context.saveGroup(map);
    }

    public  DelegateNativeContext2D(IContext2D context, AbstractCanvasHandler canvasHandler);
      DelegateNativeContext2D(IContext2D context, AbstractCanvasHandler canvasHandler, Converter converter);

}