title: How to set close unselected node in JsTree?
body: <p>How to close unselected node? right now all node is open. is it possible to open for selected node only?</p>
  
  <pre><code>    $(document).ready(function () {
          $('#jstree').jstree({
              "core": {
                  "themes": {
                      "variant": "large",
                      "icons": false,
                  },
                  "data": @Html.Raw(ViewBag.Json),
              },
              "checkbox": {
                  "keep_selected_style": false,
              },
              "plugins": ["wholerow", "checkbox", "sort"],
          });
      });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/yiZXH.png" rel="nofollow noreferrer">Image below is how its look. Negeri Sembilan &amp; Pahang should be close coz non of it is selected</a></p>