SilverlightMappingToolBasic.JavaScriptBridge.LoadMapAndSelectNode C# (CSharp) Method

LoadMapAndSelectNode() private method

private LoadMapAndSelectNode ( string domainId, string mapNodeId, string nodeId ) : void
domainId string
mapNodeId string
nodeId string
return void
        public void LoadMapAndSelectNode(string domainId, string mapNodeId, string nodeId)
        {
            Guid domain, mapNode, id;
            if (Guid.TryParse(domainId, out domain) && Guid.TryParse(mapNodeId, out mapNode) && Guid.TryParse(nodeId, out id))
            {
                _superGraphControl.Ref.SuperGraph.ClearMapObjects();
                _superGraphControl.Ref.Breadcrumbs.BreadcrumbTrail.Clear();
                _superGraphControl.Ref.IsLoadMapByGuid = true; //loading a map, set the value
                _superGraphControl.Ref.NodeId = id;      //this is the node to select once the map loads
                _superGraphControl.Ref.LoadMapById(domain, mapNode, id); //load the map
            }
        }