How to use the babylonjs-editor.Tree function in babylonjs-editor

To help you get started, we’ve selected a few babylonjs-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BabylonJS / Editor / src / code-project-editor / graph.ts View on Github external
constructor (codeEditor: CodeProjectEditor) {
        this.codeEditor = codeEditor;

        // Build tree
        this.tree = new Tree('GRAPH');
        this.tree.wholerow = true;
        this.tree.build('GRAPH');

        // Events
        this.tree.onDblClick =