vibrante-node 2.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- src/core/__init__.py +0 -0
- src/core/engine.py +484 -0
- src/core/events.py +32 -0
- src/core/graph.py +74 -0
- src/core/integrity.py +925 -0
- src/core/loader.py +56 -0
- src/core/manifest.py +910 -0
- src/core/models.py +59 -0
- src/core/persistence.py +27 -0
- src/core/python_to_workflow.py +182 -0
- src/core/registry.py +314 -0
- src/core/workflow_to_python.py +801 -0
- src/main.py +188 -0
- src/models/__init__.py +0 -0
- src/nodes/__init__.py +0 -0
- src/nodes/ai/__init__.py +1 -0
- src/nodes/base.py +174 -0
- src/nodes/builtins/__init__.py +0 -0
- src/nodes/builtins/group_node.py +210 -0
- src/nodes/builtins/nodes.py +452 -0
- src/nodes/print.py +19 -0
- src/nodes/test.py +19 -0
- src/ui/__init__.py +0 -0
- src/ui/canvas/__init__.py +0 -0
- src/ui/canvas/backdrop.py +223 -0
- src/ui/canvas/canvas_search_bar.py +222 -0
- src/ui/canvas/edge.py +98 -0
- src/ui/canvas/mini_map.py +138 -0
- src/ui/canvas/node_search_popup.py +270 -0
- src/ui/canvas/scene.py +1149 -0
- src/ui/canvas/sticky_note.py +123 -0
- src/ui/canvas/view.py +285 -0
- src/ui/code_editor.py +435 -0
- src/ui/export_python_dialog.py +490 -0
- src/ui/gemini_api_dialog.py +41 -0
- src/ui/gemini_chat.py +370 -0
- src/ui/import_python_dialog.py +122 -0
- src/ui/library_panel.py +246 -0
- src/ui/log_panel.py +315 -0
- src/ui/node_builder.py +841 -0
- src/ui/node_widget.py +1009 -0
- src/ui/port_widget.py +116 -0
- src/ui/script_editor.py +53 -0
- src/ui/scripting_console.py +270 -0
- src/ui/settings_window.py +575 -0
- src/ui/window.py +2012 -0
- src/utils/color_manager.py +50 -0
- src/utils/config_manager.py +71 -0
- src/utils/env_manager.py +232 -0
- src/utils/highlighter.py +110 -0
- src/utils/paths.py +30 -0
- src/utils/prism_config.py +300 -0
- src/utils/prism_core.py +80 -0
- src/utils/qt_compat.py +159 -0
- src/utils/runtime.py +80 -0
- vibrante_node/CLA.md +96 -0
- vibrante_node/COMMERCIAL_LICENSE.md +170 -0
- vibrante_node/LICENSE +178 -0
- vibrante_node/LICENSES/AGPL-3.0.txt +661 -0
- vibrante_node/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
- vibrante_node/LICENSES/CC-BY-4.0.txt +396 -0
- vibrante_node/LICENSES/GPL-3.0.txt +674 -0
- vibrante_node/LICENSES/LGPL-3.0.txt +165 -0
- vibrante_node/LICENSES/README.md +65 -0
- vibrante_node/THIRD_PARTY_NOTICES.txt +3277 -0
- vibrante_node/__init__.py +2 -0
- vibrante_node/app.py +60 -0
- vibrante_node/docs/AUTOMATION_API.html +785 -0
- vibrante_node/docs/DEVELOPER.html +891 -0
- vibrante_node/docs/DOCUMENTATION.html +2761 -0
- vibrante_node/docs/LICENSE.txt +35 -0
- vibrante_node/docs/NODE_BUILDER_API.html +1155 -0
- vibrante_node/docs/RELEASE_v1.0.5.html +140 -0
- vibrante_node/docs/RELEASE_v1.1.0.html +163 -0
- vibrante_node/docs/RELEASE_v1.1.5.html +286 -0
- vibrante_node/docs/RELEASE_v1.2.0.html +175 -0
- vibrante_node/docs/RELEASE_v1.3.0.html +168 -0
- vibrante_node/docs/RELEASE_v1.4.0.html +160 -0
- vibrante_node/docs/RELEASE_v1.5.0.html +432 -0
- vibrante_node/docs/RELEASE_v1.6.0.html +293 -0
- vibrante_node/docs/RELEASE_v1.6.1.html +171 -0
- vibrante_node/docs/RELEASE_v1.7.0.html +270 -0
- vibrante_node/docs/RELEASE_v1.8.0.html +201 -0
- vibrante_node/docs/RELEASE_v1.8.1.html +124 -0
- vibrante_node/docs/RELEASE_v1.8.2.html +119 -0
- vibrante_node/docs/RELEASE_v1.8.3.html +125 -0
- vibrante_node/docs/RELEASE_v1.8.4.html +210 -0
- vibrante_node/docs/RELEASE_v1.8.5.html +223 -0
- vibrante_node/docs/RELEASE_v2.0.0.html +284 -0
- vibrante_node/docs/RELEASE_v2.1.0.html +259 -0
- vibrante_node/docs/RELEASE_v2.1.1.html +156 -0
- vibrante_node/docs/RELEASE_v2.2.0.html +369 -0
- vibrante_node/docs/RELEASE_v2.2.1.html +168 -0
- vibrante_node/docs/RELEASE_v2.3.0.html +185 -0
- vibrante_node/docs/RELEASE_v2.4.0.html +446 -0
- vibrante_node/docs/RELEASE_v2.5.0.html +478 -0
- vibrante_node/docs/RELEASE_v2.5.1.html +190 -0
- vibrante_node/docs/USER_GUIDE.html +1407 -0
- vibrante_node/docs/index.html +103 -0
- vibrante_node/docs/portal/01_introduction.html +1177 -0
- vibrante_node/docs/portal/02_getting_started.html +1267 -0
- vibrante_node/docs/portal/03_user_guide.html +1736 -0
- vibrante_node/docs/portal/04_workflow_tutorials.html +1473 -0
- vibrante_node/docs/portal/05_node_development.html +1562 -0
- vibrante_node/docs/portal/06_backend_architecture.html +1373 -0
- vibrante_node/docs/portal/07_frontend_architecture.html +1588 -0
- vibrante_node/docs/portal/08_api_reference.html +2336 -0
- vibrante_node/docs/portal/09_advanced_topics.html +1664 -0
- vibrante_node/docs/portal/10_contribution_guide.html +1263 -0
- vibrante_node/docs/portal/11_troubleshooting.html +1108 -0
- vibrante_node/docs/portal/12_examples_library.html +1498 -0
- vibrante_node/docs/portal/13_general_purpose_automation.html +1472 -0
- vibrante_node/docs/portal/14_custom_nodes_api.html +1960 -0
- vibrante_node/docs/portal/index.html +605 -0
- vibrante_node/docs/portal/integrations_blender.html +605 -0
- vibrante_node/docs/portal/integrations_deadline.html +536 -0
- vibrante_node/docs/portal/integrations_houdini.html +787 -0
- vibrante_node/docs/portal/integrations_maya.html +675 -0
- vibrante_node/docs/portal/integrations_prism.html +628 -0
- vibrante_node/docs/portal/search.json +1 -0
- vibrante_node/docs/validation.json +333 -0
- vibrante_node/examples/arnold_lighting/orchestration_notes.md +45 -0
- vibrante_node/examples/arnold_lighting/prompt.md +47 -0
- vibrante_node/examples/automation/01_linear_chain.py +10 -0
- vibrante_node/examples/automation/02_batch_update_prefix.py +8 -0
- vibrante_node/examples/automation/03_reset_scene.py +5 -0
- vibrante_node/examples/automation/04_batch_execution.py +9 -0
- vibrante_node/examples/automation/05_git_backup.py +6 -0
- vibrante_node/examples/automation/06_reset_math_nodes.py +12 -0
- vibrante_node/examples/automation/07_stress_test_grid.py +8 -0
- vibrante_node/examples/automation/08_scene_summary.py +8 -0
- vibrante_node/examples/automation/09_toggle_bools.py +8 -0
- vibrante_node/examples/automation/10_session_report.py +7 -0
- vibrante_node/examples/automation/11_simple_math_node.py +7 -0
- vibrante_node/examples/cinematic_camera/orchestration_notes.md +56 -0
- vibrante_node/examples/cinematic_camera/prompt.md +50 -0
- vibrante_node/examples/cinematic_explosion/orchestration_notes.md +76 -0
- vibrante_node/examples/cinematic_explosion/prompt.md +47 -0
- vibrante_node/examples/cinematic_explosion/review.md +75 -0
- vibrante_node/examples/dust_wave/orchestration_notes.md +43 -0
- vibrante_node/examples/dust_wave/prompt.md +40 -0
- vibrante_node/examples/nodes/async_delay.py +21 -0
- vibrante_node/examples/nodes/connection_logger.py +25 -0
- vibrante_node/examples/nodes/data_filter.py +19 -0
- vibrante_node/examples/nodes/dict_merge.py +20 -0
- vibrante_node/examples/nodes/dict_summary.py +21 -0
- vibrante_node/examples/nodes/dropdown_selector.py +29 -0
- vibrante_node/examples/nodes/env_reader.py +18 -0
- vibrante_node/examples/nodes/list_item_picker.py +85 -0
- vibrante_node/examples/nodes/list_stats.py +27 -0
- vibrante_node/examples/nodes/logic_threshold.py +23 -0
- vibrante_node/examples/nodes/math_square.py +30 -0
- vibrante_node/examples/nodes/random_list.py +18 -0
- vibrante_node/examples/nodes/reactive_config.py +24 -0
- vibrante_node/examples/nodes/safety_reset.py +31 -0
- vibrante_node/examples/nodes/string_reverse.py +16 -0
- vibrante_node/icons/210429_DeadlineFreeOn10RenderMachines.jpg +0 -0
- vibrante_node/icons/README.md +39 -0
- vibrante_node/icons/blender_icon.png +0 -0
- vibrante_node/icons/braces.png +0 -0
- vibrante_node/icons/braces.svg +1 -0
- vibrante_node/icons/builder.png +0 -0
- vibrante_node/icons/check.png +0 -0
- vibrante_node/icons/check.svg +1 -0
- vibrante_node/icons/chevron-right.svg +3 -0
- vibrante_node/icons/code.png +0 -0
- vibrante_node/icons/code.svg +4 -0
- vibrante_node/icons/computer-window.png +0 -0
- vibrante_node/icons/data.png +0 -0
- vibrante_node/icons/data.svg +5 -0
- vibrante_node/icons/database-search.png +0 -0
- vibrante_node/icons/database-search.svg +5 -0
- vibrante_node/icons/database-zap.png +0 -0
- vibrante_node/icons/database-zap.svg +5 -0
- vibrante_node/icons/database.png +0 -0
- vibrante_node/icons/database.svg +5 -0
- vibrante_node/icons/dice.png +0 -0
- vibrante_node/icons/dice.svg +1 -0
- vibrante_node/icons/divide.svg +5 -0
- vibrante_node/icons/file-input.svg +6 -0
- vibrante_node/icons/file-plus.png +0 -0
- vibrante_node/icons/file-plus.svg +6 -0
- vibrante_node/icons/file-text.png +0 -0
- vibrante_node/icons/file-text.svg +7 -0
- vibrante_node/icons/folder-plus.png +0 -0
- vibrante_node/icons/folder-plus.svg +5 -0
- vibrante_node/icons/folder.png +0 -0
- vibrante_node/icons/folder.svg +3 -0
- vibrante_node/icons/gear.png +0 -0
- vibrante_node/icons/gear.svg +1 -0
- vibrante_node/icons/git-branch.svg +6 -0
- vibrante_node/icons/hash.png +0 -0
- vibrante_node/icons/hash.svg +1 -0
- vibrante_node/icons/houdini.svg +4 -0
- vibrante_node/icons/houdini_icon.png +0 -0
- vibrante_node/icons/http.png +0 -0
- vibrante_node/icons/list-check.png +0 -0
- vibrante_node/icons/list-check.svg +7 -0
- vibrante_node/icons/list-plus.svg +10 -0
- vibrante_node/icons/list.png +0 -0
- vibrante_node/icons/list.svg +8 -0
- vibrante_node/icons/logic.png +0 -0
- vibrante_node/icons/logic.svg +7 -0
- vibrante_node/icons/math.png +0 -0
- vibrante_node/icons/math.svg +4 -0
- vibrante_node/icons/maya_icon.jpg +0 -0
- vibrante_node/icons/message.png +0 -0
- vibrante_node/icons/message.svg +3 -0
- vibrante_node/icons/minus.svg +3 -0
- vibrante_node/icons/multiply.png +0 -0
- vibrante_node/icons/multiply.svg +1 -0
- vibrante_node/icons/online-library.png +0 -0
- vibrante_node/icons/percentage.svg +5 -0
- vibrante_node/icons/plus.png +0 -0
- vibrante_node/icons/plus.svg +1 -0
- vibrante_node/icons/print.png +0 -0
- vibrante_node/icons/print.svg +5 -0
- vibrante_node/icons/prism_icon.png +0 -0
- vibrante_node/icons/refresh.svg +6 -0
- vibrante_node/icons/repeat.svg +6 -0
- vibrante_node/icons/scales.png +0 -0
- vibrante_node/icons/scales.svg +1 -0
- vibrante_node/icons/shuffle.svg +7 -0
- vibrante_node/icons/string.png +0 -0
- vibrante_node/icons/string.svg +5 -0
- vibrante_node/icons/terminal.png +0 -0
- vibrante_node/icons/terminal.svg +1 -0
- vibrante_node/icons/timer.png +0 -0
- vibrante_node/icons/timer.svg +4 -0
- vibrante_node/icons/toggle-switch.svg +5 -0
- vibrante_node/icons/uppercase.png +0 -0
- vibrante_node/icons/uppercase.svg +1 -0
- vibrante_node/icons/variable-get.svg +4 -0
- vibrante_node/icons/variable-set.svg +6 -0
- vibrante_node/icons/variable.png +0 -0
- vibrante_node/icons/variable.svg +5 -0
- vibrante_node/icons/vibrante-node-icon.png +0 -0
- vibrante_node/icons/vibrante-node-logo.png +0 -0
- vibrante_node/icons/vibrante-node-main_logo.png +0 -0
- vibrante_node/icons/vibrante-node-resize_main_logo.png +0 -0
- vibrante_node/logo.png +0 -0
- vibrante_node/mcp_cli.py +36 -0
- vibrante_node/node_examples/Split_String.json +35 -0
- vibrante_node/node_examples/async_delay.json +32 -0
- vibrante_node/node_examples/delay_timer.json +29 -0
- vibrante_node/node_examples/file_reader.json +29 -0
- vibrante_node/node_examples/fruit_selector.json +37 -0
- vibrante_node/node_examples/json_parser.json +29 -0
- vibrante_node/node_examples/line_counter.json +29 -0
- vibrante_node/node_examples/list_append.json +32 -0
- vibrante_node/node_examples/list_images_recursive.json +55 -0
- vibrante_node/node_examples/logic_and.json +34 -0
- vibrante_node/node_examples/logic_compare.json +36 -0
- vibrante_node/node_examples/math_abs.json +29 -0
- vibrante_node/node_examples/math_add.json +32 -0
- vibrante_node/node_examples/reactive_config.json +28 -0
- vibrante_node/node_examples/string_uppercase.json +29 -0
- vibrante_node/nodes/Dropdown_Selector.json +27 -0
- vibrante_node/nodes/add_integers.json +34 -0
- vibrante_node/nodes/blender_action_bake_animation.json +23 -0
- vibrante_node/nodes/blender_action_custom.json +21 -0
- vibrante_node/nodes/blender_action_export_alembic.json +22 -0
- vibrante_node/nodes/blender_action_export_fbx.json +23 -0
- vibrante_node/nodes/blender_action_export_gltf.json +21 -0
- vibrante_node/nodes/blender_action_export_obj.json +19 -0
- vibrante_node/nodes/blender_action_export_usd.json +23 -0
- vibrante_node/nodes/blender_action_import_alembic.json +18 -0
- vibrante_node/nodes/blender_action_import_fbx.json +18 -0
- vibrante_node/nodes/blender_action_import_gltf.json +18 -0
- vibrante_node/nodes/blender_action_import_obj.json +18 -0
- vibrante_node/nodes/blender_action_new_blend.json +18 -0
- vibrante_node/nodes/blender_action_open_blend.json +18 -0
- vibrante_node/nodes/blender_action_render.json +23 -0
- vibrante_node/nodes/blender_action_save_blend.json +18 -0
- vibrante_node/nodes/blender_action_scene_info.json +17 -0
- vibrante_node/nodes/blender_action_set_frame_range.json +20 -0
- vibrante_node/nodes/blender_action_set_render_settings.json +27 -0
- vibrante_node/nodes/blender_get_action_result.json +22 -0
- vibrante_node/nodes/blender_headless.json +86 -0
- vibrante_node/nodes/compare.json +48 -0
- vibrante_node/nodes/console_print.json +29 -0
- vibrante_node/nodes/create_dictionary.json +18 -0
- vibrante_node/nodes/create_folder.json +17 -0
- vibrante_node/nodes/create_list.json +18 -0
- vibrante_node/nodes/deadline_blender_submit.json +38 -0
- vibrante_node/nodes/deadline_houdini_submit.json +38 -0
- vibrante_node/nodes/deadline_job_status.json +28 -0
- vibrante_node/nodes/deadline_maya_submit.json +40 -0
- vibrante_node/nodes/delay_timer.json +26 -0
- vibrante_node/nodes/example_random_float.json +35 -0
- vibrante_node/nodes/file_append.json +18 -0
- vibrante_node/nodes/file_write.json +18 -0
- vibrante_node/nodes/for_loop.json +46 -0
- vibrante_node/nodes/get_dict_value.json +19 -0
- vibrante_node/nodes/get_list_item.json +19 -0
- vibrante_node/nodes/houdini_action_bake_animation.json +20 -0
- vibrante_node/nodes/houdini_action_custom.json +20 -0
- vibrante_node/nodes/houdini_action_export_alembic.json +20 -0
- vibrante_node/nodes/houdini_action_export_camera_alembic.json +20 -0
- vibrante_node/nodes/houdini_action_export_fbx.json +18 -0
- vibrante_node/nodes/houdini_action_import_alembic.json +18 -0
- vibrante_node/nodes/houdini_action_import_camera.json +17 -0
- vibrante_node/nodes/houdini_action_import_fbx.json +18 -0
- vibrante_node/nodes/houdini_action_import_obj.json +18 -0
- vibrante_node/nodes/houdini_action_new_hip.json +16 -0
- vibrante_node/nodes/houdini_action_open_hip.json +17 -0
- vibrante_node/nodes/houdini_action_save_hip.json +17 -0
- vibrante_node/nodes/houdini_action_scene_info.json +16 -0
- vibrante_node/nodes/houdini_action_set_frame_range.json +18 -0
- vibrante_node/nodes/houdini_get_action_result.json +21 -0
- vibrante_node/nodes/houdini_headless.json +85 -0
- vibrante_node/nodes/houdini_scene_snapshot.json +41 -0
- vibrante_node/nodes/http_request.json +76 -0
- vibrante_node/nodes/if_condition.json +45 -0
- vibrante_node/nodes/list_directory.json +17 -0
- vibrante_node/nodes/list_images_recursive.json +41 -0
- vibrante_node/nodes/list_item_picker.json +41 -0
- vibrante_node/nodes/list_length.json +17 -0
- vibrante_node/nodes/logical_gate.json +45 -0
- vibrante_node/nodes/loop_body.json +62 -0
- vibrante_node/nodes/math_add.json +17 -0
- vibrante_node/nodes/math_divide.json +17 -0
- vibrante_node/nodes/math_modulo.json +17 -0
- vibrante_node/nodes/math_multiply.json +36 -0
- vibrante_node/nodes/math_subtract.json +17 -0
- vibrante_node/nodes/maya_action_assign_material.json +18 -0
- vibrante_node/nodes/maya_action_bake_animation.json +21 -0
- vibrante_node/nodes/maya_action_create_render_layer.json +19 -0
- vibrante_node/nodes/maya_action_custom.json +20 -0
- vibrante_node/nodes/maya_action_export_alembic.json +22 -0
- vibrante_node/nodes/maya_action_export_camera_alembic.json +20 -0
- vibrante_node/nodes/maya_action_export_fbx.json +18 -0
- vibrante_node/nodes/maya_action_import_alembic.json +17 -0
- vibrante_node/nodes/maya_action_import_camera.json +17 -0
- vibrante_node/nodes/maya_action_import_fbx.json +17 -0
- vibrante_node/nodes/maya_action_import_obj.json +17 -0
- vibrante_node/nodes/maya_action_list_references.json +16 -0
- vibrante_node/nodes/maya_action_new_scene.json +16 -0
- vibrante_node/nodes/maya_action_open_scene.json +18 -0
- vibrante_node/nodes/maya_action_playblast.json +22 -0
- vibrante_node/nodes/maya_action_reference_alembic.json +18 -0
- vibrante_node/nodes/maya_action_reference_scene.json +18 -0
- vibrante_node/nodes/maya_action_save_scene.json +18 -0
- vibrante_node/nodes/maya_action_scene_info.json +16 -0
- vibrante_node/nodes/maya_action_set_aovs.json +18 -0
- vibrante_node/nodes/maya_action_set_frame_range.json +18 -0
- vibrante_node/nodes/maya_action_set_render_settings.json +23 -0
- vibrante_node/nodes/maya_get_action_result.json +21 -0
- vibrante_node/nodes/maya_headless.json +27 -0
- vibrante_node/nodes/mcp_call_tool.json +19 -0
- vibrante_node/nodes/mcp_list_tools.json +18 -0
- vibrante_node/nodes/mcp_server_init.json +23 -0
- vibrante_node/nodes/message_node.json +32 -0
- vibrante_node/nodes/prism_add_integration.json +49 -0
- vibrante_node/nodes/prism_build_entity.json +45 -0
- vibrante_node/nodes/prism_change_project.json +37 -0
- vibrante_node/nodes/prism_core_info.json +37 -0
- vibrante_node/nodes/prism_core_init.json +46 -0
- vibrante_node/nodes/prism_create_category.json +44 -0
- vibrante_node/nodes/prism_create_entity.json +60 -0
- vibrante_node/nodes/prism_create_playblast.json +56 -0
- vibrante_node/nodes/prism_create_product_version.json +64 -0
- vibrante_node/nodes/prism_create_project.json +50 -0
- vibrante_node/nodes/prism_create_scene_from_preset.json +59 -0
- vibrante_node/nodes/prism_eval.json +42 -0
- vibrante_node/nodes/prism_get_aovs.json +29 -0
- vibrante_node/nodes/prism_get_asset_by_name.json +69 -0
- vibrante_node/nodes/prism_get_asset_type_by_name.json +62 -0
- vibrante_node/nodes/prism_get_asset_types_by_project.json +55 -0
- vibrante_node/nodes/prism_get_assets_by_project.json +41 -0
- vibrante_node/nodes/prism_get_assets_by_type.json +69 -0
- vibrante_node/nodes/prism_get_config.json +48 -0
- vibrante_node/nodes/prism_get_current_scene.json +37 -0
- vibrante_node/nodes/prism_get_departments.json +37 -0
- vibrante_node/nodes/prism_get_entity_info.json +69 -0
- vibrante_node/nodes/prism_get_entity_path.json +69 -0
- vibrante_node/nodes/prism_get_export_path.json +26 -0
- vibrante_node/nodes/prism_get_latest_product_path.json +34 -0
- vibrante_node/nodes/prism_get_media.json +29 -0
- vibrante_node/nodes/prism_get_media_versions.json +33 -0
- vibrante_node/nodes/prism_get_plugin.json +35 -0
- vibrante_node/nodes/prism_get_preset_scenes.json +35 -0
- vibrante_node/nodes/prism_get_product_versions.json +33 -0
- vibrante_node/nodes/prism_get_products.json +29 -0
- vibrante_node/nodes/prism_get_project_by_name.json +55 -0
- vibrante_node/nodes/prism_get_project_config_path.json +26 -0
- vibrante_node/nodes/prism_get_scene_files.json +45 -0
- vibrante_node/nodes/prism_get_scene_path.json +23 -0
- vibrante_node/nodes/prism_get_sequence_by_project.json +48 -0
- vibrante_node/nodes/prism_get_sequences_by_project.json +41 -0
- vibrante_node/nodes/prism_get_shot_by_name.json +62 -0
- vibrante_node/nodes/prism_get_shot_by_sequence.json +55 -0
- vibrante_node/nodes/prism_get_shot_info.json +69 -0
- vibrante_node/nodes/prism_get_shots.json +29 -0
- vibrante_node/nodes/prism_get_shots_by_project_sequence.json +48 -0
- vibrante_node/nodes/prism_get_shots_by_sequence.json +48 -0
- vibrante_node/nodes/prism_get_tasks.json +39 -0
- vibrante_node/nodes/prism_import_product.json +37 -0
- vibrante_node/nodes/prism_list_plugins.json +25 -0
- vibrante_node/nodes/prism_list_projects.json +25 -0
- vibrante_node/nodes/prism_login_token.json +33 -0
- vibrante_node/nodes/prism_monkey_patch.json +46 -0
- vibrante_node/nodes/prism_open_scene.json +33 -0
- vibrante_node/nodes/prism_popup.json +40 -0
- vibrante_node/nodes/prism_register_callback.json +58 -0
- vibrante_node/nodes/prism_save_scene_version.json +90 -0
- vibrante_node/nodes/prism_send_cmd.json +54 -0
- vibrante_node/nodes/prism_set_config.json +55 -0
- vibrante_node/nodes/prism_studio_assign_project.json +43 -0
- vibrante_node/nodes/prism_trigger_callback.json +42 -0
- vibrante_node/nodes/prism_usd_department_layer_path.json +35 -0
- vibrante_node/nodes/prism_usd_entity_path.json +29 -0
- vibrante_node/nodes/prism_usd_sublayer_path.json +41 -0
- vibrante_node/nodes/prism_usd_update_department_layer.json +33 -0
- vibrante_node/nodes/prism_usd_update_sublayer.json +33 -0
- vibrante_node/nodes/python_script.json +17 -0
- vibrante_node/nodes/scene_intent_extractor.json +25 -0
- vibrante_node/nodes/set_dict_value.json +20 -0
- vibrante_node/nodes/string_concat.json +47 -0
- vibrante_node/nodes/string_length.json +16 -0
- vibrante_node/nodes/string_lowercase.json +16 -0
- vibrante_node/nodes/string_replace.json +18 -0
- vibrante_node/nodes/string_split.json +17 -0
- vibrante_node/nodes/string_uppercase.json +16 -0
- vibrante_node/nodes/variable_node.json +42 -0
- vibrante_node/nodes/while_loop.json +18 -0
- vibrante_node/splash.png +0 -0
- vibrante_node/vfx_workflows/01_prism_project_overview.json +492 -0
- vibrante_node/vfx_workflows/02_maya_asset_publish.json +776 -0
- vibrante_node/vfx_workflows/03_multi_shot_alembic_export.json +856 -0
- vibrante_node/vfx_workflows/04_deadline_render_pipeline.json +994 -0
- vibrante_node/vfx_workflows/05_houdini_fx_pipeline.json +1056 -0
- vibrante_node/vfx_workflows/06_blender_multi_format_export.json +1206 -0
- vibrante_node/website_examples/database_query.json +69 -0
- vibrante_node/website_examples/email_notification.json +104 -0
- vibrante_node/website_examples/file_batch_processor.json +62 -0
- vibrante_node/website_examples/folder_monitor.json +55 -0
- vibrante_node/website_examples/hou_sop_chain.json +69 -0
- vibrante_node/website_examples/http_request.json +90 -0
- vibrante_node/website_examples/image_resizer.json +90 -0
- vibrante_node/website_examples/llm_text_generation.json +90 -0
- vibrante_node/website_examples/prism_multi_asset_publisher.json +76 -0
- vibrante_node/website_examples/regex_replace.json +69 -0
- vibrante_node/workflows/If_condition.json +134 -0
- vibrante_node/workflows/Maya_WorkFlow.json +464 -0
- vibrante_node/workflows/asset_intelligence_pipeline.json +259 -0
- vibrante_node/workflows/concat_string_with_loop.json +262 -0
- vibrante_node/workflows/delay_time.json +74 -0
- vibrante_node/workflows/example_workflow_maya_prism_demo.json +503 -0
- vibrante_node/workflows/example_workflow_prism_demo.json +276 -0
- vibrante_node/workflows/example_workflow_prism_demo_02.json +221 -0
- vibrante_node/workflows/extract_FPS_from_maya_scene.json +265 -0
- vibrante_node/workflows/for_each.json +260 -0
- vibrante_node/workflows/get_list_item.json +151 -0
- vibrante_node/workflows/hou_mcp_scene_context_demo.json +67 -0
- vibrante_node/workflows/list_recursive_images.json +103 -0
- vibrante_node/workflows/logic_if_example.json +262 -0
- vibrante_node/workflows/logic_if_with_variables.json +210 -0
- vibrante_node/workflows/loop_break_example.json +197 -0
- vibrante_node/workflows/loop_operation_example.json +382 -0
- vibrante_node/workflows/mcp_list_tools_demo.json +90 -0
- vibrante_node/workflows/prism_assets_workflow.json +131 -0
- vibrante_node/workflows/python_script_node.json +89 -0
- vibrante_node/workflows/run_in_sequence.json +158 -0
- vibrante_node/workflows/scene_intent_pipeline.json +134 -0
- vibrante_node/workflows/scene_planning_pipeline.json +258 -0
- vibrante_node/workflows/semantic_scene_intent.json +96 -0
- vibrante_node/workflows/setup_maya_scene.json +352 -0
- vibrante_node/workflows/tutorial_maya_headless_prism_pipeline.json +593 -0
- vibrante_node/workflows/two_way_switch.json +341 -0
- vibrante_node/workflows/while_loop_class_example.json +192 -0
- vibrante_node/workflows/while_loop_example.json +184 -0
- vibrante_node/workflows/while_loop_retry_example.json +276 -0
- vibrante_node-2.5.1.dist-info/METADATA +715 -0
- vibrante_node-2.5.1.dist-info/RECORD +487 -0
- vibrante_node-2.5.1.dist-info/WHEEL +5 -0
- vibrante_node-2.5.1.dist-info/entry_points.txt +3 -0
- vibrante_node-2.5.1.dist-info/licenses/CLA.md +96 -0
- vibrante_node-2.5.1.dist-info/licenses/COMMERCIAL_LICENSE.md +170 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSE +178 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/AGPL-3.0.txt +661 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0.txt +396 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/GPL-3.0.txt +674 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/LGPL-3.0.txt +165 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/README.md +65 -0
- vibrante_node-2.5.1.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,1736 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<meta name="description" content="Vibrante-Node v2.5.1 — User Guide">
|
|
7
|
+
<title>User Guide — Vibrante-Node Docs</title>
|
|
8
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/atom-one-dark.min.css">
|
|
9
|
+
<style>
|
|
10
|
+
/* ── Reset & Variables ─────────────────────────────────────────────────── */
|
|
11
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
12
|
+
:root {
|
|
13
|
+
--bg: #1e1e2e;
|
|
14
|
+
--surface: #181825;
|
|
15
|
+
--surface2: #11111b;
|
|
16
|
+
--border: #313244;
|
|
17
|
+
--text: #cdd6f4;
|
|
18
|
+
--subtext: #a6adc8;
|
|
19
|
+
--muted: #6c7086;
|
|
20
|
+
--lavender: #b4befe;
|
|
21
|
+
--blue: #89b4fa;
|
|
22
|
+
--teal: #94e2d5;
|
|
23
|
+
--green: #a6e3a1;
|
|
24
|
+
--yellow: #f9e2af;
|
|
25
|
+
--peach: #fab387;
|
|
26
|
+
--red: #f38ba8;
|
|
27
|
+
--pink: #f5c2e7;
|
|
28
|
+
--mauve: #cba6f7;
|
|
29
|
+
--sidebar-w: 260px;
|
|
30
|
+
--toc-w: 220px;
|
|
31
|
+
--header-h: 56px;
|
|
32
|
+
--font: 'Segoe UI', system-ui, -apple-system, sans-serif;
|
|
33
|
+
--mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* ── Layout ─────────────────────────────────────────────────────────────── */
|
|
37
|
+
html { scroll-behavior: smooth; }
|
|
38
|
+
body {
|
|
39
|
+
font-family: var(--font);
|
|
40
|
+
background: var(--bg);
|
|
41
|
+
color: var(--text);
|
|
42
|
+
line-height: 1.7;
|
|
43
|
+
min-height: 100vh;
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-rows: var(--header-h) 1fr;
|
|
46
|
+
grid-template-columns: var(--sidebar-w) 1fr var(--toc-w);
|
|
47
|
+
grid-template-areas:
|
|
48
|
+
"header header header"
|
|
49
|
+
"sidebar content toc";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ── Header ─────────────────────────────────────────────────────────────── */
|
|
53
|
+
.header {
|
|
54
|
+
grid-area: header;
|
|
55
|
+
position: sticky; top: 0; z-index: 200;
|
|
56
|
+
background: var(--surface2);
|
|
57
|
+
border-bottom: 1px solid var(--border);
|
|
58
|
+
display: flex; align-items: center; gap: 16px;
|
|
59
|
+
padding: 0 24px;
|
|
60
|
+
}
|
|
61
|
+
.header-logo {
|
|
62
|
+
font-weight: 700; font-size: 1.05em;
|
|
63
|
+
color: var(--mauve);
|
|
64
|
+
text-decoration: none;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
}
|
|
67
|
+
.header-version {
|
|
68
|
+
font-size: .78em;
|
|
69
|
+
background: var(--border);
|
|
70
|
+
color: var(--subtext);
|
|
71
|
+
padding: 2px 8px; border-radius: 12px;
|
|
72
|
+
}
|
|
73
|
+
.header-spacer { flex: 1; }
|
|
74
|
+
.search-wrap { position: relative; }
|
|
75
|
+
#search-input {
|
|
76
|
+
background: var(--surface);
|
|
77
|
+
border: 1px solid var(--border);
|
|
78
|
+
border-radius: 8px;
|
|
79
|
+
color: var(--text);
|
|
80
|
+
font-family: var(--font);
|
|
81
|
+
font-size: .9em;
|
|
82
|
+
padding: 6px 14px 6px 36px;
|
|
83
|
+
width: 260px;
|
|
84
|
+
outline: none;
|
|
85
|
+
transition: border-color .15s;
|
|
86
|
+
}
|
|
87
|
+
#search-input:focus { border-color: var(--mauve); }
|
|
88
|
+
.search-icon {
|
|
89
|
+
position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
|
|
90
|
+
color: var(--muted); pointer-events: none; font-size: .9em;
|
|
91
|
+
}
|
|
92
|
+
#search-results {
|
|
93
|
+
position: absolute; top: calc(100% + 8px); right: 0;
|
|
94
|
+
width: 380px; max-height: 420px; overflow-y: auto;
|
|
95
|
+
background: var(--surface);
|
|
96
|
+
border: 1px solid var(--border);
|
|
97
|
+
border-radius: 10px;
|
|
98
|
+
box-shadow: 0 8px 32px rgba(0,0,0,.5);
|
|
99
|
+
display: none; z-index: 300;
|
|
100
|
+
}
|
|
101
|
+
#search-results.visible { display: block; }
|
|
102
|
+
.search-result-item {
|
|
103
|
+
padding: 10px 16px;
|
|
104
|
+
border-bottom: 1px solid var(--border);
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
transition: background .1s;
|
|
107
|
+
}
|
|
108
|
+
.search-result-item:last-child { border-bottom: none; }
|
|
109
|
+
.search-result-item:hover { background: var(--bg); }
|
|
110
|
+
.search-result-title { color: var(--blue); font-weight: 600; font-size: .9em; }
|
|
111
|
+
.search-result-excerpt { color: var(--subtext); font-size: .82em; margin-top: 2px; line-height: 1.4; }
|
|
112
|
+
.search-no-results { padding: 16px; color: var(--muted); text-align: center; font-size: .9em; }
|
|
113
|
+
|
|
114
|
+
/* ── Sidebar ─────────────────────────────────────────────────────────────── */
|
|
115
|
+
.sidebar {
|
|
116
|
+
grid-area: sidebar;
|
|
117
|
+
position: sticky; top: var(--header-h);
|
|
118
|
+
height: calc(100vh - var(--header-h));
|
|
119
|
+
overflow-y: auto;
|
|
120
|
+
background: var(--surface);
|
|
121
|
+
border-right: 1px solid var(--border);
|
|
122
|
+
padding: 20px 0;
|
|
123
|
+
scrollbar-width: thin;
|
|
124
|
+
scrollbar-color: var(--border) transparent;
|
|
125
|
+
}
|
|
126
|
+
.sidebar::-webkit-scrollbar { width: 4px; }
|
|
127
|
+
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
|
|
128
|
+
|
|
129
|
+
.sidebar-group { margin-bottom: 4px; }
|
|
130
|
+
.sidebar-group-title {
|
|
131
|
+
font-size: .7em;
|
|
132
|
+
text-transform: uppercase;
|
|
133
|
+
letter-spacing: .1em;
|
|
134
|
+
color: var(--muted);
|
|
135
|
+
padding: 10px 20px 4px;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
}
|
|
138
|
+
.sidebar-link {
|
|
139
|
+
display: flex; align-items: center; gap: 8px;
|
|
140
|
+
padding: 6px 20px;
|
|
141
|
+
color: var(--subtext);
|
|
142
|
+
text-decoration: none;
|
|
143
|
+
font-size: .88em;
|
|
144
|
+
border-left: 3px solid transparent;
|
|
145
|
+
transition: all .12s;
|
|
146
|
+
line-height: 1.3;
|
|
147
|
+
}
|
|
148
|
+
.sidebar-link:hover { color: var(--text); background: var(--bg); }
|
|
149
|
+
.sidebar-link.active {
|
|
150
|
+
color: var(--mauve);
|
|
151
|
+
border-left-color: var(--mauve);
|
|
152
|
+
background: rgba(180,190,254,.06);
|
|
153
|
+
font-weight: 600;
|
|
154
|
+
}
|
|
155
|
+
.sidebar-num {
|
|
156
|
+
font-size: .7em;
|
|
157
|
+
color: var(--muted);
|
|
158
|
+
background: var(--border);
|
|
159
|
+
border-radius: 4px;
|
|
160
|
+
padding: 1px 5px;
|
|
161
|
+
flex-shrink: 0;
|
|
162
|
+
}
|
|
163
|
+
.sidebar-divider {
|
|
164
|
+
border: none;
|
|
165
|
+
border-top: 1px solid var(--border);
|
|
166
|
+
margin: 12px 16px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* ── Content ─────────────────────────────────────────────────────────────── */
|
|
170
|
+
.content {
|
|
171
|
+
grid-area: content;
|
|
172
|
+
min-width: 0;
|
|
173
|
+
padding: 40px 48px 80px;
|
|
174
|
+
max-width: 860px;
|
|
175
|
+
}
|
|
176
|
+
.content-inner { max-width: 820px; }
|
|
177
|
+
|
|
178
|
+
/* Breadcrumb */
|
|
179
|
+
.breadcrumb {
|
|
180
|
+
font-size: .8em;
|
|
181
|
+
color: var(--muted);
|
|
182
|
+
margin-bottom: 28px;
|
|
183
|
+
display: flex; align-items: center; gap: 6px;
|
|
184
|
+
}
|
|
185
|
+
.breadcrumb a { color: var(--blue); text-decoration: none; }
|
|
186
|
+
.breadcrumb a:hover { text-decoration: underline; }
|
|
187
|
+
.breadcrumb-sep { color: var(--border); }
|
|
188
|
+
|
|
189
|
+
/* Typography */
|
|
190
|
+
h1 { font-size: 2em; color: var(--mauve); border-bottom: 2px solid var(--border); padding-bottom: 12px; margin: 20px 0 20px; }
|
|
191
|
+
h2 { font-size: 1.45em; color: var(--blue); margin: 40px 0 14px; padding-top: 8px; }
|
|
192
|
+
h3 { font-size: 1.15em; color: var(--teal); margin: 28px 0 10px; }
|
|
193
|
+
h4 { font-size: 1em; color: var(--pink); margin: 20px 0 8px; }
|
|
194
|
+
h5 { font-size: .95em; color: var(--yellow); margin: 16px 0 6px; }
|
|
195
|
+
p { margin-bottom: 16px; color: var(--text); }
|
|
196
|
+
a { color: var(--blue); }
|
|
197
|
+
a:hover { text-decoration: underline; }
|
|
198
|
+
strong { color: var(--peach); }
|
|
199
|
+
em { color: var(--yellow); font-style: italic; }
|
|
200
|
+
|
|
201
|
+
ul, ol { margin: 10px 0 16px 24px; }
|
|
202
|
+
li { margin-bottom: 6px; }
|
|
203
|
+
li > ul, li > ol { margin-top: 4px; margin-bottom: 4px; }
|
|
204
|
+
|
|
205
|
+
blockquote {
|
|
206
|
+
border-left: 4px solid var(--mauve);
|
|
207
|
+
padding: 10px 20px;
|
|
208
|
+
margin: 16px 0;
|
|
209
|
+
background: rgba(180,190,254,.05);
|
|
210
|
+
border-radius: 0 8px 8px 0;
|
|
211
|
+
color: var(--subtext);
|
|
212
|
+
}
|
|
213
|
+
blockquote strong { color: var(--mauve); }
|
|
214
|
+
|
|
215
|
+
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
|
|
216
|
+
|
|
217
|
+
/* Code */
|
|
218
|
+
code {
|
|
219
|
+
background: var(--surface2);
|
|
220
|
+
color: var(--red);
|
|
221
|
+
padding: 2px 7px; border-radius: 5px;
|
|
222
|
+
font-family: var(--mono); font-size: .87em;
|
|
223
|
+
}
|
|
224
|
+
pre {
|
|
225
|
+
background: var(--surface2) !important;
|
|
226
|
+
border: 1px solid var(--border);
|
|
227
|
+
border-radius: 10px;
|
|
228
|
+
padding: 20px 22px;
|
|
229
|
+
overflow-x: auto;
|
|
230
|
+
margin: 16px 0 22px;
|
|
231
|
+
position: relative;
|
|
232
|
+
}
|
|
233
|
+
pre code {
|
|
234
|
+
background: none !important;
|
|
235
|
+
color: inherit !important;
|
|
236
|
+
padding: 0; font-size: .9em;
|
|
237
|
+
border-radius: 0;
|
|
238
|
+
}
|
|
239
|
+
/* Copy button */
|
|
240
|
+
.copy-btn {
|
|
241
|
+
position: absolute; top: 10px; right: 12px;
|
|
242
|
+
background: var(--border);
|
|
243
|
+
color: var(--subtext);
|
|
244
|
+
border: none; border-radius: 5px;
|
|
245
|
+
padding: 3px 10px; font-size: .75em;
|
|
246
|
+
cursor: pointer; transition: all .12s;
|
|
247
|
+
font-family: var(--font);
|
|
248
|
+
}
|
|
249
|
+
.copy-btn:hover { background: var(--mauve); color: var(--surface2); }
|
|
250
|
+
.copy-btn.copied { background: var(--green); color: var(--surface2); }
|
|
251
|
+
|
|
252
|
+
/* Tables */
|
|
253
|
+
table { border-collapse: collapse; width: 100%; margin: 16px 0 22px; font-size: .9em; }
|
|
254
|
+
th { background: var(--border); color: var(--mauve); padding: 10px 14px; text-align: left; font-weight: 600; }
|
|
255
|
+
td { border-top: 1px solid var(--border); padding: 9px 14px; color: var(--text); }
|
|
256
|
+
tr:nth-child(even) td { background: rgba(17,17,27,.4); }
|
|
257
|
+
td code { font-size: .85em; }
|
|
258
|
+
|
|
259
|
+
/* Callout boxes */
|
|
260
|
+
.callout {
|
|
261
|
+
border-radius: 8px;
|
|
262
|
+
padding: 14px 18px;
|
|
263
|
+
margin: 16px 0 22px;
|
|
264
|
+
border-left: 4px solid;
|
|
265
|
+
}
|
|
266
|
+
.callout-note { background: rgba(137,180,250,.08); border-color: var(--blue); }
|
|
267
|
+
.callout-tip { background: rgba(166,227,161,.08); border-color: var(--green); }
|
|
268
|
+
.callout-warning { background: rgba(249,226,175,.08); border-color: var(--yellow); }
|
|
269
|
+
.callout-danger { background: rgba(243,139,168,.08); border-color: var(--red); }
|
|
270
|
+
.callout-title { font-weight: 700; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
|
|
271
|
+
.callout-note .callout-title { color: var(--blue); }
|
|
272
|
+
.callout-tip .callout-title { color: var(--green); }
|
|
273
|
+
.callout-warning .callout-title { color: var(--yellow); }
|
|
274
|
+
.callout-danger .callout-title { color: var(--red); }
|
|
275
|
+
|
|
276
|
+
/* Validation badges */
|
|
277
|
+
.val-badge {
|
|
278
|
+
display: inline-block; font-size: .78em; font-weight: 600;
|
|
279
|
+
padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
|
|
280
|
+
border: 1px solid transparent; letter-spacing: .02em;
|
|
281
|
+
}
|
|
282
|
+
.val-badge-ok { background: rgba(166,227,161,.12); border-color: var(--green); color: var(--green); }
|
|
283
|
+
.val-badge-warn { background: rgba(249,226,175,.12); border-color: var(--yellow); color: var(--yellow); }
|
|
284
|
+
.val-badge-error { background: rgba(243,139,168,.12); border-color: var(--red); color: var(--red); }
|
|
285
|
+
.val-badge-unknown { background: rgba(108,112,134,.12); border-color: #6c7086; color: #6c7086; }
|
|
286
|
+
|
|
287
|
+
/* Prev/Next navigation */
|
|
288
|
+
.page-nav {
|
|
289
|
+
display: flex; justify-content: space-between;
|
|
290
|
+
margin-top: 60px; padding-top: 24px;
|
|
291
|
+
border-top: 1px solid var(--border);
|
|
292
|
+
gap: 16px;
|
|
293
|
+
}
|
|
294
|
+
.page-nav-link {
|
|
295
|
+
display: flex; flex-direction: column;
|
|
296
|
+
text-decoration: none;
|
|
297
|
+
padding: 14px 20px;
|
|
298
|
+
background: var(--surface);
|
|
299
|
+
border: 1px solid var(--border);
|
|
300
|
+
border-radius: 10px;
|
|
301
|
+
min-width: 200px;
|
|
302
|
+
transition: border-color .15s;
|
|
303
|
+
max-width: 48%;
|
|
304
|
+
}
|
|
305
|
+
.page-nav-link:hover { border-color: var(--mauve); }
|
|
306
|
+
.page-nav-label { font-size: .75em; color: var(--muted); margin-bottom: 4px; }
|
|
307
|
+
.page-nav-title { color: var(--blue); font-weight: 600; font-size: .95em; }
|
|
308
|
+
.page-nav-link.prev .page-nav-label::before { content: '← '; }
|
|
309
|
+
.page-nav-link.next { margin-left: auto; text-align: right; }
|
|
310
|
+
.page-nav-link.next .page-nav-label::after { content: ' →'; }
|
|
311
|
+
|
|
312
|
+
/* ── TOC (right panel) ───────────────────────────────────────────────────── */
|
|
313
|
+
.toc {
|
|
314
|
+
grid-area: toc;
|
|
315
|
+
position: sticky; top: var(--header-h);
|
|
316
|
+
height: calc(100vh - var(--header-h));
|
|
317
|
+
overflow-y: auto;
|
|
318
|
+
padding: 28px 16px 28px 8px;
|
|
319
|
+
scrollbar-width: thin;
|
|
320
|
+
scrollbar-color: var(--border) transparent;
|
|
321
|
+
}
|
|
322
|
+
.toc-title {
|
|
323
|
+
font-size: .72em;
|
|
324
|
+
text-transform: uppercase;
|
|
325
|
+
letter-spacing: .1em;
|
|
326
|
+
color: var(--muted);
|
|
327
|
+
font-weight: 600;
|
|
328
|
+
margin-bottom: 12px;
|
|
329
|
+
padding-left: 8px;
|
|
330
|
+
}
|
|
331
|
+
.toc-link {
|
|
332
|
+
display: block;
|
|
333
|
+
padding: 4px 8px;
|
|
334
|
+
color: var(--subtext);
|
|
335
|
+
text-decoration: none;
|
|
336
|
+
font-size: .82em;
|
|
337
|
+
border-left: 2px solid transparent;
|
|
338
|
+
border-radius: 0 4px 4px 0;
|
|
339
|
+
transition: all .12s;
|
|
340
|
+
line-height: 1.35;
|
|
341
|
+
margin-bottom: 1px;
|
|
342
|
+
}
|
|
343
|
+
.toc-link:hover { color: var(--text); border-left-color: var(--border); }
|
|
344
|
+
.toc-link.active { color: var(--mauve); border-left-color: var(--mauve); background: rgba(180,190,254,.05); }
|
|
345
|
+
.toc-link.toc-h3 { padding-left: 20px; font-size: .79em; }
|
|
346
|
+
.toc-link.toc-h4 { padding-left: 32px; font-size: .76em; color: var(--muted); }
|
|
347
|
+
|
|
348
|
+
/* ── Responsive ──────────────────────────────────────────────────────────── */
|
|
349
|
+
@media (max-width: 1100px) {
|
|
350
|
+
body { grid-template-columns: var(--sidebar-w) 1fr 0; }
|
|
351
|
+
.toc { display: none; }
|
|
352
|
+
}
|
|
353
|
+
@media (max-width: 760px) {
|
|
354
|
+
body { grid-template-columns: 0 1fr 0; grid-template-rows: var(--header-h) 1fr; }
|
|
355
|
+
.sidebar { display: none; }
|
|
356
|
+
.content { padding: 24px 20px 60px; }
|
|
357
|
+
#search-input { width: 180px; }
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* ── Index / landing page ────────────────────────────────────────────────── */
|
|
361
|
+
.hero { text-align: center; padding: 60px 0 48px; }
|
|
362
|
+
.hero h1 { border: none; font-size: 2.8em; }
|
|
363
|
+
.hero .tagline { color: var(--subtext); font-size: 1.15em; margin-top: 10px; }
|
|
364
|
+
.hero .version-badge {
|
|
365
|
+
display: inline-block;
|
|
366
|
+
background: var(--border); color: var(--mauve);
|
|
367
|
+
padding: 4px 14px; border-radius: 20px; font-size: .85em;
|
|
368
|
+
margin-top: 14px;
|
|
369
|
+
}
|
|
370
|
+
.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0 36px; }
|
|
371
|
+
.doc-card {
|
|
372
|
+
background: var(--surface);
|
|
373
|
+
border: 1px solid var(--border);
|
|
374
|
+
border-radius: 12px;
|
|
375
|
+
padding: 20px 24px;
|
|
376
|
+
text-decoration: none;
|
|
377
|
+
color: var(--text);
|
|
378
|
+
transition: border-color .15s, background .15s;
|
|
379
|
+
display: block;
|
|
380
|
+
}
|
|
381
|
+
.doc-card:hover { border-color: var(--mauve); background: rgba(180,190,254,.04); }
|
|
382
|
+
.doc-card-num { font-size: .72em; color: var(--muted); margin-bottom: 4px; }
|
|
383
|
+
.doc-card-title { color: var(--blue); font-weight: 700; font-size: 1em; margin-bottom: 6px; }
|
|
384
|
+
.doc-card-desc { color: var(--subtext); font-size: .85em; line-height: 1.5; }
|
|
385
|
+
.group-title { color: var(--teal); font-size: 1.1em; font-weight: 600; margin: 32px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
|
|
386
|
+
</style>
|
|
387
|
+
<span id="portal-base" data-base="" style="display:none"></span>
|
|
388
|
+
</head>
|
|
389
|
+
<body>
|
|
390
|
+
|
|
391
|
+
<!-- ── Header ─────────────────────────────────────────────────────────── -->
|
|
392
|
+
<header class="header">
|
|
393
|
+
<a class="header-logo" href="index.html">Vibrante-Node</a>
|
|
394
|
+
<span class="header-version">v2.5.1</span>
|
|
395
|
+
<div class="header-spacer"></div>
|
|
396
|
+
<div class="search-wrap">
|
|
397
|
+
<span class="search-icon">🔍</span>
|
|
398
|
+
<input id="search-input" type="text" placeholder="Search docs… (/)" autocomplete="off" spellcheck="false">
|
|
399
|
+
<div id="search-results"></div>
|
|
400
|
+
</div>
|
|
401
|
+
</header>
|
|
402
|
+
|
|
403
|
+
<!-- ── Sidebar ────────────────────────────────────────────────────────── -->
|
|
404
|
+
<nav class="sidebar">
|
|
405
|
+
<div class="sidebar-group">
|
|
406
|
+
<div class="sidebar-group-title">Overview</div>
|
|
407
|
+
<a class="sidebar-link" href="01_introduction.html"><span class="sidebar-num">01</span>Introduction</a>
|
|
408
|
+
<a class="sidebar-link" href="02_getting_started.html"><span class="sidebar-num">02</span>Getting Started</a>
|
|
409
|
+
</div>
|
|
410
|
+
<div class="sidebar-group">
|
|
411
|
+
<div class="sidebar-group-title">Using the App</div>
|
|
412
|
+
<a class="sidebar-link active" href="03_user_guide.html"><span class="sidebar-num">03</span>User Guide</a>
|
|
413
|
+
<a class="sidebar-link" href="04_workflow_tutorials.html"><span class="sidebar-num">04</span>Workflow Tutorials</a>
|
|
414
|
+
</div>
|
|
415
|
+
<div class="sidebar-group">
|
|
416
|
+
<div class="sidebar-group-title">Developing Nodes</div>
|
|
417
|
+
<a class="sidebar-link" href="05_node_development.html"><span class="sidebar-num">05</span>Node Development Guide</a>
|
|
418
|
+
<a class="sidebar-link" href="14_custom_nodes_api.html"><span class="sidebar-num">14</span>Custom Nodes API</a>
|
|
419
|
+
<a class="sidebar-link" href="08_api_reference.html"><span class="sidebar-num">08</span>API Reference</a>
|
|
420
|
+
</div>
|
|
421
|
+
<div class="sidebar-group">
|
|
422
|
+
<div class="sidebar-group-title">Architecture</div>
|
|
423
|
+
<a class="sidebar-link" href="06_backend_architecture.html"><span class="sidebar-num">06</span>Backend Architecture</a>
|
|
424
|
+
<a class="sidebar-link" href="07_frontend_architecture.html"><span class="sidebar-num">07</span>Frontend Architecture</a>
|
|
425
|
+
</div>
|
|
426
|
+
<div class="sidebar-group">
|
|
427
|
+
<div class="sidebar-group-title">Advanced</div>
|
|
428
|
+
<a class="sidebar-link" href="09_advanced_topics.html"><span class="sidebar-num">09</span>Advanced Topics</a>
|
|
429
|
+
<a class="sidebar-link" href="10_contribution_guide.html"><span class="sidebar-num">10</span>Contribution Guide</a>
|
|
430
|
+
</div>
|
|
431
|
+
<div class="sidebar-group">
|
|
432
|
+
<div class="sidebar-group-title">Reference</div>
|
|
433
|
+
<a class="sidebar-link" href="11_troubleshooting.html"><span class="sidebar-num">11</span>Troubleshooting</a>
|
|
434
|
+
<a class="sidebar-link" href="12_examples_library.html"><span class="sidebar-num">12</span>Examples Library</a>
|
|
435
|
+
<a class="sidebar-link" href="13_general_purpose_automation.html"><span class="sidebar-num">13</span>General Purpose Automation</a>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
</nav>
|
|
439
|
+
|
|
440
|
+
<!-- ── Main content ───────────────────────────────────────────────────── -->
|
|
441
|
+
<main class="content">
|
|
442
|
+
<div class="content-inner">
|
|
443
|
+
<nav class="breadcrumb"><a href="index.html">Docs</a><span class="breadcrumb-sep">›</span><span>User Guide</span></nav>
|
|
444
|
+
<div class="val-badge val-badge-ok" title="Verified against source code">✓ Verified</div>
|
|
445
|
+
<p># Vibrante-Node v2.5.0 — User Guide</p>
|
|
446
|
+
<p>This guide is the comprehensive reference for working with Vibrante-Node. It covers every UI element, interaction, and workflow concept in depth — from beginner navigation to advanced features like subgraphs, bypass mode, and live inspection.</p>
|
|
447
|
+
<hr />
|
|
448
|
+
<h2 id="table-of-contents">Table of Contents</h2>
|
|
449
|
+
<ol>
|
|
450
|
+
<li><a href="#canvas-navigation">Canvas Navigation</a></li>
|
|
451
|
+
<li><a href="#node-widget-anatomy">Node Widget Anatomy</a></li>
|
|
452
|
+
<li><a href="#port-types-and-colors">Port Types and Colors</a></li>
|
|
453
|
+
<li><a href="#connecting-nodes">Connecting Nodes</a></li>
|
|
454
|
+
<li><a href="#exec-flow-pins">Exec Flow Pins</a></li>
|
|
455
|
+
<li><a href="#data-only-nodes">Data-Only Nodes</a></li>
|
|
456
|
+
<li><a href="#node-search-popup">Node Search Popup</a></li>
|
|
457
|
+
<li><a href="#right-click-context-menu">Right-Click Context Menu</a></li>
|
|
458
|
+
<li><a href="#bypass-mode">Bypass Mode</a></li>
|
|
459
|
+
<li><a href="#group-node--subgraph">Group Node / Subgraph</a></li>
|
|
460
|
+
<li><a href="#sticky-notes">Sticky Notes</a></li>
|
|
461
|
+
<li><a href="#backdrops--network-boxes">Backdrops / Network Boxes</a></li>
|
|
462
|
+
<li><a href="#canvas-search-bar">Canvas Search Bar</a></li>
|
|
463
|
+
<li><a href="#mini-map">Mini-map</a></li>
|
|
464
|
+
<li><a href="#live-wire-value-inspector">Live Wire Value Inspector</a></li>
|
|
465
|
+
<li><a href="#log-panel">Log Panel</a></li>
|
|
466
|
+
<li><a href="#toolbar-reference">Toolbar Reference</a></li>
|
|
467
|
+
<li><a href="#keyboard-shortcuts-reference">Keyboard Shortcuts Reference</a></li>
|
|
468
|
+
<li><a href="#workflow-execution">Workflow Execution</a></li>
|
|
469
|
+
<li><a href="#autosave-and-crash-recovery">Autosave and Crash Recovery</a></li>
|
|
470
|
+
<li><a href="#recent-files">Recent Files</a></li>
|
|
471
|
+
</ol>
|
|
472
|
+
<hr />
|
|
473
|
+
<h2 id="canvas-navigation">Canvas Navigation</h2>
|
|
474
|
+
<p>The canvas is a <code>NodeView</code> (QGraphicsView) that renders a <code>NodeScene</code> (QGraphicsScene). You can navigate a canvas of any size smoothly with the following controls.</p>
|
|
475
|
+
<h3 id="panning">Panning</h3>
|
|
476
|
+
<table>
|
|
477
|
+
<thead>
|
|
478
|
+
<tr>
|
|
479
|
+
<th>Method</th>
|
|
480
|
+
<th>Description</th>
|
|
481
|
+
</tr>
|
|
482
|
+
</thead>
|
|
483
|
+
<tbody>
|
|
484
|
+
<tr>
|
|
485
|
+
<td><strong>Middle Mouse Button drag</strong></td>
|
|
486
|
+
<td>Pan in any direction</td>
|
|
487
|
+
</tr>
|
|
488
|
+
<tr>
|
|
489
|
+
<td><strong>Alt + Left Mouse Button drag</strong></td>
|
|
490
|
+
<td>Alternative pan (Houdini-style)</td>
|
|
491
|
+
</tr>
|
|
492
|
+
<tr>
|
|
493
|
+
<td><strong>Scroll wheel</strong></td>
|
|
494
|
+
<td>Pan vertically</td>
|
|
495
|
+
</tr>
|
|
496
|
+
<tr>
|
|
497
|
+
<td><strong>Shift + Scroll wheel</strong></td>
|
|
498
|
+
<td>Pan horizontally</td>
|
|
499
|
+
</tr>
|
|
500
|
+
</tbody>
|
|
501
|
+
</table>
|
|
502
|
+
<h3 id="zooming">Zooming</h3>
|
|
503
|
+
<table>
|
|
504
|
+
<thead>
|
|
505
|
+
<tr>
|
|
506
|
+
<th>Method</th>
|
|
507
|
+
<th>Description</th>
|
|
508
|
+
</tr>
|
|
509
|
+
</thead>
|
|
510
|
+
<tbody>
|
|
511
|
+
<tr>
|
|
512
|
+
<td><strong>Ctrl + Scroll wheel</strong></td>
|
|
513
|
+
<td>Zoom in / out centred on cursor</td>
|
|
514
|
+
</tr>
|
|
515
|
+
<tr>
|
|
516
|
+
<td><strong>+</strong> / <strong>-</strong> keys</td>
|
|
517
|
+
<td>Zoom in / out</td>
|
|
518
|
+
</tr>
|
|
519
|
+
</tbody>
|
|
520
|
+
</table>
|
|
521
|
+
<p>There is no fixed minimum or maximum zoom. You can zoom out far enough to see the entire workflow, or zoom in to individual port labels.</p>
|
|
522
|
+
<h3 id="focus-and-fitting">Focus and Fitting</h3>
|
|
523
|
+
<table>
|
|
524
|
+
<thead>
|
|
525
|
+
<tr>
|
|
526
|
+
<th>Shortcut</th>
|
|
527
|
+
<th>Description</th>
|
|
528
|
+
</tr>
|
|
529
|
+
</thead>
|
|
530
|
+
<tbody>
|
|
531
|
+
<tr>
|
|
532
|
+
<td><strong>F</strong></td>
|
|
533
|
+
<td>Fit selected nodes to the viewport. If nothing is selected, fit all nodes.</td>
|
|
534
|
+
</tr>
|
|
535
|
+
<tr>
|
|
536
|
+
<td><strong>Home</strong></td>
|
|
537
|
+
<td>Reset the view to the origin (0, 0) at 100% zoom</td>
|
|
538
|
+
</tr>
|
|
539
|
+
</tbody>
|
|
540
|
+
</table>
|
|
541
|
+
<h3 id="rubber-band-selection">Rubber-Band Selection</h3>
|
|
542
|
+
<p>Click and drag on an empty area of the canvas to draw a selection rectangle. All node widgets (and other items) whose bounding boxes intersect the rectangle are selected when you release the mouse button. Hold <strong>Shift</strong> while rubber-banding to add to the current selection without deselecting previously selected items.</p>
|
|
543
|
+
<h3 id="scroll-bars">Scroll Bars</h3>
|
|
544
|
+
<p>Standard scroll bars appear at the edges of the view when content extends beyond the visible area. They can be used alongside mouse-based navigation.</p>
|
|
545
|
+
<hr />
|
|
546
|
+
<h2 id="node-widget-anatomy">Node Widget Anatomy</h2>
|
|
547
|
+
<p>Every node on the canvas is a <code>NodeWidget</code> — a <code>QGraphicsItem</code> with a card-like appearance. Understanding its structure is essential for using the platform effectively.</p>
|
|
548
|
+
<pre><code>+------------------------------------------------------+
|
|
549
|
+
| [icon] display_name [=] bypass | <- Header
|
|
550
|
+
+----------+------------------------------------------+
|
|
551
|
+
| exec_in | | exec_out | <- Exec ports
|
|
552
|
+
| string | [text widget____________] | exec_out | <- Data port + widget
|
|
553
|
+
| int | [0___________________] | | <- Int widget
|
|
554
|
+
| float | [0.0_________________] | result | <- Output port
|
|
555
|
+
| bool | [ ] checkbox label | | <- Bool widget
|
|
556
|
+
| list | (no widget, input only) | list_out | <- List port
|
|
557
|
+
+----------+------------------------------------------+
|
|
558
|
+
</code></pre>
|
|
559
|
+
<h3 id="header">Header</h3>
|
|
560
|
+
<p>The <strong>header</strong> is the top band of the node card. It shows:</p>
|
|
561
|
+
<ul>
|
|
562
|
+
<li>An optional icon (16x16 px) loaded from the <code>icon_path</code> field in the node definition.</li>
|
|
563
|
+
<li>The node's <strong>display name</strong> — by default the <code>name</code> from the definition, but can be renamed by double-clicking the header text.</li>
|
|
564
|
+
<li>A small <strong>bypass toggle</strong> button on the right (labelled <code>=</code>). Clicking it toggles bypass mode for this node.</li>
|
|
565
|
+
</ul>
|
|
566
|
+
<p>The header background colour reflects the node's current execution state:</p>
|
|
567
|
+
<table>
|
|
568
|
+
<thead>
|
|
569
|
+
<tr>
|
|
570
|
+
<th>State</th>
|
|
571
|
+
<th>Header Colour</th>
|
|
572
|
+
</tr>
|
|
573
|
+
</thead>
|
|
574
|
+
<tbody>
|
|
575
|
+
<tr>
|
|
576
|
+
<td>Idle</td>
|
|
577
|
+
<td>Category-dependent (dark blue, purple, teal, etc.)</td>
|
|
578
|
+
</tr>
|
|
579
|
+
<tr>
|
|
580
|
+
<td>Running</td>
|
|
581
|
+
<td>Bright orange / amber</td>
|
|
582
|
+
</tr>
|
|
583
|
+
<tr>
|
|
584
|
+
<td>Finished (success)</td>
|
|
585
|
+
<td>Fades back to idle colour</td>
|
|
586
|
+
</tr>
|
|
587
|
+
<tr>
|
|
588
|
+
<td>Finished (error)</td>
|
|
589
|
+
<td>Red</td>
|
|
590
|
+
</tr>
|
|
591
|
+
<tr>
|
|
592
|
+
<td>Bypassed</td>
|
|
593
|
+
<td>Grey / dimmed</td>
|
|
594
|
+
</tr>
|
|
595
|
+
</tbody>
|
|
596
|
+
</table>
|
|
597
|
+
<h3 id="input-ports-left-side">Input Ports (Left Side)</h3>
|
|
598
|
+
<p>Input ports appear on the left edge of the node. Each port has:</p>
|
|
599
|
+
<ul>
|
|
600
|
+
<li>A <strong>connector</strong> — a circle (data) or square (exec). Click and drag from another node's output onto this to create a connection.</li>
|
|
601
|
+
<li>A <strong>label</strong> — the port name.</li>
|
|
602
|
+
<li>An optional <strong>parameter widget</strong> — rendered inside the node body to the right of the connector. Widgets appear only on input ports with a <code>widget_type</code> defined.</li>
|
|
603
|
+
</ul>
|
|
604
|
+
<h4 id="parameter-widgets">Parameter Widgets</h4>
|
|
605
|
+
<table>
|
|
606
|
+
<thead>
|
|
607
|
+
<tr>
|
|
608
|
+
<th>widget_type</th>
|
|
609
|
+
<th>Appearance</th>
|
|
610
|
+
<th>When to Use</th>
|
|
611
|
+
</tr>
|
|
612
|
+
</thead>
|
|
613
|
+
<tbody>
|
|
614
|
+
<tr>
|
|
615
|
+
<td><code>text</code></td>
|
|
616
|
+
<td>Single-line text field</td>
|
|
617
|
+
<td>Short string values, paths, names</td>
|
|
618
|
+
</tr>
|
|
619
|
+
<tr>
|
|
620
|
+
<td><code>text_area</code></td>
|
|
621
|
+
<td>Multi-line text area</td>
|
|
622
|
+
<td>Code blocks, long descriptions</td>
|
|
623
|
+
</tr>
|
|
624
|
+
<tr>
|
|
625
|
+
<td><code>int</code></td>
|
|
626
|
+
<td>Integer spin box</td>
|
|
627
|
+
<td>Whole number values</td>
|
|
628
|
+
</tr>
|
|
629
|
+
<tr>
|
|
630
|
+
<td><code>float</code></td>
|
|
631
|
+
<td>Float spin box</td>
|
|
632
|
+
<td>Decimal number values</td>
|
|
633
|
+
</tr>
|
|
634
|
+
<tr>
|
|
635
|
+
<td><code>checkbox</code></td>
|
|
636
|
+
<td>Toggle checkbox</td>
|
|
637
|
+
<td>True / false values</td>
|
|
638
|
+
</tr>
|
|
639
|
+
<tr>
|
|
640
|
+
<td><code>dropdown</code></td>
|
|
641
|
+
<td>Dropdown combobox</td>
|
|
642
|
+
<td>Enumerated choices</td>
|
|
643
|
+
</tr>
|
|
644
|
+
<tr>
|
|
645
|
+
<td><code>slider</code></td>
|
|
646
|
+
<td>Slider with numeric readout</td>
|
|
647
|
+
<td>Clamped numeric ranges</td>
|
|
648
|
+
</tr>
|
|
649
|
+
<tr>
|
|
650
|
+
<td><code>file</code></td>
|
|
651
|
+
<td>Text field + browse button</td>
|
|
652
|
+
<td>File open paths</td>
|
|
653
|
+
</tr>
|
|
654
|
+
<tr>
|
|
655
|
+
<td><code>file_save</code></td>
|
|
656
|
+
<td>Text field + browse button</td>
|
|
657
|
+
<td>File save paths</td>
|
|
658
|
+
</tr>
|
|
659
|
+
</tbody>
|
|
660
|
+
</table>
|
|
661
|
+
<p>When an input port has an incoming data connection, <strong>the widget is disabled</strong> — the value comes from the wire, not from manual input.</p>
|
|
662
|
+
<h3 id="output-ports-right-side">Output Ports (Right Side)</h3>
|
|
663
|
+
<p>Output ports appear on the right edge of the node. They have a connector and a label but no editable widget — they display values set by <code>execute()</code>. After execution, hovering over a wire from an output port shows the last value via the live wire inspector.</p>
|
|
664
|
+
<h3 id="resize-handle">Resize Handle</h3>
|
|
665
|
+
<p>Some node types that contain large text areas or multi-line code blocks have a resize handle at the bottom-right corner of the card. Drag it to make the node taller.</p>
|
|
666
|
+
<hr />
|
|
667
|
+
<h2 id="port-types-and-colors">Port Types and Colors</h2>
|
|
668
|
+
<p>Port type determines what kind of data flows through a connection. The connector colour identifies the type at a glance.</p>
|
|
669
|
+
<table>
|
|
670
|
+
<thead>
|
|
671
|
+
<tr>
|
|
672
|
+
<th>Type</th>
|
|
673
|
+
<th>Connector Shape</th>
|
|
674
|
+
<th>Colour</th>
|
|
675
|
+
<th>Widget Types Available</th>
|
|
676
|
+
<th>Description</th>
|
|
677
|
+
</tr>
|
|
678
|
+
</thead>
|
|
679
|
+
<tbody>
|
|
680
|
+
<tr>
|
|
681
|
+
<td><code>exec</code></td>
|
|
682
|
+
<td>Square</td>
|
|
683
|
+
<td>White</td>
|
|
684
|
+
<td>None</td>
|
|
685
|
+
<td>Execution flow signal. True fires the downstream node.</td>
|
|
686
|
+
</tr>
|
|
687
|
+
<tr>
|
|
688
|
+
<td><code>string</code></td>
|
|
689
|
+
<td>Circle</td>
|
|
690
|
+
<td>Purple</td>
|
|
691
|
+
<td>text, text_area, dropdown, file, file_save</td>
|
|
692
|
+
<td>Text values of any length</td>
|
|
693
|
+
</tr>
|
|
694
|
+
<tr>
|
|
695
|
+
<td><code>int</code></td>
|
|
696
|
+
<td>Circle</td>
|
|
697
|
+
<td>Cyan</td>
|
|
698
|
+
<td>int, slider</td>
|
|
699
|
+
<td>Integer numbers</td>
|
|
700
|
+
</tr>
|
|
701
|
+
<tr>
|
|
702
|
+
<td><code>float</code></td>
|
|
703
|
+
<td>Circle</td>
|
|
704
|
+
<td>Orange</td>
|
|
705
|
+
<td>float, slider</td>
|
|
706
|
+
<td>Floating-point numbers</td>
|
|
707
|
+
</tr>
|
|
708
|
+
<tr>
|
|
709
|
+
<td><code>bool</code></td>
|
|
710
|
+
<td>Circle</td>
|
|
711
|
+
<td>Green</td>
|
|
712
|
+
<td>checkbox</td>
|
|
713
|
+
<td>Boolean True / False</td>
|
|
714
|
+
</tr>
|
|
715
|
+
<tr>
|
|
716
|
+
<td><code>list</code></td>
|
|
717
|
+
<td>Circle</td>
|
|
718
|
+
<td>Yellow</td>
|
|
719
|
+
<td>None</td>
|
|
720
|
+
<td>Python list of any content</td>
|
|
721
|
+
</tr>
|
|
722
|
+
<tr>
|
|
723
|
+
<td><code>dict</code></td>
|
|
724
|
+
<td>Circle</td>
|
|
725
|
+
<td>Tan/Brown</td>
|
|
726
|
+
<td>None</td>
|
|
727
|
+
<td>Python dict of any content</td>
|
|
728
|
+
</tr>
|
|
729
|
+
<tr>
|
|
730
|
+
<td><code>any</code></td>
|
|
731
|
+
<td>Circle</td>
|
|
732
|
+
<td>Light Grey</td>
|
|
733
|
+
<td>None</td>
|
|
734
|
+
<td>Untyped — accepts any value</td>
|
|
735
|
+
</tr>
|
|
736
|
+
</tbody>
|
|
737
|
+
</table>
|
|
738
|
+
<h3 id="type-compatibility">Type Compatibility</h3>
|
|
739
|
+
<p>The connection system enforces basic type compatibility when dragging wires:</p>
|
|
740
|
+
<ul>
|
|
741
|
+
<li>An output of type <code>string</code> can connect to an input of type <code>string</code> or <code>any</code>.</li>
|
|
742
|
+
<li>An output of type <code>any</code> can connect to any input type.</li>
|
|
743
|
+
<li>An output of type <code>exec</code> can only connect to an input of type <code>exec</code>.</li>
|
|
744
|
+
<li>Mismatched typed connections (e.g. <code>float</code> output to <code>bool</code> input) show a warning cursor but are permitted — the value is passed as-is and the receiving node is responsible for handling the type.</li>
|
|
745
|
+
</ul>
|
|
746
|
+
<p>If you need to convert between types, use a conversion node (e.g. pass an <code>int</code> output through a <code>string_concat</code> node to get a string representation) or handle the conversion in the receiving node's <code>execute()</code> code.</p>
|
|
747
|
+
<hr />
|
|
748
|
+
<h2 id="connecting-nodes">Connecting Nodes</h2>
|
|
749
|
+
<h3 id="creating-a-connection">Creating a Connection</h3>
|
|
750
|
+
<ol>
|
|
751
|
+
<li><strong>Hover</strong> over an output port (right side of a node). The cursor changes to a crosshair.</li>
|
|
752
|
+
<li><strong>Click and drag</strong> from the output port. A temporary preview wire follows the cursor.</li>
|
|
753
|
+
<li><strong>Release</strong> over a compatible input port on another node. The connection is established and the wire snaps into place.</li>
|
|
754
|
+
</ol>
|
|
755
|
+
<p>A curved Bezier wire appears between the two ports. The wire colour matches the data type of the source port.</p>
|
|
756
|
+
<h3 id="single-input-enforcement">Single-Input Enforcement</h3>
|
|
757
|
+
<p>Each data input port accepts <strong>at most one incoming connection</strong>. If you drag a new wire onto an input port that already has a connection, the old connection is removed and replaced by the new one. This prevents ambiguous data values.</p>
|
|
758
|
+
<p>Exec input ports follow the same rule — only one node can trigger a given <code>exec_in</code>.</p>
|
|
759
|
+
<h3 id="disconnecting-a-wire">Disconnecting a Wire</h3>
|
|
760
|
+
<ul>
|
|
761
|
+
<li><strong>Click and drag an existing wire</strong> near its input end. The wire detaches and follows the cursor as a preview. Release on a new port to reconnect, or release on empty canvas to delete.</li>
|
|
762
|
+
<li><strong>Right-click a port</strong> and select "Disconnect" to remove all wires from that port.</li>
|
|
763
|
+
<li><strong>Select a wire</strong> by clicking near it (the 12 px wide hit area makes this easy) and press <strong>Delete</strong>.</li>
|
|
764
|
+
</ul>
|
|
765
|
+
<h3 id="fan-out-multiple-outputs-from-one-port">Fan-Out (Multiple Outputs from One Port)</h3>
|
|
766
|
+
<p>A single <strong>output</strong> port can connect to <strong>multiple</strong> input ports. This is called a fan-out. Drag additional wires from the same output port to different destinations. All connected inputs receive the same value when the node executes.</p>
|
|
767
|
+
<hr />
|
|
768
|
+
<h2 id="exec-flow-pins">Exec Flow Pins</h2>
|
|
769
|
+
<p>Exec pins are the white square connectors that appear on nodes with <code>use_exec: true</code> in their definition. They are the mechanism by which Vibrante-Node enforces execution order.</p>
|
|
770
|
+
<h3 id="what-exec-pins-do">What Exec Pins Do</h3>
|
|
771
|
+
<ul>
|
|
772
|
+
<li><code>exec_in</code> — a trigger input. When a connected upstream node fires its <code>exec_out</code>, this node's <code>execute()</code> method is called.</li>
|
|
773
|
+
<li><code>exec_out</code> — a trigger output. When a node's <code>execute()</code> returns <code>{"exec_out": True}</code> (or calls <code>await self.set_output("exec_out", True)</code>), every node connected to this <code>exec_out</code> is scheduled for execution.</li>
|
|
774
|
+
</ul>
|
|
775
|
+
<h3 id="how-execution-chains-work">How Execution Chains Work</h3>
|
|
776
|
+
<pre><code>[Node A] --exec_out--> [exec_in Node B] --exec_out--> [exec_in Node C]
|
|
777
|
+
</code></pre>
|
|
778
|
+
<ol>
|
|
779
|
+
<li>Node A runs. Its <code>execute()</code> returns <code>{"exec_out": True}</code>.</li>
|
|
780
|
+
<li>The engine follows the exec wire to Node B and runs it.</li>
|
|
781
|
+
<li>Node B runs. Its <code>execute()</code> returns <code>{"exec_out": True}</code>.</li>
|
|
782
|
+
<li>The engine follows the exec wire to Node C and runs it.</li>
|
|
783
|
+
</ol>
|
|
784
|
+
<p>If Node A returns <code>{"exec_out": False}</code> (or does not include <code>exec_out</code> in its return dict), the chain stops. No downstream exec nodes run.</p>
|
|
785
|
+
<h3 id="multiple-exec-outputs">Multiple Exec Outputs</h3>
|
|
786
|
+
<p>Some nodes have more than one exec output pin to implement branching:</p>
|
|
787
|
+
<pre><code>[if_condition]
|
|
788
|
+
|-- true_out --> [run if true]
|
|
789
|
+
|-- false_out --> [run if false]
|
|
790
|
+
</code></pre>
|
|
791
|
+
<p>Only the output whose value is <code>True</code> fires. The other chain does not run.</p>
|
|
792
|
+
<p>The <code>GroupNode</code> has two exec outputs:</p>
|
|
793
|
+
<ul>
|
|
794
|
+
<li><code>exec_out</code> — fires when the inner subgraph completes without an unhandled exception.</li>
|
|
795
|
+
<li><code>exec_fail</code> — fires only when an unhandled Python exception propagates out of the inner graph.</li>
|
|
796
|
+
</ul>
|
|
797
|
+
<h3 id="sequence-node">Sequence Node</h3>
|
|
798
|
+
<p>The <code>sequence</code> builtin node fires <code>out_1</code>, <code>out_2</code>, and so on sequentially — it waits for each downstream chain to complete before firing the next. Use it to enforce order among otherwise-independent branches.</p>
|
|
799
|
+
<h3 id="what-fires-first-entry-nodes">What Fires First — Entry Nodes</h3>
|
|
800
|
+
<p>If a node has an <code>exec_in</code> port but nothing is connected to it, the engine treats it as an <strong>entry node</strong> and fires it automatically at the start of execution. This lets you run a workflow without needing a dedicated "Start" trigger node.</p>
|
|
801
|
+
<hr />
|
|
802
|
+
<h2 id="data-only-nodes">Data-Only Nodes</h2>
|
|
803
|
+
<p>Some nodes have no exec pins at all (their JSON definition has <code>use_exec: false</code>). Examples: <code>variable_node</code>, <code>add</code>, <code>string_length</code>, <code>random_float</code>, <code>get_dict_value</code>.</p>
|
|
804
|
+
<p>These nodes are <strong>evaluated lazily</strong>: they do not appear in the initial execution schedule. Instead, when an exec-driven node needs a value from a data-only node, the engine automatically runs the upstream data node first (the "pull" mechanism).</p>
|
|
805
|
+
<p>This means:</p>
|
|
806
|
+
<ul>
|
|
807
|
+
<li>Data-only nodes never need to be wired into an exec chain.</li>
|
|
808
|
+
<li>They can be reused — if multiple exec nodes read the same data-only node's output, the data node runs once per exec node that needs it (subject to caching rules).</li>
|
|
809
|
+
<li>They can be wired together in chains: the engine follows data connections backward until it reaches a node with no unfulfilled data inputs.</li>
|
|
810
|
+
</ul>
|
|
811
|
+
<h3 id="loop-invalidation">Loop Invalidation</h3>
|
|
812
|
+
<p>Inside a <code>for_each</code> or <code>while_loop</code>, the engine <strong>invalidates</strong> cached data node results each iteration. This ensures that nodes like <code>get_list_item</code> (whose output depends on the current loop index) produce fresh results each time, not a stale cached value from the first iteration.</p>
|
|
813
|
+
<hr />
|
|
814
|
+
<h2 id="node-search-popup">Node Search Popup</h2>
|
|
815
|
+
<p>Press <strong>Tab</strong> anywhere on the canvas to open the node search popup. The popup is a floating panel that appears at the current cursor position.</p>
|
|
816
|
+
<h3 id="searching">Searching</h3>
|
|
817
|
+
<p>Type any part of the node's name or <code>node_id</code>. The list updates in real time, filtering to matches. The search is case-insensitive and matches substrings, so typing <code>geo</code> shows <code>create_geo</code>, <code>delete_geo</code>, <code>node_geo_info</code>, etc.</p>
|
|
818
|
+
<h3 id="adding-a-node">Adding a Node</h3>
|
|
819
|
+
<ul>
|
|
820
|
+
<li><strong>Click</strong> a result to add it at the cursor position.</li>
|
|
821
|
+
<li><strong>Press Enter</strong> to add the first result.</li>
|
|
822
|
+
<li><strong>Arrow keys</strong> navigate the list.</li>
|
|
823
|
+
</ul>
|
|
824
|
+
<p>The node is placed on the canvas at the position where you pressed Tab, then the popup closes.</p>
|
|
825
|
+
<h3 id="closing-without-adding">Closing Without Adding</h3>
|
|
826
|
+
<p>Press <strong>Escape</strong> or click anywhere outside the popup to close it without adding a node.</p>
|
|
827
|
+
<hr />
|
|
828
|
+
<h2 id="right-click-context-menu">Right-Click Context Menu</h2>
|
|
829
|
+
<p>Right-clicking a <strong>node widget</strong> opens its context menu. Right-clicking <strong>empty canvas</strong> opens a different menu.</p>
|
|
830
|
+
<h3 id="node-context-menu">Node Context Menu</h3>
|
|
831
|
+
<table>
|
|
832
|
+
<thead>
|
|
833
|
+
<tr>
|
|
834
|
+
<th>Item</th>
|
|
835
|
+
<th>Action</th>
|
|
836
|
+
<th>Shortcut</th>
|
|
837
|
+
</tr>
|
|
838
|
+
</thead>
|
|
839
|
+
<tbody>
|
|
840
|
+
<tr>
|
|
841
|
+
<td><strong>Edit Node</strong></td>
|
|
842
|
+
<td>Open this node in the Node Builder dialog</td>
|
|
843
|
+
<td>Ctrl+E</td>
|
|
844
|
+
</tr>
|
|
845
|
+
<tr>
|
|
846
|
+
<td><strong>Reload Node</strong></td>
|
|
847
|
+
<td>Re-read this node's JSON from disk and apply changes</td>
|
|
848
|
+
<td>Ctrl+R</td>
|
|
849
|
+
</tr>
|
|
850
|
+
<tr>
|
|
851
|
+
<td><strong>Bypass Node</strong></td>
|
|
852
|
+
<td>Toggle bypass on this node</td>
|
|
853
|
+
<td>Ctrl+B</td>
|
|
854
|
+
</tr>
|
|
855
|
+
<tr>
|
|
856
|
+
<td><strong>Duplicate</strong></td>
|
|
857
|
+
<td>Copy this node and paste it at an offset position</td>
|
|
858
|
+
<td></td>
|
|
859
|
+
</tr>
|
|
860
|
+
<tr>
|
|
861
|
+
<td><strong>Group Selection</strong></td>
|
|
862
|
+
<td>Collapse selected nodes into a GroupNode</td>
|
|
863
|
+
<td>Ctrl+Shift+G</td>
|
|
864
|
+
</tr>
|
|
865
|
+
<tr>
|
|
866
|
+
<td><strong>Wrap in Backdrop</strong></td>
|
|
867
|
+
<td>Wrap selected nodes in a labelled backdrop</td>
|
|
868
|
+
<td>Ctrl+G</td>
|
|
869
|
+
</tr>
|
|
870
|
+
<tr>
|
|
871
|
+
<td><strong>Set as Init Node</strong></td>
|
|
872
|
+
<td>Mark this node as an init-priority node (runs before the main graph)</td>
|
|
873
|
+
<td></td>
|
|
874
|
+
</tr>
|
|
875
|
+
<tr>
|
|
876
|
+
<td><strong>Delete</strong></td>
|
|
877
|
+
<td>Remove this node and all its connections</td>
|
|
878
|
+
<td>Delete</td>
|
|
879
|
+
</tr>
|
|
880
|
+
</tbody>
|
|
881
|
+
</table>
|
|
882
|
+
<h3 id="canvas-context-menu-empty-area">Canvas Context Menu (Empty Area)</h3>
|
|
883
|
+
<table>
|
|
884
|
+
<thead>
|
|
885
|
+
<tr>
|
|
886
|
+
<th>Item</th>
|
|
887
|
+
<th>Action</th>
|
|
888
|
+
</tr>
|
|
889
|
+
</thead>
|
|
890
|
+
<tbody>
|
|
891
|
+
<tr>
|
|
892
|
+
<td><strong>Add Node</strong></td>
|
|
893
|
+
<td>Open the node search popup</td>
|
|
894
|
+
</tr>
|
|
895
|
+
<tr>
|
|
896
|
+
<td><strong>Add Sticky Note</strong></td>
|
|
897
|
+
<td>Place a new sticky note at this position</td>
|
|
898
|
+
</tr>
|
|
899
|
+
<tr>
|
|
900
|
+
<td><strong>Add Backdrop</strong></td>
|
|
901
|
+
<td>Place a new backdrop at this position</td>
|
|
902
|
+
</tr>
|
|
903
|
+
<tr>
|
|
904
|
+
<td><strong>Paste</strong></td>
|
|
905
|
+
<td>Paste the clipboard contents at this position</td>
|
|
906
|
+
</tr>
|
|
907
|
+
</tbody>
|
|
908
|
+
</table>
|
|
909
|
+
<hr />
|
|
910
|
+
<h2 id="bypass-mode">Bypass Mode</h2>
|
|
911
|
+
<p>Bypass mode makes the engine skip a node entirely, as if it were not there, while still passing execution along. This is useful for temporarily disabling a step without deleting it.</p>
|
|
912
|
+
<h3 id="activating-bypass">Activating Bypass</h3>
|
|
913
|
+
<ul>
|
|
914
|
+
<li>Select one or more nodes and press <strong>Ctrl+B</strong>.</li>
|
|
915
|
+
<li>Click the <strong>bypass toggle button</strong> (<code>=</code>) in the node's header.</li>
|
|
916
|
+
<li>Right-click a node and choose <strong>Bypass Node</strong>.</li>
|
|
917
|
+
</ul>
|
|
918
|
+
<p>A bypassed node is visually dimmed (grey header). The <code>bypassed</code> flag is saved with the workflow.</p>
|
|
919
|
+
<h3 id="what-bypass-does-during-execution">What Bypass Does During Execution</h3>
|
|
920
|
+
<p>When the engine encounters a bypassed node:</p>
|
|
921
|
+
<ol>
|
|
922
|
+
<li>It emits <code>node_started</code> and immediately <code>node_finished(success)</code> without calling <code>execute()</code>.</li>
|
|
923
|
+
<li>It fires all exec output connections, so the exec chain continues to downstream nodes.</li>
|
|
924
|
+
<li>Data output ports remain at their default values (empty string, 0, empty list, etc.). Downstream nodes that read data from a bypassed node receive the default value.</li>
|
|
925
|
+
</ol>
|
|
926
|
+
<p>This means bypass is safe for exec chain nodes — the flow continues — but may produce incorrect data values if downstream nodes depend on a bypassed node's data output. For data-only nodes, bypassing them causes their consumers to receive default values.</p>
|
|
927
|
+
<hr />
|
|
928
|
+
<h2 id="group-node-subgraph">Group Node / Subgraph</h2>
|
|
929
|
+
<p>The Group Node feature lets you collapse any selection of connected nodes into a single reusable <strong>GroupNode</strong> widget. The inner graph is fully preserved and editable.</p>
|
|
930
|
+
<h3 id="creating-a-groupnode">Creating a GroupNode</h3>
|
|
931
|
+
<ol>
|
|
932
|
+
<li>Select two or more nodes on the canvas (rubber-band or Shift+click).</li>
|
|
933
|
+
<li>Press <strong>Ctrl+Shift+G</strong> (or right-click > Group Selection, or Edit > Group Selection).</li>
|
|
934
|
+
</ol>
|
|
935
|
+
<p>The engine analyses the connections crossing the boundary of the selection:</p>
|
|
936
|
+
<ul>
|
|
937
|
+
<li>Each <strong>incoming data connection</strong> (from an unselected node into the selection) becomes an <strong>input port</strong> on the GroupNode.</li>
|
|
938
|
+
<li>Each <strong>outgoing data connection</strong> (from the selection to an unselected node) becomes an <strong>output port</strong> on the GroupNode.</li>
|
|
939
|
+
<li>Exec connections are similarly mapped.</li>
|
|
940
|
+
</ul>
|
|
941
|
+
<p>The selected nodes are removed from the canvas and a single <strong>GroupNode</strong> card appears at their centroid. External connections are rewired to the GroupNode's new ports.</p>
|
|
942
|
+
<pre><code>Before grouping:
|
|
943
|
+
[Node A] --str--> [Node B] --str--> [Node C] --> (external)
|
|
944
|
+
|
|
945
|
+
After grouping (B is inside the group):
|
|
946
|
+
[Node A] --str--> [GroupNode] --str--> [Node C] --> (external)
|
|
947
|
+
^
|
|
948
|
+
contains Node B
|
|
949
|
+
</code></pre>
|
|
950
|
+
<h3 id="naming-the-group">Naming the Group</h3>
|
|
951
|
+
<p>After creating a GroupNode, you can rename it by double-clicking its header text and typing a new name. This name appears as the tab label when you open the subgraph.</p>
|
|
952
|
+
<h3 id="opening-the-subgraph">Opening the Subgraph</h3>
|
|
953
|
+
<p><strong>Double-click</strong> the GroupNode to open its inner workflow in a new tab. The tab is labelled <code>[GroupName]</code>. The subgraph contains:</p>
|
|
954
|
+
<ul>
|
|
955
|
+
<li>The original inner nodes you selected.</li>
|
|
956
|
+
<li>One <code>group_in</code> node per input port — this node injects the incoming value into the inner graph.</li>
|
|
957
|
+
<li>One <code>group_out</code> node per output port — this node collects the inner result and routes it out.</li>
|
|
958
|
+
</ul>
|
|
959
|
+
<h3 id="editing-the-subgraph">Editing the Subgraph</h3>
|
|
960
|
+
<p>The subgraph tab is fully editable. You can:</p>
|
|
961
|
+
<ul>
|
|
962
|
+
<li>Add, delete, or move nodes.</li>
|
|
963
|
+
<li>Create new connections.</li>
|
|
964
|
+
<li>Change parameter values.</li>
|
|
965
|
+
<li>Undo / redo changes.</li>
|
|
966
|
+
</ul>
|
|
967
|
+
<p>Every edit is <strong>automatically synchronised back</strong> to the parent GroupNode. The parent workflow's history is also updated so that Ctrl+Z in the parent tab undoes subgraph edits.</p>
|
|
968
|
+
<h3 id="groupnode-ports">GroupNode Ports</h3>
|
|
969
|
+
<p>A GroupNode always has these fixed exec ports:</p>
|
|
970
|
+
<table>
|
|
971
|
+
<thead>
|
|
972
|
+
<tr>
|
|
973
|
+
<th>Port</th>
|
|
974
|
+
<th>Side</th>
|
|
975
|
+
<th>Description</th>
|
|
976
|
+
</tr>
|
|
977
|
+
</thead>
|
|
978
|
+
<tbody>
|
|
979
|
+
<tr>
|
|
980
|
+
<td><code>exec_in</code></td>
|
|
981
|
+
<td>Input</td>
|
|
982
|
+
<td>Triggers the inner graph</td>
|
|
983
|
+
</tr>
|
|
984
|
+
<tr>
|
|
985
|
+
<td><code>exec_out</code></td>
|
|
986
|
+
<td>Output</td>
|
|
987
|
+
<td>Fires when the inner graph completes without error</td>
|
|
988
|
+
</tr>
|
|
989
|
+
<tr>
|
|
990
|
+
<td><code>exec_fail</code></td>
|
|
991
|
+
<td>Output</td>
|
|
992
|
+
<td>Fires only when an unhandled Python exception occurs inside</td>
|
|
993
|
+
</tr>
|
|
994
|
+
</tbody>
|
|
995
|
+
</table>
|
|
996
|
+
<p>Additional data ports are created dynamically from the boundary edges at grouping time.</p>
|
|
997
|
+
<h3 id="execution-semantics">Execution Semantics</h3>
|
|
998
|
+
<p>When a GroupNode executes:</p>
|
|
999
|
+
<ol>
|
|
1000
|
+
<li>The engine creates a sub-executor for the inner <code>WorkflowModel</code>.</li>
|
|
1001
|
+
<li>It injects the GroupNode's input port values into the corresponding <code>group_in</code> nodes inside the subgraph.</li>
|
|
1002
|
+
<li>The sub-executor runs the inner graph exactly like a top-level workflow.</li>
|
|
1003
|
+
<li>When the inner graph finishes cleanly, <code>exec_out</code> fires.</li>
|
|
1004
|
+
<li>If a node inside the inner graph raises an unhandled exception, <code>exec_fail</code> fires.</li>
|
|
1005
|
+
<li>Data values from <code>group_out</code> nodes are mapped to the GroupNode's output ports and made available to external connections.</li>
|
|
1006
|
+
</ol>
|
|
1007
|
+
<p>Note: <code>exec_fail</code> is for catastrophic failures only. If an inner node returns a "soft failure" (e.g. <code>success: False</code> without raising an exception), that is handled by the inner graph's own exec routing — <code>exec_fail</code> does not fire.</p>
|
|
1008
|
+
<h3 id="saving-and-loading">Saving and Loading</h3>
|
|
1009
|
+
<p>GroupNodes are serialised transparently with the parent workflow. The inner <code>WorkflowModel</code> dict is stored in the <code>__workflow__</code> parameter of the GroupNode's <code>NodeInstanceModel</code>. Dynamic port definitions are stored in <code>__port_defs__</code>. The node name is stored in <code>__name__</code>. Everything is round-tripped correctly through JSON save/load.</p>
|
|
1010
|
+
<hr />
|
|
1011
|
+
<h2 id="sticky-notes">Sticky Notes</h2>
|
|
1012
|
+
<p>Sticky notes are free-floating text annotations on the canvas. They do not participate in execution.</p>
|
|
1013
|
+
<h3 id="adding-a-sticky-note">Adding a Sticky Note</h3>
|
|
1014
|
+
<ul>
|
|
1015
|
+
<li>Right-click empty canvas and select <strong>Add Sticky Note</strong>.</li>
|
|
1016
|
+
<li>The note appears at the right-click position with default text "New Note".</li>
|
|
1017
|
+
</ul>
|
|
1018
|
+
<h3 id="editing">Editing</h3>
|
|
1019
|
+
<p>Double-click a sticky note to enter edit mode. Type your text. Click outside the note to confirm.</p>
|
|
1020
|
+
<h3 id="resizing">Resizing</h3>
|
|
1021
|
+
<p>Drag the bottom-right resize handle to change the note dimensions.</p>
|
|
1022
|
+
<h3 id="moving">Moving</h3>
|
|
1023
|
+
<p>Drag the note by its header / body to reposition it.</p>
|
|
1024
|
+
<h3 id="deleting">Deleting</h3>
|
|
1025
|
+
<p>Select the sticky note and press <strong>Delete</strong>, or right-click and choose <strong>Delete</strong>.</p>
|
|
1026
|
+
<h3 id="colour">Colour</h3>
|
|
1027
|
+
<p>Right-click a sticky note and choose a colour from the palette. Colours help visually distinguish note categories (e.g. yellow for warnings, green for completed sections, blue for links).</p>
|
|
1028
|
+
<hr />
|
|
1029
|
+
<h2 id="backdrops-network-boxes">Backdrops / Network Boxes</h2>
|
|
1030
|
+
<p>Backdrops are labelled rectangular regions that group and visually annotate areas of the canvas. Like sticky notes, they are annotations only — they do not affect execution.</p>
|
|
1031
|
+
<h3 id="adding-a-backdrop">Adding a Backdrop</h3>
|
|
1032
|
+
<ul>
|
|
1033
|
+
<li>Select nodes you want to wrap, then press <strong>Ctrl+G</strong> (or right-click > Wrap in Backdrop).</li>
|
|
1034
|
+
<li>Right-click empty canvas and select <strong>Add Backdrop</strong> to place an empty one.</li>
|
|
1035
|
+
</ul>
|
|
1036
|
+
<h3 id="labeling">Labeling</h3>
|
|
1037
|
+
<p>The backdrop has a title bar at the top. Double-click the title to rename it.</p>
|
|
1038
|
+
<h3 id="resizing_1">Resizing</h3>
|
|
1039
|
+
<p>Drag the bottom-right resize handle. Nodes inside the backdrop do not move automatically when the backdrop is resized — they are independent items that happen to be visually enclosed.</p>
|
|
1040
|
+
<h3 id="moving_1">Moving</h3>
|
|
1041
|
+
<p>Drag the backdrop title bar to move it. When you drag a backdrop, nodes that are fully contained within its bounds move with it.</p>
|
|
1042
|
+
<h3 id="colour_1">Colour</h3>
|
|
1043
|
+
<p>Right-click the backdrop and choose a background colour. Semi-transparent fill lets you see the nodes inside.</p>
|
|
1044
|
+
<h3 id="deleting_1">Deleting</h3>
|
|
1045
|
+
<p>Select the backdrop and press <strong>Delete</strong>. The nodes inside are not deleted — only the backdrop frame is removed.</p>
|
|
1046
|
+
<hr />
|
|
1047
|
+
<h2 id="canvas-search-bar">Canvas Search Bar</h2>
|
|
1048
|
+
<p>The canvas search bar lets you locate any node on the canvas by name without having to scroll.</p>
|
|
1049
|
+
<h3 id="opening">Opening</h3>
|
|
1050
|
+
<p>Press <strong>Ctrl+F</strong> or go to <strong>Edit > Find in Canvas</strong>.</p>
|
|
1051
|
+
<p>A floating panel appears at the top centre of the canvas:</p>
|
|
1052
|
+
<pre><code>+--------------------------------------------------+
|
|
1053
|
+
| [search text__________________] 3 / 12 [x] |
|
|
1054
|
+
+--------------------------------------------------+
|
|
1055
|
+
</code></pre>
|
|
1056
|
+
<h3 id="searching_1">Searching</h3>
|
|
1057
|
+
<p>Type any part of a node's display name or <code>node_id</code>. The search updates as you type. The match counter shows "current / total" matches.</p>
|
|
1058
|
+
<p>The first matching node is selected and the canvas pans to centre it in the viewport.</p>
|
|
1059
|
+
<h3 id="navigating-matches">Navigating Matches</h3>
|
|
1060
|
+
<table>
|
|
1061
|
+
<thead>
|
|
1062
|
+
<tr>
|
|
1063
|
+
<th>Action</th>
|
|
1064
|
+
<th>Result</th>
|
|
1065
|
+
</tr>
|
|
1066
|
+
</thead>
|
|
1067
|
+
<tbody>
|
|
1068
|
+
<tr>
|
|
1069
|
+
<td><strong>Enter</strong> or <strong>Down Arrow</strong></td>
|
|
1070
|
+
<td>Move to the next match</td>
|
|
1071
|
+
</tr>
|
|
1072
|
+
<tr>
|
|
1073
|
+
<td><strong>Shift+Enter</strong> or <strong>Up Arrow</strong></td>
|
|
1074
|
+
<td>Move to the previous match</td>
|
|
1075
|
+
</tr>
|
|
1076
|
+
</tbody>
|
|
1077
|
+
</table>
|
|
1078
|
+
<p>Each navigation step selects the matched node and pans the view.</p>
|
|
1079
|
+
<h3 id="closing">Closing</h3>
|
|
1080
|
+
<p>Press <strong>Escape</strong> or click the X button to close the search bar.</p>
|
|
1081
|
+
<hr />
|
|
1082
|
+
<h2 id="mini-map">Mini-map</h2>
|
|
1083
|
+
<p>The mini-map is a 200x150 pixel thumbnail of the entire canvas, always visible in the bottom-right corner of the <code>NodeView</code>.</p>
|
|
1084
|
+
<pre><code>+----------------------------+
|
|
1085
|
+
| |
|
|
1086
|
+
| canvas (large) |
|
|
1087
|
+
| |
|
|
1088
|
+
| +----------+ |
|
|
1089
|
+
| | mini-map | |
|
|
1090
|
+
| | [ view ]| |
|
|
1091
|
+
| | [ rect ]| |
|
|
1092
|
+
| +----------+ |
|
|
1093
|
+
+----------------------------+
|
|
1094
|
+
</code></pre>
|
|
1095
|
+
<h3 id="viewport-indicator">Viewport Indicator</h3>
|
|
1096
|
+
<p>A blue semi-transparent rectangle inside the mini-map shows the current viewport area. As you pan or zoom the main view, the rectangle updates.</p>
|
|
1097
|
+
<h3 id="navigating-via-mini-map">Navigating via Mini-map</h3>
|
|
1098
|
+
<p>Click or drag on the mini-map to pan the main view. The main view centres on the point you clicked in scene coordinates. This is useful for quickly jumping between distant parts of a large workflow.</p>
|
|
1099
|
+
<h3 id="toggling">Toggling</h3>
|
|
1100
|
+
<p>Press <strong>Ctrl+M</strong> or go to <strong>Window > Toggle Mini-map</strong> to show or hide the mini-map. The toggle state is per-tab — different workflow tabs can have the mini-map in different states.</p>
|
|
1101
|
+
<h3 id="theme">Theme</h3>
|
|
1102
|
+
<p>The mini-map respects the current dark / light theme. Its background colour and viewport indicator match the active theme.</p>
|
|
1103
|
+
<hr />
|
|
1104
|
+
<h2 id="live-wire-value-inspector">Live Wire Value Inspector</h2>
|
|
1105
|
+
<p>After execution, the last value that flowed through every connected wire is stored and available for inspection.</p>
|
|
1106
|
+
<h3 id="how-to-use">How to Use</h3>
|
|
1107
|
+
<p><strong>Hover your mouse over any connected wire.</strong> A tooltip appears showing:</p>
|
|
1108
|
+
<pre><code>port_name: repr(value)
|
|
1109
|
+
</code></pre>
|
|
1110
|
+
<p>For example:</p>
|
|
1111
|
+
<pre><code>message: 'Hello, Vibrante-Node!'
|
|
1112
|
+
</code></pre>
|
|
1113
|
+
<pre><code>result_path: '/obj/my_geo'
|
|
1114
|
+
</code></pre>
|
|
1115
|
+
<pre><code>items: ['asset_A', 'asset_B', 'asset_C']
|
|
1116
|
+
</code></pre>
|
|
1117
|
+
<p>Long values are truncated at 300 characters to keep the tooltip readable.</p>
|
|
1118
|
+
<h3 id="when-values-are-available">When Values Are Available</h3>
|
|
1119
|
+
<p>Values are stored immediately when a node calls <code>set_output()</code> or returns from <code>execute()</code>. They persist after execution completes. You can inspect any wire at any time after a run without needing to re-run.</p>
|
|
1120
|
+
<h3 id="when-values-are-cleared">When Values Are Cleared</h3>
|
|
1121
|
+
<p>Values are cleared at the <strong>start of each new execution run</strong>. This ensures that stale values from a previous run do not appear alongside fresh values from the current run.</p>
|
|
1122
|
+
<h3 id="hit-area">Hit Area</h3>
|
|
1123
|
+
<p>The wire has a 12 px wide invisible hit zone (expanded from the visual 2 px line) so that hovering is easy even on closely-spaced wires.</p>
|
|
1124
|
+
<hr />
|
|
1125
|
+
<h2 id="log-panel">Log Panel</h2>
|
|
1126
|
+
<p>The log panel at the bottom of the window displays execution output in chronological order.</p>
|
|
1127
|
+
<h3 id="message-types">Message Types</h3>
|
|
1128
|
+
<table>
|
|
1129
|
+
<thead>
|
|
1130
|
+
<tr>
|
|
1131
|
+
<th>Type</th>
|
|
1132
|
+
<th>Colour</th>
|
|
1133
|
+
<th>Source</th>
|
|
1134
|
+
</tr>
|
|
1135
|
+
</thead>
|
|
1136
|
+
<tbody>
|
|
1137
|
+
<tr>
|
|
1138
|
+
<td><code>info</code></td>
|
|
1139
|
+
<td>Light grey</td>
|
|
1140
|
+
<td><code>self.log_info("msg")</code> in node code, or engine status messages</td>
|
|
1141
|
+
</tr>
|
|
1142
|
+
<tr>
|
|
1143
|
+
<td><code>success</code></td>
|
|
1144
|
+
<td>Green</td>
|
|
1145
|
+
<td><code>self.log_success("msg")</code> in node code</td>
|
|
1146
|
+
</tr>
|
|
1147
|
+
<tr>
|
|
1148
|
+
<td><code>error</code></td>
|
|
1149
|
+
<td>Red</td>
|
|
1150
|
+
<td><code>self.log_error("msg")</code> in node code, or unhandled exceptions</td>
|
|
1151
|
+
</tr>
|
|
1152
|
+
</tbody>
|
|
1153
|
+
</table>
|
|
1154
|
+
<h3 id="execution-timing">Execution Timing</h3>
|
|
1155
|
+
<p>After each node finishes, the engine automatically logs:</p>
|
|
1156
|
+
<pre><code>Node 'my_node_name' finished in 0.34s
|
|
1157
|
+
</code></pre>
|
|
1158
|
+
<p>This appears at <code>info</code> level. The time is measured with <code>time.perf_counter()</code> from when the engine calls <code>execute()</code> to when it returns.</p>
|
|
1159
|
+
<h3 id="inner-node-logs-groupnode">Inner Node Logs (GroupNode)</h3>
|
|
1160
|
+
<p>When a node runs inside a GroupNode, its log messages are forwarded to the main log panel with a prefix showing the GroupNode's display name:</p>
|
|
1161
|
+
<pre><code>[my_group] inner_node: operation complete
|
|
1162
|
+
</code></pre>
|
|
1163
|
+
<h3 id="clearing-the-log">Clearing the Log</h3>
|
|
1164
|
+
<p>Click the <strong>Clear</strong> button in the log panel toolbar (if present) or right-click the log area and select <strong>Clear</strong>.</p>
|
|
1165
|
+
<h3 id="error-details">Error Details</h3>
|
|
1166
|
+
<p>When a node raises an unhandled exception, the engine logs the full traceback at <code>error</code> level. The node widget's header turns red. The exec chain stops at that node — downstream nodes do not run.</p>
|
|
1167
|
+
<hr />
|
|
1168
|
+
<h2 id="toolbar-reference">Toolbar Reference</h2>
|
|
1169
|
+
<p>The toolbar below the menu bar provides quick access to the most common actions.</p>
|
|
1170
|
+
<table>
|
|
1171
|
+
<thead>
|
|
1172
|
+
<tr>
|
|
1173
|
+
<th>Button</th>
|
|
1174
|
+
<th>Action</th>
|
|
1175
|
+
<th>Shortcut</th>
|
|
1176
|
+
</tr>
|
|
1177
|
+
</thead>
|
|
1178
|
+
<tbody>
|
|
1179
|
+
<tr>
|
|
1180
|
+
<td><strong>New</strong></td>
|
|
1181
|
+
<td>Create a new empty workflow in a new tab</td>
|
|
1182
|
+
<td>Ctrl+N</td>
|
|
1183
|
+
</tr>
|
|
1184
|
+
<tr>
|
|
1185
|
+
<td><strong>Open</strong></td>
|
|
1186
|
+
<td>Open a file picker to load a workflow</td>
|
|
1187
|
+
<td>Ctrl+O</td>
|
|
1188
|
+
</tr>
|
|
1189
|
+
<tr>
|
|
1190
|
+
<td><strong>Save</strong></td>
|
|
1191
|
+
<td>Save the current workflow</td>
|
|
1192
|
+
<td>Ctrl+S</td>
|
|
1193
|
+
</tr>
|
|
1194
|
+
<tr>
|
|
1195
|
+
<td><strong>Run</strong></td>
|
|
1196
|
+
<td>Execute the current workflow</td>
|
|
1197
|
+
<td>F5</td>
|
|
1198
|
+
</tr>
|
|
1199
|
+
<tr>
|
|
1200
|
+
<td><strong>Stop</strong></td>
|
|
1201
|
+
<td>Cancel a running execution</td>
|
|
1202
|
+
<td>(toolbar only)</td>
|
|
1203
|
+
</tr>
|
|
1204
|
+
<tr>
|
|
1205
|
+
<td><strong>Add Node</strong></td>
|
|
1206
|
+
<td>Open the node search popup at the centre of the canvas</td>
|
|
1207
|
+
<td>Tab</td>
|
|
1208
|
+
</tr>
|
|
1209
|
+
<tr>
|
|
1210
|
+
<td><strong>Edit Node</strong></td>
|
|
1211
|
+
<td>Open the selected node in the Node Builder</td>
|
|
1212
|
+
<td>Ctrl+E</td>
|
|
1213
|
+
</tr>
|
|
1214
|
+
<tr>
|
|
1215
|
+
<td><strong>Theme Toggle</strong></td>
|
|
1216
|
+
<td>Switch between dark and light themes</td>
|
|
1217
|
+
<td>(toolbar)</td>
|
|
1218
|
+
</tr>
|
|
1219
|
+
</tbody>
|
|
1220
|
+
</table>
|
|
1221
|
+
<hr />
|
|
1222
|
+
<h2 id="keyboard-shortcuts-reference">Keyboard Shortcuts Reference</h2>
|
|
1223
|
+
<h3 id="global-shortcuts">Global Shortcuts</h3>
|
|
1224
|
+
<table>
|
|
1225
|
+
<thead>
|
|
1226
|
+
<tr>
|
|
1227
|
+
<th>Shortcut</th>
|
|
1228
|
+
<th>Action</th>
|
|
1229
|
+
</tr>
|
|
1230
|
+
</thead>
|
|
1231
|
+
<tbody>
|
|
1232
|
+
<tr>
|
|
1233
|
+
<td><code>Ctrl+N</code></td>
|
|
1234
|
+
<td>New workflow tab</td>
|
|
1235
|
+
</tr>
|
|
1236
|
+
<tr>
|
|
1237
|
+
<td><code>Ctrl+O</code></td>
|
|
1238
|
+
<td>Open workflow</td>
|
|
1239
|
+
</tr>
|
|
1240
|
+
<tr>
|
|
1241
|
+
<td><code>Ctrl+S</code></td>
|
|
1242
|
+
<td>Save workflow</td>
|
|
1243
|
+
</tr>
|
|
1244
|
+
<tr>
|
|
1245
|
+
<td><code>Ctrl+Shift+S</code></td>
|
|
1246
|
+
<td>Save workflow as</td>
|
|
1247
|
+
</tr>
|
|
1248
|
+
<tr>
|
|
1249
|
+
<td><code>Ctrl+W</code></td>
|
|
1250
|
+
<td>Close current tab</td>
|
|
1251
|
+
</tr>
|
|
1252
|
+
<tr>
|
|
1253
|
+
<td><code>Ctrl+Z</code></td>
|
|
1254
|
+
<td>Undo</td>
|
|
1255
|
+
</tr>
|
|
1256
|
+
<tr>
|
|
1257
|
+
<td><code>Ctrl+Y</code></td>
|
|
1258
|
+
<td>Redo</td>
|
|
1259
|
+
</tr>
|
|
1260
|
+
<tr>
|
|
1261
|
+
<td><code>Ctrl+C</code></td>
|
|
1262
|
+
<td>Copy selected nodes</td>
|
|
1263
|
+
</tr>
|
|
1264
|
+
<tr>
|
|
1265
|
+
<td><code>Ctrl+V</code></td>
|
|
1266
|
+
<td>Paste nodes</td>
|
|
1267
|
+
</tr>
|
|
1268
|
+
<tr>
|
|
1269
|
+
<td><code>F5</code></td>
|
|
1270
|
+
<td>Run workflow</td>
|
|
1271
|
+
</tr>
|
|
1272
|
+
</tbody>
|
|
1273
|
+
</table>
|
|
1274
|
+
<h3 id="canvas-shortcuts">Canvas Shortcuts</h3>
|
|
1275
|
+
<table>
|
|
1276
|
+
<thead>
|
|
1277
|
+
<tr>
|
|
1278
|
+
<th>Shortcut</th>
|
|
1279
|
+
<th>Action</th>
|
|
1280
|
+
</tr>
|
|
1281
|
+
</thead>
|
|
1282
|
+
<tbody>
|
|
1283
|
+
<tr>
|
|
1284
|
+
<td><code>Tab</code></td>
|
|
1285
|
+
<td>Open node search popup at cursor</td>
|
|
1286
|
+
</tr>
|
|
1287
|
+
<tr>
|
|
1288
|
+
<td><code>F</code></td>
|
|
1289
|
+
<td>Focus / fit selected nodes (or all if none selected)</td>
|
|
1290
|
+
</tr>
|
|
1291
|
+
<tr>
|
|
1292
|
+
<td><code>Delete</code></td>
|
|
1293
|
+
<td>Delete selected nodes and connections</td>
|
|
1294
|
+
</tr>
|
|
1295
|
+
<tr>
|
|
1296
|
+
<td><code>Ctrl+A</code></td>
|
|
1297
|
+
<td>Select all nodes</td>
|
|
1298
|
+
</tr>
|
|
1299
|
+
<tr>
|
|
1300
|
+
<td><code>Ctrl+D</code></td>
|
|
1301
|
+
<td>Deselect all</td>
|
|
1302
|
+
</tr>
|
|
1303
|
+
<tr>
|
|
1304
|
+
<td><code>Ctrl+B</code></td>
|
|
1305
|
+
<td>Toggle bypass on selected nodes</td>
|
|
1306
|
+
</tr>
|
|
1307
|
+
<tr>
|
|
1308
|
+
<td><code>Ctrl+E</code></td>
|
|
1309
|
+
<td>Edit selected node in Node Builder</td>
|
|
1310
|
+
</tr>
|
|
1311
|
+
<tr>
|
|
1312
|
+
<td><code>Ctrl+R</code></td>
|
|
1313
|
+
<td>Reload selected node from disk</td>
|
|
1314
|
+
</tr>
|
|
1315
|
+
<tr>
|
|
1316
|
+
<td><code>Ctrl+Shift+R</code></td>
|
|
1317
|
+
<td>Reload all nodes from disk</td>
|
|
1318
|
+
</tr>
|
|
1319
|
+
<tr>
|
|
1320
|
+
<td><code>Ctrl+G</code></td>
|
|
1321
|
+
<td>Wrap selection in backdrop</td>
|
|
1322
|
+
</tr>
|
|
1323
|
+
<tr>
|
|
1324
|
+
<td><code>Ctrl+Shift+G</code></td>
|
|
1325
|
+
<td>Group / collapse selection into GroupNode</td>
|
|
1326
|
+
</tr>
|
|
1327
|
+
<tr>
|
|
1328
|
+
<td><code>Ctrl+F</code></td>
|
|
1329
|
+
<td>Open canvas search bar</td>
|
|
1330
|
+
</tr>
|
|
1331
|
+
<tr>
|
|
1332
|
+
<td><code>Ctrl+M</code></td>
|
|
1333
|
+
<td>Toggle mini-map</td>
|
|
1334
|
+
</tr>
|
|
1335
|
+
<tr>
|
|
1336
|
+
<td><code>Ctrl+Wheel</code></td>
|
|
1337
|
+
<td>Zoom canvas</td>
|
|
1338
|
+
</tr>
|
|
1339
|
+
<tr>
|
|
1340
|
+
<td><code>Middle Mouse drag</code></td>
|
|
1341
|
+
<td>Pan canvas</td>
|
|
1342
|
+
</tr>
|
|
1343
|
+
<tr>
|
|
1344
|
+
<td><code>Alt+Left Mouse drag</code></td>
|
|
1345
|
+
<td>Pan canvas (Houdini-style)</td>
|
|
1346
|
+
</tr>
|
|
1347
|
+
</tbody>
|
|
1348
|
+
</table>
|
|
1349
|
+
<h3 id="node-builder-shortcuts">Node Builder Shortcuts</h3>
|
|
1350
|
+
<table>
|
|
1351
|
+
<thead>
|
|
1352
|
+
<tr>
|
|
1353
|
+
<th>Shortcut</th>
|
|
1354
|
+
<th>Action</th>
|
|
1355
|
+
</tr>
|
|
1356
|
+
</thead>
|
|
1357
|
+
<tbody>
|
|
1358
|
+
<tr>
|
|
1359
|
+
<td><code>Ctrl+S</code></td>
|
|
1360
|
+
<td>Save node definition</td>
|
|
1361
|
+
</tr>
|
|
1362
|
+
<tr>
|
|
1363
|
+
<td><code>Ctrl+Z</code></td>
|
|
1364
|
+
<td>Undo in code editor</td>
|
|
1365
|
+
</tr>
|
|
1366
|
+
<tr>
|
|
1367
|
+
<td><code>Ctrl+Y</code></td>
|
|
1368
|
+
<td>Redo in code editor</td>
|
|
1369
|
+
</tr>
|
|
1370
|
+
<tr>
|
|
1371
|
+
<td><code>Ctrl+Space</code></td>
|
|
1372
|
+
<td>Trigger autocomplete (QScintilla)</td>
|
|
1373
|
+
</tr>
|
|
1374
|
+
<tr>
|
|
1375
|
+
<td><code>Ctrl+Wheel</code></td>
|
|
1376
|
+
<td>Zoom code editor font</td>
|
|
1377
|
+
</tr>
|
|
1378
|
+
</tbody>
|
|
1379
|
+
</table>
|
|
1380
|
+
<hr />
|
|
1381
|
+
<h2 id="workflow-execution">Workflow Execution</h2>
|
|
1382
|
+
<h3 id="starting-execution">Starting Execution</h3>
|
|
1383
|
+
<p>Press <strong>F5</strong> or click the <strong>Run</strong> button in the toolbar. The engine serialises the scene, builds the graph, instantiates all nodes, and begins executing.</p>
|
|
1384
|
+
<h3 id="async-behaviour">Async Behaviour</h3>
|
|
1385
|
+
<p>Execution is fully asynchronous. The Qt event loop remains active throughout, so:</p>
|
|
1386
|
+
<ul>
|
|
1387
|
+
<li>The UI remains interactive (you can scroll, inspect wires, read log messages).</li>
|
|
1388
|
+
<li>The Stop button works immediately.</li>
|
|
1389
|
+
<li>Long-running nodes (DCC calls, file I/O, network requests) do not freeze the application.</li>
|
|
1390
|
+
</ul>
|
|
1391
|
+
<h3 id="what-running-means">What "Running" Means</h3>
|
|
1392
|
+
<p>While the engine is running:</p>
|
|
1393
|
+
<ul>
|
|
1394
|
+
<li>The <strong>Run</strong> button is disabled.</li>
|
|
1395
|
+
<li>The <strong>Stop</strong> button is enabled.</li>
|
|
1396
|
+
<li>Node widgets that are currently executing show an animated highlight.</li>
|
|
1397
|
+
<li>The log panel receives messages in real time.</li>
|
|
1398
|
+
<li>Live wire values update as each node completes.</li>
|
|
1399
|
+
</ul>
|
|
1400
|
+
<h3 id="parallel-execution">Parallel Execution</h3>
|
|
1401
|
+
<p>Multiple independent exec branches (entry nodes with no connections between them) run concurrently as separate <code>asyncio.Task</code> objects. Branches that depend on each other (through data connections or exec chains) are sequenced correctly by the engine.</p>
|
|
1402
|
+
<h3 id="stopping-mid-execution">Stopping Mid-Execution</h3>
|
|
1403
|
+
<p>Click the <strong>Stop</strong> button or press the Stop shortcut. The engine sets an internal <code>_is_stopped</code> flag. All active <code>asyncio.Task</code> objects are cancelled. Nodes that check <code>self.is_stopped()</code> return <code>True</code>, allowing them to clean up gracefully. Nodes that are in the middle of awaiting a DCC operation may take a moment to notice the cancellation — <code>asyncio.CancelledError</code> is raised in their coroutine.</p>
|
|
1404
|
+
<p>After stopping, <code>execution_finished(success=False)</code> is emitted and the UI is re-enabled.</p>
|
|
1405
|
+
<h3 id="init-priority-nodes">Init-Priority Nodes</h3>
|
|
1406
|
+
<p>Nodes can be marked as "init nodes" by setting a non-zero <code>init_priority</code> in their model (right-click node > Set as Init Node). Init nodes run <strong>before</strong> the main graph, in descending priority order. Higher numbers run first. The <code>prism_core_init</code> node uses this mechanism to initialise PrismCore before any <code>prism_*</code> nodes run.</p>
|
|
1407
|
+
<p>Use init nodes for authentication, login, environment setup, or any one-time setup that all subsequent nodes depend on.</p>
|
|
1408
|
+
<h3 id="re-running">Re-running</h3>
|
|
1409
|
+
<p>After a successful or failed execution, press <strong>F5</strong> again to re-run. The engine re-instantiates all nodes fresh — no state carries over between runs. The <code>BaseNode.memory</code> dict (shared between all nodes during a run) is cleared at the start of each run.</p>
|
|
1410
|
+
<hr />
|
|
1411
|
+
<h2 id="autosave-and-crash-recovery">Autosave and Crash Recovery</h2>
|
|
1412
|
+
<h3 id="autosave">Autosave</h3>
|
|
1413
|
+
<p>A background <code>QTimer</code> fires every <strong>2 minutes</strong> while the application is open. It writes all non-empty open workflow tabs to:</p>
|
|
1414
|
+
<pre><code>~/.vibrante_node_autosave.json
|
|
1415
|
+
</code></pre>
|
|
1416
|
+
<p>On Windows, <code>~</code> resolves to <code>C:\Users\<username>\.vibrante_node_autosave.json</code>.</p>
|
|
1417
|
+
<p>The autosave file has this structure:</p>
|
|
1418
|
+
<pre><code class="language-json">{
|
|
1419
|
+
"version": 1,
|
|
1420
|
+
"tabs": [
|
|
1421
|
+
{
|
|
1422
|
+
"name": "tab_label",
|
|
1423
|
+
"file_path": "/path/to/saved/file.json",
|
|
1424
|
+
"workflow": {}
|
|
1425
|
+
}
|
|
1426
|
+
]
|
|
1427
|
+
}
|
|
1428
|
+
</code></pre>
|
|
1429
|
+
<!-- `workflow` contains the full WorkflowModel dict serialized to JSON -->
|
|
1430
|
+
|
|
1431
|
+
<p>Autosave is skipped during active execution (<code>_is_executing</code> flag prevents saving a mid-run state). Failures during autosave are printed to the Python console only — the application never crashes due to a failed autosave.</p>
|
|
1432
|
+
<h3 id="clean-exit">Clean Exit</h3>
|
|
1433
|
+
<p>When you close the application normally (<code>Alt+F4</code>, File > Exit, or the window X button), <code>closeEvent</code> deletes the autosave file before exiting. This ensures the crash recovery dialog does not appear on the next normal launch.</p>
|
|
1434
|
+
<h3 id="crash-recovery">Crash Recovery</h3>
|
|
1435
|
+
<p>If the application crashes or is killed without calling <code>closeEvent</code> (e.g. a Python exception outside the event loop, OS-level kill, power loss), the autosave file is left on disk.</p>
|
|
1436
|
+
<p>On the <strong>next launch</strong>, if the autosave file exists, a dialog box appears:</p>
|
|
1437
|
+
<pre><code>Unsaved session detected
|
|
1438
|
+
|
|
1439
|
+
The previous session ended unexpectedly.
|
|
1440
|
+
Would you like to restore your open workflows?
|
|
1441
|
+
|
|
1442
|
+
[ Restore ] [ Discard ]
|
|
1443
|
+
</code></pre>
|
|
1444
|
+
<ul>
|
|
1445
|
+
<li><strong>Restore</strong> — opens all tabs from the autosave, using the saved <code>workflow</code> dict. Tabs that had been saved to disk are also correctly labelled with their file path.</li>
|
|
1446
|
+
<li><strong>Discard</strong> — deletes the autosave file and opens fresh.</li>
|
|
1447
|
+
</ul>
|
|
1448
|
+
<p>The autosave file is always deleted after the dialog, regardless of the user's choice.</p>
|
|
1449
|
+
<hr />
|
|
1450
|
+
<h2 id="recent-files">Recent Files</h2>
|
|
1451
|
+
<h3 id="accessing-recent-files">Accessing Recent Files</h3>
|
|
1452
|
+
<p><strong>File > Open Recent</strong> shows a submenu listing the last 10 workflow files you saved or loaded, newest first.</p>
|
|
1453
|
+
<p>Each entry shows the full file path. Clicking an entry loads that workflow in a new tab — no file picker dialog appears.</p>
|
|
1454
|
+
<h3 id="greyed-out-entries">Greyed-Out Entries</h3>
|
|
1455
|
+
<p>If a file in the recent list no longer exists on disk (moved, renamed, deleted), its menu entry appears greyed out (disabled). You cannot click it. The entry remains in the list until you use <strong>Clear Recent Files</strong> or until it ages out as newer files push it off the bottom of the 10-item list.</p>
|
|
1456
|
+
<h3 id="clearing-the-list">Clearing the List</h3>
|
|
1457
|
+
<p><strong>File > Open Recent > Clear Recent Files</strong> empties the list immediately.</p>
|
|
1458
|
+
<h3 id="when-the-list-updates">When the List Updates</h3>
|
|
1459
|
+
<p>The recent files list is rebuilt every time the <strong>File</strong> menu opens. This ensures the list always reflects the current state of the filesystem and recent file history without requiring an app restart.</p>
|
|
1460
|
+
<h3 id="storage">Storage</h3>
|
|
1461
|
+
<p>Recent file paths are stored in the application config managed by <code>src/utils/config_manager.py</code> under the key <code>"recent_files"</code> as a JSON list of absolute path strings, capped at 10 entries, newest first.</p>
|
|
1462
|
+
<hr />
|
|
1463
|
+
<h2 id="advanced-topics">Advanced Topics</h2>
|
|
1464
|
+
<h3 id="node-init-priority">Node Init Priority</h3>
|
|
1465
|
+
<p>When you right-click a node and choose <strong>Set as Init Node</strong>, the node is given an <code>init_priority</code> greater than zero. This causes the engine to run it before the main graph, as a setup step. You can set a specific priority value (higher values run earlier) to control the order of multiple init nodes.</p>
|
|
1466
|
+
<p>Example use: a <code>prism_core_init</code> node with <code>init_priority: 10</code> runs before a <code>prism_login_token</code> node with <code>init_priority: 5</code>, which runs before all <code>prism_*</code> data nodes with <code>init_priority: 0</code>.</p>
|
|
1467
|
+
<h3 id="shared-memory-between-nodes">Shared Memory Between Nodes</h3>
|
|
1468
|
+
<p>All nodes within a single execution run share a class-level <code>BaseNode.memory</code> dictionary:</p>
|
|
1469
|
+
<pre><code class="language-python"># Node A:
|
|
1470
|
+
BaseNode.memory["my_key"] = "some_value"
|
|
1471
|
+
|
|
1472
|
+
# Node B (same run):
|
|
1473
|
+
value = BaseNode.memory.get("my_key") # "some_value"
|
|
1474
|
+
</code></pre>
|
|
1475
|
+
<p>This memory is cleared at the start of each run. It is intended for lightweight inter-node communication that does not warrant explicit data wires — for example, a login node storing an auth token that many downstream nodes read without each needing an explicit <code>token</code> input wire.</p>
|
|
1476
|
+
<p>The <code>SetVariableNode</code> and <code>GetVariableNode</code> builtins use this mechanism to implement named variables accessible anywhere in the graph.</p>
|
|
1477
|
+
<h3 id="the-python-script-node">The Python Script Node</h3>
|
|
1478
|
+
<p>The <code>python_script</code> node contains a text area where you write arbitrary Python code. It has:</p>
|
|
1479
|
+
<ul>
|
|
1480
|
+
<li><code>exec_in</code> / <code>exec_out</code></li>
|
|
1481
|
+
<li><code>code</code> — a text area for your Python code</li>
|
|
1482
|
+
<li><code>result</code> — an <code>any</code> output port</li>
|
|
1483
|
+
</ul>
|
|
1484
|
+
<p>Your code runs via <code>exec()</code>. Assign to a local variable called <code>result</code> to pass a value to the output:</p>
|
|
1485
|
+
<pre><code class="language-python">import os
|
|
1486
|
+
files = os.listdir("C:/assets")
|
|
1487
|
+
result = [f for f in files if f.endswith(".abc")]
|
|
1488
|
+
</code></pre>
|
|
1489
|
+
<p>The <code>result</code> value is available on the <code>result</code> output port after execution.</p>
|
|
1490
|
+
<h3 id="exporting-a-workflow-as-python">Exporting a Workflow as Python</h3>
|
|
1491
|
+
<p><strong>File > Export > Export as Python Script</strong> converts the entire workflow into a standalone Python script that can run without the Vibrante-Node UI. This is useful for deploying a tested workflow on a render farm or server without installing the full application.</p>
|
|
1492
|
+
<p>The exported script instantiates each node class, wires inputs manually, and calls <code>execute()</code> in topological order.</p>
|
|
1493
|
+
<h3 id="reloading-nodes-from-disk">Reloading Nodes from Disk</h3>
|
|
1494
|
+
<p>During development, you often modify a node's JSON file externally and want to see the changes without restarting the app.</p>
|
|
1495
|
+
<ul>
|
|
1496
|
+
<li><strong>Ctrl+R</strong> — reload the selected node's definition from disk. Existing instances in the scene are updated.</li>
|
|
1497
|
+
<li><strong>Ctrl+Shift+R</strong> — reload all node definitions. Useful after adding a new <code>.json</code> file to the <code>nodes/</code> directory.</li>
|
|
1498
|
+
</ul>
|
|
1499
|
+
<p>The node registry re-reads the file, regenerates the Python class, and signals all matching <code>NodeWidget</code> instances to rebuild their ports.</p>
|
|
1500
|
+
<hr />
|
|
1501
|
+
<p><em>Vibrante-Node v2.5.0 — Released 2026-06-13</em></p>
|
|
1502
|
+
<nav class="page-nav">
|
|
1503
|
+
<a class="page-nav-link prev" href="02_getting_started.html"><span class="page-nav-label">Previous</span><span class="page-nav-title">Getting Started</span></a>
|
|
1504
|
+
<a class="page-nav-link next" href="04_workflow_tutorials.html"><span class="page-nav-label">Next</span><span class="page-nav-title">Workflow Tutorials</span></a>
|
|
1505
|
+
</nav>
|
|
1506
|
+
<section class="licence-attribution" style="margin-top:40px;padding-top:14px;border-top:1px solid #313244;font-size:.82em;color:#a6adc8">
|
|
1507
|
+
<p>Documentation &copy; 2024&ndash;2026 Mahmoud Kamal (KamalTD), licensed under
|
|
1508
|
+
<a href="https://creativecommons.org/licenses/by/4.0/" rel="license">CC BY 4.0</a>.
|
|
1509
|
+
<a href="../LICENSE.txt">Full licence notice</a>.</p>
|
|
1510
|
+
<p>Search and syntax highlighting load <a href="https://lunrjs.com/">lunr.js</a> 2.3.9 (MIT)
|
|
1511
|
+
and <a href="https://highlightjs.org/">highlight.js</a> 11.9.0 (BSD-3-Clause) from
|
|
1512
|
+
cdn.jsdelivr.net at view time; neither library is redistributed with these files.</p>
|
|
1513
|
+
</section>
|
|
1514
|
+
</div>
|
|
1515
|
+
</main>
|
|
1516
|
+
|
|
1517
|
+
<!-- ── TOC ────────────────────────────────────────────────────────────── -->
|
|
1518
|
+
<aside class="toc">
|
|
1519
|
+
<div class="toc-title">On this page</div>
|
|
1520
|
+
<a class="toc-link toc-h2" href="#table-of-contents">Table of Contents</a>
|
|
1521
|
+
<a class="toc-link toc-h2" href="#canvas-navigation">Canvas Navigation</a>
|
|
1522
|
+
<a class="toc-link toc-h3" href="#panning">Panning</a>
|
|
1523
|
+
<a class="toc-link toc-h3" href="#zooming">Zooming</a>
|
|
1524
|
+
<a class="toc-link toc-h3" href="#focus-and-fitting">Focus and Fitting</a>
|
|
1525
|
+
<a class="toc-link toc-h3" href="#rubber-band-selection">Rubber-Band Selection</a>
|
|
1526
|
+
<a class="toc-link toc-h3" href="#scroll-bars">Scroll Bars</a>
|
|
1527
|
+
<a class="toc-link toc-h2" href="#node-widget-anatomy">Node Widget Anatomy</a>
|
|
1528
|
+
<a class="toc-link toc-h3" href="#header">Header</a>
|
|
1529
|
+
<a class="toc-link toc-h3" href="#input-ports-left-side">Input Ports (Left Side)</a>
|
|
1530
|
+
<a class="toc-link toc-h4" href="#parameter-widgets">Parameter Widgets</a>
|
|
1531
|
+
<a class="toc-link toc-h3" href="#output-ports-right-side">Output Ports (Right Side)</a>
|
|
1532
|
+
<a class="toc-link toc-h3" href="#resize-handle">Resize Handle</a>
|
|
1533
|
+
<a class="toc-link toc-h2" href="#port-types-and-colors">Port Types and Colors</a>
|
|
1534
|
+
<a class="toc-link toc-h3" href="#type-compatibility">Type Compatibility</a>
|
|
1535
|
+
<a class="toc-link toc-h2" href="#connecting-nodes">Connecting Nodes</a>
|
|
1536
|
+
<a class="toc-link toc-h3" href="#creating-a-connection">Creating a Connection</a>
|
|
1537
|
+
<a class="toc-link toc-h3" href="#single-input-enforcement">Single-Input Enforcement</a>
|
|
1538
|
+
<a class="toc-link toc-h3" href="#disconnecting-a-wire">Disconnecting a Wire</a>
|
|
1539
|
+
<a class="toc-link toc-h3" href="#fan-out-multiple-outputs-from-one-port">Fan-Out (Multiple Outputs from One Port)</a>
|
|
1540
|
+
<a class="toc-link toc-h2" href="#exec-flow-pins">Exec Flow Pins</a>
|
|
1541
|
+
<a class="toc-link toc-h3" href="#what-exec-pins-do">What Exec Pins Do</a>
|
|
1542
|
+
<a class="toc-link toc-h3" href="#how-execution-chains-work">How Execution Chains Work</a>
|
|
1543
|
+
<a class="toc-link toc-h3" href="#multiple-exec-outputs">Multiple Exec Outputs</a>
|
|
1544
|
+
<a class="toc-link toc-h3" href="#sequence-node">Sequence Node</a>
|
|
1545
|
+
<a class="toc-link toc-h3" href="#what-fires-first-entry-nodes">What Fires First — Entry Nodes</a>
|
|
1546
|
+
<a class="toc-link toc-h2" href="#data-only-nodes">Data-Only Nodes</a>
|
|
1547
|
+
<a class="toc-link toc-h3" href="#loop-invalidation">Loop Invalidation</a>
|
|
1548
|
+
<a class="toc-link toc-h2" href="#node-search-popup">Node Search Popup</a>
|
|
1549
|
+
<a class="toc-link toc-h3" href="#searching">Searching</a>
|
|
1550
|
+
<a class="toc-link toc-h3" href="#adding-a-node">Adding a Node</a>
|
|
1551
|
+
<a class="toc-link toc-h3" href="#closing-without-adding">Closing Without Adding</a>
|
|
1552
|
+
<a class="toc-link toc-h2" href="#right-click-context-menu">Right-Click Context Menu</a>
|
|
1553
|
+
<a class="toc-link toc-h3" href="#node-context-menu">Node Context Menu</a>
|
|
1554
|
+
<a class="toc-link toc-h3" href="#canvas-context-menu-empty-area">Canvas Context Menu (Empty Area)</a>
|
|
1555
|
+
<a class="toc-link toc-h2" href="#bypass-mode">Bypass Mode</a>
|
|
1556
|
+
<a class="toc-link toc-h3" href="#activating-bypass">Activating Bypass</a>
|
|
1557
|
+
<a class="toc-link toc-h3" href="#what-bypass-does-during-execution">What Bypass Does During Execution</a>
|
|
1558
|
+
<a class="toc-link toc-h2" href="#group-node-subgraph">Group Node / Subgraph</a>
|
|
1559
|
+
<a class="toc-link toc-h3" href="#creating-a-groupnode">Creating a GroupNode</a>
|
|
1560
|
+
<a class="toc-link toc-h3" href="#naming-the-group">Naming the Group</a>
|
|
1561
|
+
<a class="toc-link toc-h3" href="#opening-the-subgraph">Opening the Subgraph</a>
|
|
1562
|
+
<a class="toc-link toc-h3" href="#editing-the-subgraph">Editing the Subgraph</a>
|
|
1563
|
+
<a class="toc-link toc-h3" href="#groupnode-ports">GroupNode Ports</a>
|
|
1564
|
+
<a class="toc-link toc-h3" href="#execution-semantics">Execution Semantics</a>
|
|
1565
|
+
<a class="toc-link toc-h3" href="#saving-and-loading">Saving and Loading</a>
|
|
1566
|
+
<a class="toc-link toc-h2" href="#sticky-notes">Sticky Notes</a>
|
|
1567
|
+
<a class="toc-link toc-h3" href="#adding-a-sticky-note">Adding a Sticky Note</a>
|
|
1568
|
+
<a class="toc-link toc-h3" href="#editing">Editing</a>
|
|
1569
|
+
<a class="toc-link toc-h3" href="#resizing">Resizing</a>
|
|
1570
|
+
<a class="toc-link toc-h3" href="#moving">Moving</a>
|
|
1571
|
+
<a class="toc-link toc-h3" href="#deleting">Deleting</a>
|
|
1572
|
+
<a class="toc-link toc-h3" href="#colour">Colour</a>
|
|
1573
|
+
<a class="toc-link toc-h2" href="#backdrops-network-boxes">Backdrops / Network Boxes</a>
|
|
1574
|
+
<a class="toc-link toc-h3" href="#adding-a-backdrop">Adding a Backdrop</a>
|
|
1575
|
+
<a class="toc-link toc-h3" href="#labeling">Labeling</a>
|
|
1576
|
+
<a class="toc-link toc-h3" href="#resizing_1">Resizing</a>
|
|
1577
|
+
<a class="toc-link toc-h3" href="#moving_1">Moving</a>
|
|
1578
|
+
<a class="toc-link toc-h3" href="#colour_1">Colour</a>
|
|
1579
|
+
<a class="toc-link toc-h3" href="#deleting_1">Deleting</a>
|
|
1580
|
+
<a class="toc-link toc-h2" href="#canvas-search-bar">Canvas Search Bar</a>
|
|
1581
|
+
<a class="toc-link toc-h3" href="#opening">Opening</a>
|
|
1582
|
+
<a class="toc-link toc-h3" href="#searching_1">Searching</a>
|
|
1583
|
+
<a class="toc-link toc-h3" href="#navigating-matches">Navigating Matches</a>
|
|
1584
|
+
<a class="toc-link toc-h3" href="#closing">Closing</a>
|
|
1585
|
+
<a class="toc-link toc-h2" href="#mini-map">Mini-map</a>
|
|
1586
|
+
<a class="toc-link toc-h3" href="#viewport-indicator">Viewport Indicator</a>
|
|
1587
|
+
<a class="toc-link toc-h3" href="#navigating-via-mini-map">Navigating via Mini-map</a>
|
|
1588
|
+
<a class="toc-link toc-h3" href="#toggling">Toggling</a>
|
|
1589
|
+
<a class="toc-link toc-h3" href="#theme">Theme</a>
|
|
1590
|
+
<a class="toc-link toc-h2" href="#live-wire-value-inspector">Live Wire Value Inspector</a>
|
|
1591
|
+
<a class="toc-link toc-h3" href="#how-to-use">How to Use</a>
|
|
1592
|
+
<a class="toc-link toc-h3" href="#when-values-are-available">When Values Are Available</a>
|
|
1593
|
+
<a class="toc-link toc-h3" href="#when-values-are-cleared">When Values Are Cleared</a>
|
|
1594
|
+
<a class="toc-link toc-h3" href="#hit-area">Hit Area</a>
|
|
1595
|
+
<a class="toc-link toc-h2" href="#log-panel">Log Panel</a>
|
|
1596
|
+
<a class="toc-link toc-h3" href="#message-types">Message Types</a>
|
|
1597
|
+
<a class="toc-link toc-h3" href="#execution-timing">Execution Timing</a>
|
|
1598
|
+
<a class="toc-link toc-h3" href="#inner-node-logs-groupnode">Inner Node Logs (GroupNode)</a>
|
|
1599
|
+
<a class="toc-link toc-h3" href="#clearing-the-log">Clearing the Log</a>
|
|
1600
|
+
<a class="toc-link toc-h3" href="#error-details">Error Details</a>
|
|
1601
|
+
<a class="toc-link toc-h2" href="#toolbar-reference">Toolbar Reference</a>
|
|
1602
|
+
<a class="toc-link toc-h2" href="#keyboard-shortcuts-reference">Keyboard Shortcuts Reference</a>
|
|
1603
|
+
<a class="toc-link toc-h3" href="#global-shortcuts">Global Shortcuts</a>
|
|
1604
|
+
<a class="toc-link toc-h3" href="#canvas-shortcuts">Canvas Shortcuts</a>
|
|
1605
|
+
<a class="toc-link toc-h3" href="#node-builder-shortcuts">Node Builder Shortcuts</a>
|
|
1606
|
+
<a class="toc-link toc-h2" href="#workflow-execution">Workflow Execution</a>
|
|
1607
|
+
<a class="toc-link toc-h3" href="#starting-execution">Starting Execution</a>
|
|
1608
|
+
<a class="toc-link toc-h3" href="#async-behaviour">Async Behaviour</a>
|
|
1609
|
+
<a class="toc-link toc-h3" href="#what-running-means">What "Running" Means</a>
|
|
1610
|
+
<a class="toc-link toc-h3" href="#parallel-execution">Parallel Execution</a>
|
|
1611
|
+
<a class="toc-link toc-h3" href="#stopping-mid-execution">Stopping Mid-Execution</a>
|
|
1612
|
+
<a class="toc-link toc-h3" href="#init-priority-nodes">Init-Priority Nodes</a>
|
|
1613
|
+
<a class="toc-link toc-h3" href="#re-running">Re-running</a>
|
|
1614
|
+
<a class="toc-link toc-h2" href="#autosave-and-crash-recovery">Autosave and Crash Recovery</a>
|
|
1615
|
+
<a class="toc-link toc-h3" href="#autosave">Autosave</a>
|
|
1616
|
+
<a class="toc-link toc-h3" href="#clean-exit">Clean Exit</a>
|
|
1617
|
+
<a class="toc-link toc-h3" href="#crash-recovery">Crash Recovery</a>
|
|
1618
|
+
<a class="toc-link toc-h2" href="#recent-files">Recent Files</a>
|
|
1619
|
+
<a class="toc-link toc-h3" href="#accessing-recent-files">Accessing Recent Files</a>
|
|
1620
|
+
<a class="toc-link toc-h3" href="#greyed-out-entries">Greyed-Out Entries</a>
|
|
1621
|
+
<a class="toc-link toc-h3" href="#clearing-the-list">Clearing the List</a>
|
|
1622
|
+
<a class="toc-link toc-h3" href="#when-the-list-updates">When the List Updates</a>
|
|
1623
|
+
<a class="toc-link toc-h3" href="#storage">Storage</a>
|
|
1624
|
+
<a class="toc-link toc-h2" href="#advanced-topics">Advanced Topics</a>
|
|
1625
|
+
<a class="toc-link toc-h3" href="#node-init-priority">Node Init Priority</a>
|
|
1626
|
+
<a class="toc-link toc-h3" href="#shared-memory-between-nodes">Shared Memory Between Nodes</a>
|
|
1627
|
+
<a class="toc-link toc-h3" href="#the-python-script-node">The Python Script Node</a>
|
|
1628
|
+
<a class="toc-link toc-h3" href="#exporting-a-workflow-as-python">Exporting a Workflow as Python</a>
|
|
1629
|
+
<a class="toc-link toc-h3" href="#reloading-nodes-from-disk">Reloading Nodes from Disk</a>
|
|
1630
|
+
</aside>
|
|
1631
|
+
|
|
1632
|
+
<script src="https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/highlight.min.js"></script>
|
|
1633
|
+
<script src="https://cdn.jsdelivr.net/npm/lunr@2.3.9/lunr.min.js"></script>
|
|
1634
|
+
<script>
|
|
1635
|
+
// ── Search ──────────────────────────────────────────────────────────────
|
|
1636
|
+
let _idx = null, _docs = [];
|
|
1637
|
+
|
|
1638
|
+
async function initSearch() {
|
|
1639
|
+
try {
|
|
1640
|
+
const base = document.getElementById('portal-base').dataset.base;
|
|
1641
|
+
const resp = await fetch(base + 'search.json');
|
|
1642
|
+
_docs = await resp.json();
|
|
1643
|
+
_idx = lunr(function() {
|
|
1644
|
+
this.ref('id');
|
|
1645
|
+
this.field('title', { boost: 10 });
|
|
1646
|
+
this.field('body');
|
|
1647
|
+
_docs.forEach((d, i) => {
|
|
1648
|
+
this.add({ id: i, title: d.title, body: d.body });
|
|
1649
|
+
});
|
|
1650
|
+
});
|
|
1651
|
+
} catch(e) { console.warn('Search index not available', e); }
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
function doSearch(q) {
|
|
1655
|
+
const box = document.getElementById('search-results');
|
|
1656
|
+
if (!q || q.length < 2) { box.classList.remove('visible'); return; }
|
|
1657
|
+
if (!_idx) { box.innerHTML = '<div class="search-no-results">Search index loading…</div>'; box.classList.add('visible'); return; }
|
|
1658
|
+
const results = _idx.search(q + '~1');
|
|
1659
|
+
if (!results.length) {
|
|
1660
|
+
box.innerHTML = '<div class="search-no-results">No results for "' + q + '"</div>';
|
|
1661
|
+
box.classList.add('visible'); return;
|
|
1662
|
+
}
|
|
1663
|
+
box.innerHTML = results.slice(0, 8).map(r => {
|
|
1664
|
+
const d = _docs[r.ref];
|
|
1665
|
+
const excerpt = d.body.substring(0, 140).replace(/[#*`]/g, '').trim() + '…';
|
|
1666
|
+
return `<a class="search-result-item" href="${d.url}">
|
|
1667
|
+
<div class="search-result-title">${d.title}</div>
|
|
1668
|
+
<div class="search-result-excerpt">${excerpt}</div>
|
|
1669
|
+
</a>`;
|
|
1670
|
+
}).join('');
|
|
1671
|
+
box.classList.add('visible');
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
1675
|
+
initSearch();
|
|
1676
|
+
const inp = document.getElementById('search-input');
|
|
1677
|
+
if (inp) {
|
|
1678
|
+
inp.addEventListener('input', e => doSearch(e.target.value));
|
|
1679
|
+
inp.addEventListener('keydown', e => { if (e.key === 'Escape') { e.target.value=''; document.getElementById('search-results').classList.remove('visible'); }});
|
|
1680
|
+
}
|
|
1681
|
+
document.addEventListener('click', e => {
|
|
1682
|
+
if (!e.target.closest('.search-wrap')) document.getElementById('search-results')?.classList.remove('visible');
|
|
1683
|
+
});
|
|
1684
|
+
// Keyboard shortcut: / to focus search
|
|
1685
|
+
document.addEventListener('keydown', e => {
|
|
1686
|
+
if (e.key === '/' && !['INPUT','TEXTAREA'].includes(document.activeElement.tagName)) {
|
|
1687
|
+
e.preventDefault(); document.getElementById('search-input')?.focus();
|
|
1688
|
+
}
|
|
1689
|
+
});
|
|
1690
|
+
|
|
1691
|
+
// ── TOC active section ──────────────────────────────────────────────
|
|
1692
|
+
const tocLinks = document.querySelectorAll('.toc-link');
|
|
1693
|
+
const headings = document.querySelectorAll('h2[id],h3[id],h4[id]');
|
|
1694
|
+
if (tocLinks.length && headings.length) {
|
|
1695
|
+
const obs = new IntersectionObserver(entries => {
|
|
1696
|
+
entries.forEach(entry => {
|
|
1697
|
+
if (entry.isIntersecting) {
|
|
1698
|
+
tocLinks.forEach(l => l.classList.remove('active'));
|
|
1699
|
+
const link = document.querySelector(`.toc-link[href="#${entry.target.id}"]`);
|
|
1700
|
+
if (link) link.classList.add('active');
|
|
1701
|
+
}
|
|
1702
|
+
});
|
|
1703
|
+
}, { rootMargin: '-20% 0px -70% 0px' });
|
|
1704
|
+
headings.forEach(h => obs.observe(h));
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
// ── Copy buttons ────────────────────────────────────────────────────
|
|
1708
|
+
document.querySelectorAll('pre').forEach(pre => {
|
|
1709
|
+
const btn = document.createElement('button');
|
|
1710
|
+
btn.className = 'copy-btn'; btn.textContent = 'Copy';
|
|
1711
|
+
btn.addEventListener('click', () => {
|
|
1712
|
+
const code = pre.querySelector('code');
|
|
1713
|
+
navigator.clipboard.writeText(code ? code.innerText : pre.innerText).then(() => {
|
|
1714
|
+
btn.textContent = 'Copied!'; btn.classList.add('copied');
|
|
1715
|
+
setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('copied'); }, 2000);
|
|
1716
|
+
});
|
|
1717
|
+
});
|
|
1718
|
+
pre.style.position = 'relative';
|
|
1719
|
+
pre.appendChild(btn);
|
|
1720
|
+
});
|
|
1721
|
+
|
|
1722
|
+
// ── Sidebar active ──────────────────────────────────────────────────
|
|
1723
|
+
const cur = window.location.pathname.split('/').pop();
|
|
1724
|
+
document.querySelectorAll('.sidebar-link').forEach(l => {
|
|
1725
|
+
if (l.getAttribute('href') === cur || l.getAttribute('href').endsWith(cur)) l.classList.add('active');
|
|
1726
|
+
});
|
|
1727
|
+
|
|
1728
|
+
// ── highlight.js ────────────────────────────────────────────────────
|
|
1729
|
+
if (window.hljs) {
|
|
1730
|
+
hljs.configure({ ignoreUnescapedHTML: true });
|
|
1731
|
+
hljs.highlightAll();
|
|
1732
|
+
}
|
|
1733
|
+
});
|
|
1734
|
+
</script>
|
|
1735
|
+
</body>
|
|
1736
|
+
</html>
|