├── src ├── editor │ ├── utils │ │ ├── EditorError.js │ │ ├── Node.js │ │ ├── SelectionBox.js │ │ ├── SettingsManager.js │ │ ├── settings.js │ │ ├── Command.js │ │ ├── Connection.js │ │ └── functions.js │ ├── editor │ │ ├── managers │ │ │ ├── ShortcutManager.js │ │ │ ├── ProjectManager.js │ │ │ ├── ImportManager.js │ │ │ └── ExportManager.js │ │ ├── systems │ │ │ ├── CollapseSystem.js │ │ │ ├── ShortcutSystem.js │ │ │ ├── SelectionSystem.js │ │ │ ├── DragSystem.js │ │ │ ├── CameraSystem.js │ │ │ └── ConnectionSystem.js │ │ └── Editor.js │ ├── namespaces.js │ ├── tree │ │ ├── managers │ │ │ ├── ViewManager.js │ │ │ ├── SelectionManager.js │ │ │ ├── ConnectionManager.js │ │ │ ├── OrganizeManager.js │ │ │ └── EditManager.js │ │ └── Tree.js │ ├── project │ │ ├── managers │ │ │ ├── HistoryManager.js │ │ │ ├── TreeManager.js │ │ │ └── NodeManager.js │ │ └── Project.js │ └── draw │ │ └── symbols.js ├── app │ ├── directives │ │ ├── tab.html │ │ ├── tabset.html │ │ ├── tab.directive.js │ │ ├── tabset.directive.js │ │ ├── dropnode.directive.js │ │ ├── keytable.html │ │ ├── dragnode.directive.js │ │ └── keytable.directive.js │ ├── pages │ │ ├── editor │ │ │ ├── editor.controller.js │ │ │ ├── editor.html │ │ │ ├── modals │ │ │ │ ├── modal.html │ │ │ │ ├── import.html │ │ │ │ ├── export.html │ │ │ │ ├── import.controller.js │ │ │ │ ├── editnode.controller.js │ │ │ │ ├── export.controller.js │ │ │ │ └── editnode.html │ │ │ └── components │ │ │ │ ├── treespanel.html │ │ │ │ ├── propertiespanel.html │ │ │ │ ├── propertiespanel.controller.js │ │ │ │ ├── treespanel.controller.js │ │ │ │ ├── nodespanel.html │ │ │ │ ├── nodespanel.controller.js │ │ │ │ └── menubar.html │ │ ├── home │ │ │ ├── home.controller.js │ │ │ └── home.html │ │ ├── dash │ │ │ ├── dash.controller.js │ │ │ └── dash.html │ │ ├── settings │ │ │ └── settings.controller.js │ │ └── projects │ │ │ ├── projects.html │ │ │ └── projects.controller.js │ ├── services │ │ ├── nodejs.service.js │ │ ├── storage │ │ │ ├── localstorage.service.js │ │ │ ├── filestorage.service.js │ │ │ └── storage.service.js │ │ ├── editor.service.js │ │ ├── system.service.js │ │ ├── dialog.service.js │ │ └── notification.service.js │ ├── validators │ │ └── denylist.directive.js │ ├── app.controller.js │ ├── app.js │ ├── app.routes.js │ └── models │ │ ├── settings.model.js │ │ └── project.model.js ├── assets │ ├── imgs │ │ ├── favicon.ico │ │ └── closedhand.cur │ ├── js │ │ └── preload.js │ ├── less │ │ ├── bootstrap.less │ │ ├── c_properties.less │ │ ├── index.less │ │ ├── c_dash.less │ │ ├── c_keytable.less │ │ ├── c_tabset.less │ │ ├── c_trees.less │ │ ├── c_modal.less │ │ ├── c_page.less │ │ ├── c_nodes.less │ │ ├── c_app.less │ │ ├── animations.less │ │ ├── c_notification.less │ │ ├── c_sidebar.less │ │ ├── variables.less │ │ └── c_menubar.less │ ├── css │ │ └── preload.css │ └── libs │ │ └── mousetrap.min.js ├── start.js ├── package.json ├── index.html └── desktop.js ├── preview.png ├── bower.json ├── .gitignore ├── LICENSE ├── package.json ├── BUILD.md ├── CHANGES.md └── README.md /src/editor/utils/EditorError.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/behavior_tree_editor/HEAD/preview.png -------------------------------------------------------------------------------- /src/app/directives/tab.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /src/assets/imgs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/behavior_tree_editor/HEAD/src/assets/imgs/favicon.ico -------------------------------------------------------------------------------- /src/assets/imgs/closedhand.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/behavior_tree_editor/HEAD/src/assets/imgs/closedhand.cur -------------------------------------------------------------------------------- /src/assets/js/preload.js: -------------------------------------------------------------------------------- 1 | function preloadProgress(message) { 2 | var element = document.getElementById('page-preload-progress'); 3 | element.innerHTML = message; 4 | } -------------------------------------------------------------------------------- /src/editor/editor/managers/ShortcutManager.js: -------------------------------------------------------------------------------- 1 | b3e.editor.ShortcutManager = function(editor) { 2 | "use strict"; 3 | 4 | this._applySettings = function(settings) {}; 5 | }; -------------------------------------------------------------------------------- /src/editor/editor/systems/CollapseSystem.js: -------------------------------------------------------------------------------- 1 | b3e.editor.CollapseSystem = function(editor) { 2 | "use strict"; 3 | 4 | this.update = function(delta) { 5 | 6 | }; 7 | }; 8 | -------------------------------------------------------------------------------- /src/app/pages/editor/editor.controller.js: -------------------------------------------------------------------------------- 1 | angular 2 | .module('app') 3 | .controller('EditorController', EditorController); 4 | 5 | EditorController.$inject = []; 6 | 7 | function EditorController() { 8 | 9 | } -------------------------------------------------------------------------------- /src/start.js: -------------------------------------------------------------------------------- 1 | var editor; 2 | 3 | function startApp() { 4 | var domProgress = document.getElementById('page-preload'); 5 | 6 | editor = new b3e.editor.Editor(); 7 | angular.bootstrap(document, ['app']); 8 | } -------------------------------------------------------------------------------- /src/assets/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | @import "variables"; 2 | 3 | .nav, .pagination, .carousel, .panel-title a { cursor: pointer; } 4 | 5 | .panel { 6 | .title { margin-top: 0px; } 7 | .panel-heading { 8 | h1, h2, h3, h4 { margin: 0px; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/app/directives/tabset.html: -------------------------------------------------------------------------------- 1 || 5 | 6 | 7 | | 8 |||
|---|---|---|
| 20 | | 21 |27 | | 28 |29 | 34 | | 35 |
Select a single block to change its properties.
7 |NOTE: The root node represents a tree. Therefore, changes applied to this node will persist on the tree object.
8 |You don't have any project yet.
18 | 19 ||
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | Current project
33 | {{item.name}}34 | {{item.path}} 35 | |
36 |
37 |
38 |
39 |
40 |
41 | {{item.name}} 42 | {{item.path}} 43 | |
44 |
A tool to make it easier to build behavior trees for the Bot Testing Framework.
7 | 8 |This tool was adapted from the existing Behavior3 Editor
9 | 10 |