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 @@
|
|
|
1
|
+
[{"id":0,"title":"Introduction","url":"01_introduction.html","body":"⚠ 2 warnings # Vibrante-Node v2.5.0 — Introduction Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. Vibrante-Node is a Python node-based visual framework for building modular systems through connected nodes and data flows. It provides an intuitive graph interface where complex logic can be constructed visually by linking nodes together. The platform focuses on flexibility, extensibility, and developer productivity — making it suitable for building visual pipelines, automation workflows, and data-processing graphs across any domain. Node-based systems allow complex operations to be organized as interconnected components rather than traditional linear code structures, improving clarity and scalability in large workflows. Vibrante-Node supports multiple interaction patterns: Visual Workflow Orchestration — build, run, and inspect complex multi-step workflows by wiring together reusable node blocks on an interactive PyQt5 canvas. Data flows left-to-right, execution flows via exec pins, and every wire value is inspectable after a run. Programmatic Automation — drive the execution engine via the scripting console or Python API without UI interaction. DCC Integration — build and control Houdini, Maya, and Blender scenes through live bridge and headless executor nodes. AI-Assisted Orchestration (optional advanced feature) — Claude, Codex CLI, Cursor, or any MCP-compatible AI client connects to the built-in MCP server ( vibrante-mcp console entry point, or scripts/run_vibrante_mcp.py from a source checkout), accessing tools for scene inspection, planning, validation, and structured scene execution. Table of Contents Core Philosophy Who Is This For Feature Overview Why Visual Node Graphs Beyond VFX — General Automation Supported Integrations Architecture Overview Version History Documentation Map Core Philosophy Why Node-Based? Scripts are linear. Node graphs are not. When a pipeline task grows beyond a handful of steps — conditional branching, parallel tracks, optional DCC calls, error routing — a script becomes a wall of nested if statements and callback chains that is hard to read, hard to modify, and impossible to hand off to a non-programmer. A node graph externalises the control flow into a visual structure that anyone can understand at a glance: data flows left to right, execution flows top to bottom, and every node is an isolated contract with defined inputs and outputs. Vibrante-Node adopts the Unreal Engine Blueprint model of exec pins alongside data pins. Exec pins (the white square connectors) explicitly wire the order of operations. Data pins (the coloured circles) carry values between nodes. This dual-channel approach lets you build workflows that are simultaneously readable as flowcharts and correct as programs. Why Async? DCC operations — cooking a Houdini geometry, rendering a Maya scene, querying a Prism Pipeline project database — can take seconds or minutes. A synchronous engine would freeze the UI and prevent you from monitoring progress, reading log output, or stopping a runaway task. Vibrante-Node runs the execution engine on a dedicated asyncio event loop driven by a zero-interval QTimer on the Qt main thread ( _EventLoopRunner in src/ui/window.py ). Every node's execute() method is a Python coroutine ( async def ). This means: The UI stays responsive during execution. Long-running nodes can await external results without blocking. The Stop button works immediately. Multiple parallel execution branches can run concurrently. Why Extensible? No automation platform ships with every node you will ever need. Vibrante-Node is designed so that adding a new node requires exactly one file: a .json file containing the port definitions and the Python code. There is no registration step, no recompile, no plugin manifest beyond dropping the file in the nodes/ directory. The NodeRegistry discovers and registers it automatically on startup. For DCC-specific nodes, the Houdini plugin package ( plugins/houdini/ ) adds nodes from v_nodes_houdini/ and scripts from v_scripts_houdini/ via environment variables — no changes to the core application. Build Once → Reuse Everywhere The GroupNode (Ctrl+Shift+G) collapses any selected sub-workflow into a single reusable node. Group nodes expose only the ports you choose, hide internal complexity, and can be nested inside other group nodes. A studio can build a prism_publish_asset group node once and reuse it as a black-box building block in every shot workflow across all projects — without copying the logic. Workflow files are plain JSON. They can be checked into version control, diffed, merged, and shared across teams. A workflow that runs on one artist's machine runs identically on another with the same node library installed. Who Is This For Vibrante-Node is built for three overlapping audiences. Visual Users and Technical Artists Artists who need to automate repetitive tasks — renaming files, batch-exporting assets, running Houdini geometry operations — but do not want to write Python scripts. They build workflows by dragging nodes from the Library panel, connecting them on the canvas, and pressing F5. The node library is organised by category, searchable by name, and produces immediate visual feedback through the log panel and live wire value inspector. Typical tasks : batch asset export, scene setup automation, file organisation, render submission. Pipeline TDs and Studio Engineers Technical Directors who build and maintain shared workflows for a team. They author custom nodes using the Node Builder or by editing JSON files directly, package them as Houdini plugin additions or standalone nodes/ files, and distribute them to artists. They integrate with Prism Pipeline for project/asset/shot management and with Deadline for render farm submission. Typical tasks : pipeline integration nodes, studio-specific workflow templates, Prism entity queries, Deadline job configuration. Python Developers Developers who want to build automated systems with a visual interface without writing a UI framework from scratch. They subclass BaseNode , implement async def execute(self, inputs) , and return a dict. The engine, canvas, log panel, autosave, and all other infrastructure are provided. They can also drive Vibrante-Node programmatically via the automation API ( AUTOMATION_API.md ). Typical tasks : custom automation tooling, CI/CD pipeline steps, data processing workflows, service integrations. AI Developers and ML Engineers Developers who want Claude, Codex CLI, Cursor, or another MCP-compatible AI to build, inspect, and modify Houdini scenes autonomously under human supervision. They run vibrante-mcp (or scripts/run_vibrante_mcp.py from a source checkout), configure their AI client, and then describe in natural language what they want built. The AI uses the planning and validation tools; the human reviews the generated plan and approves high-risk operations before execution. Typical tasks : AI-driven scene assembly, iterative procedural content generation, natural-language Houdini automation, multi-agent production pipelines. Feature Overview Feature Description Shortcut / API Interactive Canvas Pan, zoom, rubber-band select on a QGraphicsScene/View canvas Middle Mouse / Alt+LMB, Ctrl+Wheel, drag Node Search Popup Fuzzy-search all registered nodes by name or ID Tab Exec Flow Pins White square pins enforce execution order; data pins carry values Drag output to input Async Execution Engine asyncio coroutines keep the UI responsive during long operations F5 to run, Stop button to cancel GroupNode / Subgraph Collapse 2+ nodes into a single reusable subgraph node Ctrl+Shift+G Mini-map 200x150 px canvas thumbnail with viewport indicator in bottom-right Ctrl+M to toggle Canvas Search Bar Find any node by name in the current canvas Ctrl+F Live Wire Inspector Hover a connected wire to see the last value"},{"id":1,"title":"Getting Started","url":"02_getting_started.html","body":"⚠ 3 warnings # Vibrante-Node v2.5.0 — Getting Started Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. This guide takes you from a fresh machine to running your first workflow. It covers installation, the project layout, a complete first-workflow tutorial, and a detailed explanation of what happens when you press F5. Table of Contents System Requirements Installation on Windows macOS and Linux Notes Running from Source vs. Running the .exe Project Structure Walkthrough First Launch — What You See Your First Workflow — Step by Step Understanding Execution Flow The Node Library Panel Saving and Loading Workflows System Requirements Requirement Minimum Recommended Operating System Windows 10 64-bit Windows 11 64-bit Python 3.10 3.11 PyQt5 5.15 5.15.x latest QScintilla 2.13 2.14 pydantic 2.0 2.x latest toposort 1.10 1.10 RAM 4 GB 8 GB Disk 200 MB 1 GB (for workflows and assets) Optional dependencies by integration: Integration Additional Requirement Houdini Bridge Houdini 19.5 or 20.x with the plugins/houdini/ package installed Maya Headless Autodesk Maya 2022+ with mayapy on PATH Blender Headless Blender 3.x or 4.x with blender on PATH Prism Pipeline Prism 2.x installed, PrismCore importable from Python Deadline Thinkbox Deadline 10.x client installed Gemini AI google-generativeai Python package, valid API key MCP Runtime (Claude/Codex/Cursor) mcp>=2.0.0,<3 Python package ( pip install \"mcp>=2.0.0,<3\" ) Installation on Windows Step 1 — Install Python Download Python 3.11 from python.org . During installation: Check Add Python to PATH . Check Install pip . Verify the installation: python --version pip --version Step 2 — Clone the Repository git clone https://github.com/your-org/vibrante-node.git cd vibrante-node If you received a ZIP archive instead of a git URL, extract it to a folder of your choice (e.g. C:\\vibrante-node ). Step 3 — Install Python Dependencies From inside the project root (the folder containing requirements.txt ): pip install -r requirements.txt This installs: PyQt5 , QScintilla , pydantic , toposort , pytest , pytest-qt , google-generativeai , and pytest-asyncio . If QScintilla fails on your system, the app will still run — it falls back to a plain QPlainTextEdit -based code editor automatically. To install QScintilla manually: pip install QScintilla Step 4 — Run the Application python src/main.py The splash screen appears briefly, then the main window opens. Step 5 — (Optional) Install the Houdini Plugin If you use Houdini and want to control it from Vibrante-Node: Locate your Houdini packages folder. On Windows this is typically: C:\\Users\\<username>\\Documents\\houdini20.5\\packages\\ Copy plugins/houdini/vibrante_node.json into that folder. Open the file in a text editor and set the two required paths: json { \"env\": [ { \"VIBRANTE_NODE_APP\": \"C:/vibrante-node\" }, { \"VIBRANTE_PYTHON_EXE\": \"C:/Python311/python.exe\" } ], \"path\": \"$VIBRANTE_NODE_APP/plugins/houdini/houdini\" } VIBRANTE_NODE_APP must be the absolute path to the project root (where src/main.py lives). VIBRANTE_PYTHON_EXE must point to a Python 3.11 executable that has PyQt5 installed. Restart Houdini. The Vibrante-Node menu appears in the Houdini menu bar. Use Vibrante-Node > Launch Vibrante-Node to start the app from inside Houdini. macOS and Linux Notes Vibrante-Node is developed and tested on Windows. macOS and Linux are supported on a best-effort basis. PyQt5 on macOS Install PyQt5 via pip. If you encounter issues with Qt platform plugins: pip install PyQt5 export QT_QPA_PLATFORM=xcb # Linux only On macOS, Homebrew Python 3.11 is recommended over the system Python. PyQt5 on Linux Ubuntu / Debian: sudo apt-get install python3-pyqt5 python3-pyqt5.qsci pip install pydantic toposort Or install everything via pip (requires Qt development libraries): sudo apt-get install libgles2-mesa-dev libxcb-xinerama0 pip install -r requirements.txt Known Limitations on Non-Windows The Windows .exe build ( dist/vibrante_node.exe ) does not run on macOS or Linux. Houdini plugin features ( vibrante_node.json , pythonrc.py ) are tested only on Windows and Linux. The Blender and Maya headless executors depend on DCC executables being accessible on PATH, which varies by OS. Running from Source vs. Running the .exe From Source python src/main.py Use this during development or when you need to modify nodes, add Python nodes, or debug. Changes to .json node files are picked up on the next launch (or after Ctrl+Shift+R to reload all nodes). Changes to Python node files or source code require restarting the application. From the .exe The dist/vibrante_node.exe is a PyInstaller-bundled single-file executable for Windows. It includes Python 3.10, PyQt5, QScintilla, pydantic, toposort, and all bundled nodes. It does not require a separate Python installation. Limitations of the .exe: You cannot modify source files inside the bundle. Custom nodes must be placed next to the .exe in a nodes/ folder — the registry scans this location at startup. For the Houdini plugin, VIBRANTE_PYTHON_EXE must still point to a system Python 3.11 with PyQt5 because the plugin launches Vibrante-Node as a subprocess, not the bundled .exe . Project Structure Walkthrough vibrante-node/ ├── src/ Main application source code │ ├── main.py Entry point; creates QApplication and MainWindow │ ├── core/ │ │ ├── engine.py NetworkExecutor — async graph runner │ │ ├── graph.py GraphManager — DAG with toposort │ │ ├── models.py Pydantic data models (WorkflowModel, etc.) │ │ ├── registry.py NodeRegistry — loads JSON + Python nodes │ │ ├── persistence.py Workflow JSON serialisation / deserialisation │ │ └── loader.py Node JSON file loader utilities │ ├── nodes/ │ │ ├── base.py BaseNode abstract class │ │ └── builtins/ Built-in Python nodes (Sequence, ForEach, etc.) │ ├── ui/ │ │ ├── window.py MainWindow — top-level Qt window │ │ ├── library_panel.py Node library sidebar │ │ ├── log_panel.py Execution log display │ │ ├── node_widget.py NodeWidget (QGraphicsItem) │ │ ├── port_widget.py Port widgets on node cards │ │ ├── code_editor.py Python code editor (QScintilla or fallback) │ │ ├── node_builder.py Node Builder dialog │ │ ├── script_editor.py Standalone script editor dialog │ │ ├── scripting_console.py Interactive Python REPL │ │ └── canvas/ │ │ ├── scene.py NodeScene (QGraphicsScene) │ │ ├── view.py NodeView (QGraphicsView) │ │ ├── edge.py Edge (wire) items │ │ ├── mini_map.py MiniMap overlay widget │ │ ├── canvas_search_bar.py Ctrl+F search bar │ │ ├── node_search_popup.py Tab node search │ │ ├── backdrop.py Backdrop / network box items │ │ └── sticky_note.py Sticky note annotation items │ └── utils/ │ ├── hou_bridge.py HouBridge TCP client (Houdini integration) │ ├── prism_core.py PrismCore resolver and bootstrap │ ├── config_manager.py App settings and recent files │ ├── qt_compat.py PyQt5 / Qt6 compatibility shims │ └── runtime.py SafeRuntime for wrapping async node execution │ ├── nodes/ JSON node definitions (loaded at startup) │ ├── console_print.json │ ├── python_script.json │ ├── if_condition.json │ ├── prism_core_init.json │ ├── maya_headless.json │ └── ... (90+ node files) │ ├── plugins/ │ └── houdini/ │ ├── vibrante_node.json Houdini package file (user installs this) │ ├── v_nodes_houdini/ Houdini-specific node JSON files │ ├── v_scripts_houdini/ Houdini-specific Python scripts (Scripts menu) │ └── houdini/ │ ├── MainMenuCommon.xml │ ├── toolbar/vibrante_node.shelf │ └── scripts/python/ │ ├── pythonrc.py │ ├── vibrante_node_houdini.py │ └── vibrante_hou_server.py │ ├── workflows/ Saved workflow JSON files (user-created) ├── docs_src/ Documentation source (this folder) ├── examples/ Example workflow JSON files ├── icons/ SVG and PNG icons used by node definitions ├── requirements.txt Python package dependencies ├── CLAUDE.md Node authoring guide for AI assistants └── DEVELOPER.md De"},{"id":2,"title":"User Guide","url":"03_user_guide.html","body":"✓ Verified # Vibrante-Node v2.5.0 — User Guide 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. Table of Contents Canvas Navigation Node Widget Anatomy Port Types and Colors Connecting Nodes Exec Flow Pins Data-Only Nodes Node Search Popup Right-Click Context Menu Bypass Mode Group Node / Subgraph Sticky Notes Backdrops / Network Boxes Canvas Search Bar Mini-map Live Wire Value Inspector Log Panel Toolbar Reference Keyboard Shortcuts Reference Workflow Execution Autosave and Crash Recovery Recent Files Canvas Navigation The canvas is a NodeView (QGraphicsView) that renders a NodeScene (QGraphicsScene). You can navigate a canvas of any size smoothly with the following controls. Panning Method Description Middle Mouse Button drag Pan in any direction Alt + Left Mouse Button drag Alternative pan (Houdini-style) Scroll wheel Pan vertically Shift + Scroll wheel Pan horizontally Zooming Method Description Ctrl + Scroll wheel Zoom in / out centred on cursor + / - keys Zoom in / out 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. Focus and Fitting Shortcut Description F Fit selected nodes to the viewport. If nothing is selected, fit all nodes. Home Reset the view to the origin (0, 0) at 100% zoom Rubber-Band Selection 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 Shift while rubber-banding to add to the current selection without deselecting previously selected items. Scroll Bars 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. Node Widget Anatomy Every node on the canvas is a NodeWidget — a QGraphicsItem with a card-like appearance. Understanding its structure is essential for using the platform effectively. +------------------------------------------------------+ | [icon] display_name [=] bypass | <- Header +----------+------------------------------------------+ | exec_in | | exec_out | <- Exec ports | string | [text widget____________] | exec_out | <- Data port + widget | int | [0___________________] | | <- Int widget | float | [0.0_________________] | result | <- Output port | bool | [ ] checkbox label | | <- Bool widget | list | (no widget, input only) | list_out | <- List port +----------+------------------------------------------+ Header The header is the top band of the node card. It shows: An optional icon (16x16 px) loaded from the icon_path field in the node definition. The node's display name — by default the name from the definition, but can be renamed by double-clicking the header text. A small bypass toggle button on the right (labelled = ). Clicking it toggles bypass mode for this node. The header background colour reflects the node's current execution state: State Header Colour Idle Category-dependent (dark blue, purple, teal, etc.) Running Bright orange / amber Finished (success) Fades back to idle colour Finished (error) Red Bypassed Grey / dimmed Input Ports (Left Side) Input ports appear on the left edge of the node. Each port has: A connector — a circle (data) or square (exec). Click and drag from another node's output onto this to create a connection. A label — the port name. An optional parameter widget — rendered inside the node body to the right of the connector. Widgets appear only on input ports with a widget_type defined. Parameter Widgets widget_type Appearance When to Use text Single-line text field Short string values, paths, names text_area Multi-line text area Code blocks, long descriptions int Integer spin box Whole number values float Float spin box Decimal number values checkbox Toggle checkbox True / false values dropdown Dropdown combobox Enumerated choices slider Slider with numeric readout Clamped numeric ranges file Text field + browse button File open paths file_save Text field + browse button File save paths When an input port has an incoming data connection, the widget is disabled — the value comes from the wire, not from manual input. Output Ports (Right Side) 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 execute() . After execution, hovering over a wire from an output port shows the last value via the live wire inspector. Resize Handle 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. Port Types and Colors Port type determines what kind of data flows through a connection. The connector colour identifies the type at a glance. Type Connector Shape Colour Widget Types Available Description exec Square White None Execution flow signal. True fires the downstream node. string Circle Purple text, text_area, dropdown, file, file_save Text values of any length int Circle Cyan int, slider Integer numbers float Circle Orange float, slider Floating-point numbers bool Circle Green checkbox Boolean True / False list Circle Yellow None Python list of any content dict Circle Tan/Brown None Python dict of any content any Circle Light Grey None Untyped — accepts any value Type Compatibility The connection system enforces basic type compatibility when dragging wires: An output of type string can connect to an input of type string or any . An output of type any can connect to any input type. An output of type exec can only connect to an input of type exec . Mismatched typed connections (e.g. float output to bool input) show a warning cursor but are permitted — the value is passed as-is and the receiving node is responsible for handling the type. If you need to convert between types, use a conversion node (e.g. pass an int output through a string_concat node to get a string representation) or handle the conversion in the receiving node's execute() code. Connecting Nodes Creating a Connection Hover over an output port (right side of a node). The cursor changes to a crosshair. Click and drag from the output port. A temporary preview wire follows the cursor. Release over a compatible input port on another node. The connection is established and the wire snaps into place. A curved Bezier wire appears between the two ports. The wire colour matches the data type of the source port. Single-Input Enforcement Each data input port accepts at most one incoming connection . 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. Exec input ports follow the same rule — only one node can trigger a given exec_in . Disconnecting a Wire Click and drag an existing wire 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. Right-click a port and select \"Disconnect\" to remove all wires from that port. Select a wire by clicking near it (the 12 px wide hit area makes this easy) and press Delete . Fan-Out (Multiple Outputs from One Port) A single output port can connect to multiple 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. Exec Flow Pins Exec pins are the white square connectors that appear on nodes with use_exec: true in their definition. They are the mechanism by which Vibrante-Node enforces execution order. What Exec Pins Do exec_in — a trigger input. When a connected upstream node fires its exec_out , this node's execute() method is called."},{"id":3,"title":"Workflow Tutorials","url":"04_workflow_tutorials.html","body":"✓ Verified # Workflow Tutorials This chapter walks you through ten complete, self-contained tutorials. Each tutorial builds a real workflow from scratch and shows exactly which nodes to use, how to wire them, and what to expect in the log panel. All examples use the built-in node set unless explicitly noted. Tutorial 1: Basic File Renaming Workflow Goal: Load a list of filenames from a folder, apply a naming convention (lowercase with underscores), and rename every file on disk. Print a summary when done. Nodes Used Node Role Python Script List all files in a folder ForEach Iterate over each filename String Lower Convert each name to lowercase Python Script (inner) Replace spaces with underscores, rename file Console Print Report result Step-by-Step Build 1. Create the entry Python Script node Open the Node Library (left panel) and drag a Python Script node onto the canvas. This will be the entry point — it fires first when you click Run. In the node's code editor paste: import os folder = inputs.get("data", "") if not folder or not os.path.isdir(folder): result = [] else: result = [ os.path.join(folder, f) for f in os.listdir(folder) if os.path.isfile(os.path.join(folder, f)) ] Set the folder path as the default value on the data port (in the node's parameter editor). Connect exec_out to the ForEach node. 2. ForEach node Drag a ForEach node onto the canvas. Connect: - result output → ForEach items input - Python Script exec_out → ForEach exec_in ForEach fires its loop_exec_out once per item, passing the current item on the current_item port. 3. String Lower node Drag String Lower . Connect: - ForEach current_item → String Lower string input This converts the full path to lowercase. However, we only want to lowercase the filename, not the whole path. Use a Python Script node instead: import os full_path = inputs.get("data", "") folder = os.path.dirname(full_path) old_name = os.path.basename(full_path) new_name = old_name.lower().replace(" ", "_") new_path = os.path.join(folder, new_name) result = {"old_path": full_path, "new_path": new_path, "new_name": new_name} 4. Rename Python Script node Add another Python Script node. Wire the transform script's result → this node's data input: import os info = inputs.get("data", {}) old_path = info.get("old_path", "") new_path = info.get("new_path", "") if old_path and new_path and old_path != new_path: try: os.rename(old_path, new_path) result = f"Renamed: {old_path} -> {new_path}" except OSError as e: result = f"ERROR: {e}" else: result = f"Skipped (no change): {old_path}" 5. Console Print Connect the result output to a Console Print node. Wire the rename node's exec_out back to the ForEach loop_exec_in to continue the loop. 6. Final summary Connect ForEach exec_out (fires after the loop completes) to a Console Print with the message \"Renaming complete.\" . Running the Workflow Set the folder path as the default value on the entry node's data port (or wire it from an upstream node). Click Run . Watch the log panel — each rename or skip appears in sequence. Tutorial 2: Data Transformation Pipeline Goal: Read a JSON file containing records (e.g., a list of people with names and birthdates), transform the data (uppercase names, reformat dates), and write the result to a new JSON file. Log a summary. Nodes Used Node Role File Load Read source JSON JSON Parse Decode file content Python Script Transform records File Save Write output JSON Console Print Log summary Step-by-Step Build 1. File Load Drag File Load onto the canvas. Set file_path to your source JSON file (e.g., people.json ). The content output carries the raw text. 2. JSON Parse Connect File Load.content → JSON Parse.json_string . The data output is the decoded Python object (list or dict). 3. Transform Python Script import json from datetime import datetime records = inputs.get("data", []) transformed = [] for record in records: new_record = dict(record) # Uppercase the name field if "name" in new_record: new_record["name"] = str(new_record["name"]).upper() # Reformat birthdate from YYYY-MM-DD to DD/MM/YYYY if "birthdate" in new_record: try: dt = datetime.strptime(new_record["birthdate"], "%Y-%m-%d") new_record["birthdate"] = dt.strftime("%d/%m/%Y") except ValueError: pass # leave malformed dates untouched transformed.append(new_record) result = json.dumps(transformed, indent=2) 4. File Save Connect the transform script's result → File Save.content . Set file_path to people_transformed.json . Wire exec_out chain through. 5. Console Print Add another Python Script node. Wire the transform script's result → its data input to build a summary: import json json_str = inputs.get("data", "[]") try: count = len(json.loads(json_str)) except Exception: count = 0 result = f"Transformation complete. {count} records processed." Then connect result → Console Print. Key Points JSON Parse handles both list-of-dicts and plain dicts. All transform logic lives in one Python Script node, making it easy to add or remove transformation steps. File Save overwrites the target file. To write alongside the original, compute the output path dynamically. Tutorial 3: Conditional Execution (If/Else Logic) Goal: Check whether a numeric value exceeds a threshold. Route execution to an \"above threshold\" branch or a \"below threshold\" branch. Both branches converge at a final log node. Nodes Used Node Role Python Script Compute or receive the value Python Script Evaluate condition → bool TwoWaySwitch Route exec based on bool Console Print (×2) Branch-specific messages Console Print Final convergence message Step-by-Step Build 1. Source value # Simulated: in practice this could come from a file, API, etc. result = {"value": 87.3, "threshold": 75.0} 2. Condition evaluator Wire the source script's result → this node's data input: data = inputs.get("data", {}) value = data.get("value", 0.0) threshold = data.get("threshold", 0.0) result = value > threshold 3. TwoWaySwitch Connect: - result (bool) → TwoWaySwitch condition input - Condition evaluator exec_out → TwoWaySwitch exec_in TwoWaySwitch has two exec outputs: - exec_true — fires when condition is True - exec_false — fires when condition is False 4. True branch Connect exec_true → Console Print A. Set A's message port to a static string \"Value exceeds threshold — triggering alert.\" or pipe a dynamic string through. 5. False branch Connect exec_false → Console Print B with \"Value is within threshold — no action needed.\" . 6. Convergence Both Console Print nodes' exec_out pins connect to a shared final Console Print node with the message \"Check complete.\" . Note: In Vibrante-Node, multiple exec_out connections into a single exec_in are valid. The engine executes the target node once for whichever upstream exec fires. Since TwoWaySwitch fires exactly one branch, the final node runs exactly once. Extending to Multi-Branch Logic For more than two conditions, chain TwoWaySwitches: Condition A → TwoWaySwitch 1 exec_true → branch A exec_false → Condition B → TwoWaySwitch 2 exec_true → branch B exec_false → branch C (default) Tutorial 4: Loop Over a List Goal: Take a list of names, process each one (title-case), collect the results, and print the final processed list. Nodes Used Node Role Create List Build or receive the input list SetVariable Initialize the accumulator ForEach Iterate over items Python Script Title-case each item GetVariable Read current accumulator List Append Add processed item SetVariable Update accumulator GetVariable Final read Console Print Output result Step-by-Step Build 1. Create List Use Create List (or a Python Script) to produce your list: result = ["alice smith&q"},{"id":4,"title":"Node Development Guide","url":"05_node_development.html","body":"✓ Verified # Node Development Guide — Vibrante-Node v2.5.0 This guide walks through everything you need to know to build custom nodes for Vibrante-Node, from the simplest string transformer to a fully-async HTTP client node with error branches and dynamic ports. Table of Contents Node Architecture Overview Two Ways to Create Nodes Step-by-Step: Your First Node Port System Deep-Dive The execute() Method Logging Reactive Output with set_output() State Persistence with self.parameters Shared State with BaseNode.memory Dynamic Ports Dropdown Options File and File-Save Widgets Data-Only Nodes (use_exec=False) Registering Your Node Node Categories and the Library Panel Custom Icons Testing and Debugging Performance Considerations Common Mistakes Complete Example: File Rename Node Complete Example: HTTP API Request Node 1. Node Architecture Overview A node in Vibrante-Node is a unit of work. Visually it appears as a box on the canvas with named connection points (ports) on its left (inputs) and right (outputs) sides. Internally it is a Python class that inherits from BaseNode and implements a single async def execute(self, inputs) method. What a node contains Component Purpose inputs dict Named Port objects describing data the node receives outputs dict Named Port objects describing data the node produces parameters dict Persistent key/value store — widget values live here execute() The async method the engine calls when the node runs logging methods log_info , log_error , log_success — appear in the log panel set_output() Push a value to downstream nodes before exec_out fires Lifecycle of a node during a pipeline run Engine starts │ ▼ restore_from_parameters(saved_params) ← rebuild dynamic ports from saved state │ ▼ clear_outputs() ← reset all output port values to defaults │ ▼ sync parameters from upstream results ← values from connected edges arrive │ ▼ execute(inputs) ← your code runs here │ ├── await self.set_output(...) ← push values reactively mid-execution │ └── return {port: value, ...} ← final output dict sent to engine The engine handles all wiring automatically. Your node never needs to reach into other nodes — you receive values through the inputs dict and send values back through the return dict or set_output() . 2. Two Ways to Create Nodes Method A — JSON file with embedded Python (recommended) Place a .json file anywhere inside the nodes/ directory (or a directory listed in the v_nodes_dir environment variable). The file bundles the node's metadata, port definitions, and Python code into a single self-contained unit. This is the preferred approach because: - The Node Builder UI can read and write these files directly. - Node hot-reload works (Edit → Reload Node Definition). - The file is trivially portable — drop it in any project's nodes/ folder. Method B — Pure Python class (advanced) Write a .py file with a class that inherits from BaseNode and a register_node() function. The registry compiles either format identically at runtime; the difference is purely organizational. Pure Python is useful when: - The node has complex helper functions you want in separate methods. - You are writing a built-in node bundled with the application itself. - You want full IDE autocomplete and static analysis during development. 3. Step-by-Step: Your First Node We will build a simple node that receives a string and outputs it in uppercase. Step 1 — Create the JSON file Create nodes/text_upper.json : { "node_id": "text_upper", "name": "text_upper", "description": "Converts a string to uppercase.", "category": "Text", "icon_path": null, "use_exec": true, "inputs": [ { "name": "text", "type": "string", "widget_type": "text", "options": null, "default": "" }, { "name": "exec_in", "type": "any", "widget_type": null, "options": null, "default": null } ], "outputs": [ { "name": "result", "type": "string", "widget_type": null, "options": null, "default": null }, { "name": "exec_out", "type": "any", "widget_type": null, "options": null, "default": null } ], "python_code": "from src.nodes.base import BaseNode\\n\\nclass Text_Upper(BaseNode):\\n name = 'text_upper'\\n\\n def __init__(self):\\n super().__init__()\\n # [AUTO-GENERATED-PORTS-START]\\n self.add_input('text', 'string', widget_type='text')\\n self.add_output('result', 'string')\\n # [AUTO-GENERATED-PORTS-END]\\n\\n async def execute(self, inputs):\\n text = inputs.get('text', '')\\n return {'result': text.upper(), 'exec_out': True}\\n\\ndef register_node():\\n return Text_Upper" } Step 2 — Restart or hot-reload If the app is already running, open the Node Builder (or use Edit → Reload Node Definitions). The \"text_upper\" node now appears in the library under the \"Text\" category. Step 3 — Place the node on canvas Open the node search popup (Tab key or right-click → Add Node), type \"upper\", and click the result. A node appears on the canvas. Step 4 — Wire it up Connect a String Literal node's output to text_upper.text . Connect text_upper.exec_out to a Console Sink. Run the pipeline — the console shows the uppercased string. 4. Port System Deep-Dive Inputs vs. outputs Input ports appear on the left side of the node widget. They receive values from upstream nodes or display an inline widget when unconnected. Output ports appear on the right side. They carry results to downstream nodes. Exec pins When use_exec=True (the default), super().__init__() automatically creates: - exec_in — an input of type exec . The node does not run until this fires. - exec_out — an output of type exec . Triggers the next node in the chain. Do not add exec_in or exec_out manually inside __init__ . They are already there. You can add additional exec outputs (e.g., a failure branch) using self.add_exec_output(\"exec_fail\") . Data types Type Python equivalent Notes string str Default value \"\" int int Default value 0 float float Default value 0 bool bool Default value False list list Default value [] dict dict Default value {} any any No type coercion; used for exec pins and generic data The engine does not coerce types automatically. If you declare a port as int but receive a string \"42\" , convert it yourself inside execute() . Widget types Widget types control the inline editor shown on an unconnected input port. widget_type Appearance Best for text Single-line text box Short strings, names, paths text_area Multi-line text box Code, JSON, long text int Integer spinner Integer parameters float Float spinner Numeric parameters bool Checkbox Toggles dropdown Combo box Enumerated choices slider Horizontal slider 0–100 range values file Path box + Browse button Input file selection file_save Path box + Save dialog button Output file selection Specifying widget_type=None (the default) means the port has no inline widget — it only accepts data through a connected wire. Adding ports in init def __init__(self): super().__init__() # adds exec_in + exec_out automatically # [AUTO-GENERATED-PORTS-START] self.add_input("name", "string", widget_type="text", default="World") self.add_input("count", "int", widget_type="int", default=1) self.add_input("enabled", "bool", widget_type="bool", default=True) self.add_input("items", "list") # no widget self.add_output("result", "string") self.add_output("count", "int") # [AUTO-GENERATED-PORTS-END] The # [AUTO-GENERATED-PORTS-START] / # [AUTO-GENERATED-PORTS-END] comments are markers the Node Builder uses to identify the auto-manag"},{"id":5,"title":"Backend Architecture","url":"06_backend_architecture.html","body":"⚠ 4 warnings # 06 — Backend Architecture Vibrante-Node v2.5.0 — Technical Reference This document describes the execution engine, graph model, node registry, and all supporting subsystems that make up the Vibrante-Node backend. It is written for contributors, plugin authors, and advanced users who need to understand what happens between the moment the user clicks Run and the moment the last node finishes. Table of Contents Execution Engine Overview Event Loop Integration Execution Flow Diagram Entry Node Detection Data-Pull Recursion Execution Order Guarantees Loop Execution GroupNode Sub-Executor Bypass Handling init_priority System Error Propagation Cancellation node_results Dictionary Signal Catalogue State Management GraphManager NodeRegistry BaseNode Contract SafeRuntime and Error Isolation Performance Considerations 1. Execution Engine Overview NetworkExecutor ( src/core/engine.py ) is the central execution engine. It inherits from QObject so it can emit Qt signals from within async code. The engine operates entirely on the Qt main thread — there are no worker threads for node execution. Async I/O is achieved by running an asyncio event loop that is manually stepped by a zero-delay QTimer . What NetworkExecutor does Receives a GraphManager instance containing the full node graph. Instantiates one BaseNode subclass per NodeInstanceModel , restoring its dynamic ports and parameter values from the saved workflow. Determines which nodes are entry nodes and which are data-pull nodes . Starts all entry nodes as concurrent asyncio tasks. After each node's execute() returns, propagates outputs to downstream nodes' inputs reactively. Triggers downstream execution via exec-port connections. Emits Qt signals after every state transition so the UI stays in sync. Why async Node execute() coroutines may perform I/O: reading files, making HTTP requests, talking to the Houdini command server over TCP, or calling subprocess-based DCCs. If these were synchronous, they would block the Qt event loop and freeze the entire UI. By using asyncio , multiple nodes can be waiting on I/O simultaneously without any threading overhead. A single OS thread handles everything; the event loop interleaves coroutines cooperatively. The practical rule is: anything that blocks for more than a few milliseconds must use await . CPU-bound work that cannot be split into coroutines should use asyncio.to_thread() to push it to a thread pool without blocking the event loop (see Performance Considerations ). 2. Event Loop Integration Qt and asyncio each expect to own the thread's event loop. Vibrante-Node bridges them with _EventLoopRunner ( src/ui/window.py ), a lightweight adapter that drives the asyncio loop from inside Qt's event loop. How _EventLoopRunner works QTimer(interval=0) ──► _EventLoopRunner._step() │ ├─ loop.call_soon(loop.stop) │ schedules a stop callback at end of ready queue │ └─ loop.run_forever() runs until the stop callback fires (processes exactly one round of ready callbacks) _step() is called by Qt every time the event loop is idle (interval = 0). Each call to _step() : Queues a loop.stop at the back of the asyncio ready queue. Calls loop.run_forever() . Because loop.stop was queued last, run_forever returns after draining all currently-ready callbacks — typically in microseconds. Checks whether the main task is done, and if so calls _cleanup() . This scheme means: All await suspensions resume on the Qt main thread. All Qt signals emitted from within async code are queued connections that deliver on the main thread — no cross-thread marshalling is ever needed. QBasicTimer warnings (\"timer can only be used with threads started with QThread\") cannot occur because the asyncio loop never runs on a background thread. Lifecycle runner = _EventLoopRunner(executor) runner.start() # creates asyncio task, starts QTimer # ... Qt main loop runs ... runner.stop() # calls executor.stop(); loop keeps pumping until task finishes _EventLoopRunner creates a brand-new asyncio.new_event_loop() for each run, so there are no stale tasks or leftover state between executions. 3. Execution Flow Diagram User clicks Run │ ▼ MainWindow.execute_pipeline() │ ├─ Build GraphManager from WorkflowModel ├─ Create NetworkExecutor(graph_manager) ├─ Create _EventLoopRunner(executor) └─ runner.start() │ ▼ executor.run() [async coroutine] │ ├─ 1. PRE-CALCULATE LOOKUP MAPS │ _incoming_data_conns: {node_id → [ConnectionModel]} │ _driven_by_flow: set of node_ids with exec_in connected │ ├─ 2. PREPARE ALL NODES │ for each NodeInstanceModel: │ instantiate node_class() │ restore_from_parameters() (dynamic ports) │ sync parameters (skip ports with live data connections) │ clear_outputs() │ install _on_log, _on_output, _check_stopped hooks │ ├─ 3. PRISM BOOTSTRAP (if prism_core_init present) │ ├─ 4. INIT NODES (init_priority > 0, descending order) │ each init node's full exec chain completes before next │ ├─ 5. ENTRY NODE DETECTION │ exec_conns present? │ YES → flow mode: │ entry = nodes with exec_out but no connected exec_in │ OR nodes with no exec pins at all │ NO → data-flow mode: │ layers = graph_manager.get_topological_sort() │ execute layer by layer with asyncio.gather() │ └─ 6. FLOW EXECUTION [per entry node, concurrent tasks] _execute_flow(node_id) │ ├─ BYPASS CHECK → short-circuit if bypassed │ ├─ PULL UPSTREAM DATA NODES │ for each input port (in port definition order): │ if upstream node not in _driven_by_flow: │ _run_single_node_impl(upstream, is_data_pull=True) │ ├─ node_started signal │ ├─ reset exec output parameters │ ├─ sync all inputs from node_results cache │ ├─ SafeRuntime.run_node_safe(instance.execute, inputs) │ ├─ SUCCESS: │ node_results[node_id].update(result) │ node_output signal │ node_finished("success") signal │ └─ FAILURE: node_error signal node_finished("failed") signal [exec chain stops here] set_output("exec_out", True) called inside execute() │ ├─ stores value in node_results ├─ node_output signal (for live wire inspector) ├─ REACTIVE DATA PROPAGATION: │ for each data connection from this port: │ target.parameters[to_port] = value │ node_results[to_node][to_port] = value │ if target not in _driven_by_flow: │ discard from _executed_nodes (force re-run in loops) │ await target.on_parameter_changed(port, value) └─ FLOW ROUTING (if port type == 'exec' and value is truthy): for each exec connection from this port: await _execute_flow(to_node) 4. Entry Node Detection Entry node detection depends on whether the graph contains any exec connections. Flow Mode (exec connections present) A node is an entry node if either of these conditions is true: No exec_in pin — the node has only data ports. Examples: GetVariable , constant value nodes, the prism_core_init node. These never need to be triggered by an upstream exec; they run when data-pulled. Has exec_in pin but no connection to it — the node is the start of an exec chain. This is the primary category: the first node the user wires up (e.g. a Sequencer or a Houdini node with exec_in connected to nothing). Both categories apply even within a single graph. A graph might have two independent exec chains, each starting their own entry node. Both are detected and tracked as concurrent tasks. Nodes already executed by the init phase ( _executed_nodes ) are excluded from entry detection to avoid double-execution. # From engine.py (simplified) entry_nodes = [] for node_id, instance in self.node_instances.items(): if node_id not in connected_nodes: continue if node_id in self._executed_nodes: continue has_exec_in_pin = any(p.data_type == 'exec' for p in instance.inputs.values()) if not has_exec_in_pin: entry_nodes.append(node_id) elif node_id not in has_exec_in_conn: entry_nodes.append(node_id) Data-Flow Mode (no exec connections) When the graph has no exec connections at all, the engine falls back to classic topological sort execution. Every node in the graph is placed in a dependency layer, and layers ar"},{"id":6,"title":"Frontend Architecture","url":"07_frontend_architecture.html","body":"✓ Verified # 07 — Frontend Architecture Vibrante-Node v2.5.0 — Technical Reference This document describes the Qt5 widget hierarchy, rendering pipeline, event model, history system, and all supporting UI subsystems. It targets contributors who need to understand the canvas, add new UI panels, create custom graphics items, or modify how nodes and edges are drawn. Architecture note: The UI Layer described in this document is the primary interface for Vibrante-Node users. The execution engine ( src/core/engine.py ) and Runtime Layer ( src/runtime/ ) are designed to be fully decoupled from Qt — they can additionally be used headlessly from the MCP server ( vibrante-mcp , or scripts/run_vibrante_mcp.py from a source checkout) for advanced automation without a display server. The frontend and backend are decoupled at the NetworkExecutor boundary: the executor calls node execute() coroutines; the UI listens to its Qt signals. Nothing in src/runtime/ or src/core/engine.py imports from src/ui/ . Table of Contents Widget Hierarchy MainWindow NodeScene (QGraphicsScene) NodeView (QGraphicsView) NodeWidget Rendering PortWidget Edge (Wire) Rendering MiniMap CanvasSearchBar NodeSearchPopup Event Flow: Creating a Connection History (Undo/Redo) Serialization (Scene to/from WorkflowModel) Theme System LibraryPanel LogPanel ScriptingConsole NodeBuilderDialog CodeEditor How to Add a New UI Panel Custom Graphics Items Stylesheet Architecture StickyNote and Backdrop 1. Widget Hierarchy The complete Qt widget tree for one open tab: QMainWindow (MainWindow) │ ├── QTabWidget (self.tabs) [central widget] │ │ │ └── [per tab] QWidget → QVBoxLayout │ └── NodeView (QGraphicsView) │ │ │ ├── [child widget] CanvasSearchBar (QFrame) │ │ └── QHBoxLayout │ │ ├── QLineEdit (search input) │ │ ├── QLabel (match counter) │ │ ├── QToolButton ▲ prev │ │ ├── QToolButton ▼ next │ │ └── QToolButton ✕ close │ │ │ └── [child widget] MiniMap (QGraphicsView) │ shares the same QGraphicsScene as NodeView │ │ QGraphicsScene (NodeScene) [not a widget; managed by NodeView] │ │ │ ├── NodeWidget items [QGraphicsItem] │ │ ├── header rect (QPainter) │ │ ├── PortWidget items (QGraphicsEllipseItem) │ │ └── QGraphicsProxyWidget [per input parameter] │ │ └── QLineEdit / QSpinBox / QCheckBox / QComboBox / ... │ │ │ ├── Edge items [QGraphicsPathItem] │ │ │ ├── StickyNote items [QGraphicsItem] │ │ │ └── Backdrop items [QGraphicsRectItem] │ ├── QDockWidget "Node Library" (LibraryPanel) [left dock] │ └── QVBoxLayout │ ├── QLineEdit (search filter) │ └── DraggableTreeWidget (QTreeWidget) │ ├── QDockWidget "Log" (LogPanel) [bottom dock] │ └── QTextEdit │ ├── QDockWidget "Scripting Console" [bottom dock, tabbed with Log] │ └── QVBoxLayout │ ├── QPlainTextEdit (output) │ └── QLineEdit (input) │ └── QStatusBar 2. MainWindow MainWindow ( src/ui/window.py ) is the application's top-level window. It owns: The QTabWidget with one tab per open workflow. The LibraryPanel , LogPanel , and ScriptingConsole dockable panels. The main menu bar and toolbar. The _EventLoopRunner that drives execution. The autosave timer ( QTimer , 2-minute interval). _node_start_times — a Dict[UUID, float] that records time.perf_counter() when each node starts, enabling elapsed-time logging. Tab management Each tab wraps a NodeView → NodeScene pair. The tab label is the workflow filename (or \"Untitled N\" for new workflows). Tabs are closable; _close_tab() prompts for unsaved changes. add_new_workflow(name) creates a new NodeScene , wraps it in a NodeView , adds the pair to the QTabWidget , and connects the necessary signals. It is also called by _open_subgraph_tab() when the user double-clicks a GroupNode . Signal connections (engine → UI) executor.node_started.connect(self._on_node_started) executor.node_finished.connect(self._on_node_finished) executor.node_error.connect(self._on_node_error) executor.node_output.connect(self._on_node_output) executor.node_log.connect(self._on_node_log) executor.execution_finished.connect(self._on_execution_finished) _on_node_started records start time and calls widget.set_executing(True) to highlight the node on canvas. _on_node_finished computes elapsed time, logs it, calls widget.set_executing(False) . _on_node_output calls widget.set_parameter(port_name, value) for each output key, and calls scene.update_edge_value(widget, port_name, value) for wire inspector tooltips. Autosave _autosave() is called every 2 minutes. It serialises all non-empty tabs to ~/.vibrante_node_autosave.json : { "version": 1, "tabs": [ {"name": "tab label", "file_path": "/path/or/empty", "workflow": {}} ] } Empty tabs and the _is_executing guard prevent spurious writes. On next startup, _try_restore_autosave() checks for this file and shows a restore dialog. On clean exit ( closeEvent ), the file is deleted so the dialog never appears unnecessarily. Recent files MainWindow._add_recent_file(path) is called after every successful save or load. It delegates to config.add_recent_file(path) in src/utils/config_manager.py , which keeps a JSON list of up to 10 absolute paths (newest first). The Open Recent submenu is rebuilt dynamically by _rebuild_recent_menu() on file_menu.aboutToShow . Files that no longer exist on disk are shown grayed-out (disabled actions). 3. NodeScene (QGraphicsScene) NodeScene ( src/ui/canvas/scene.py ) is the model for a single workflow tab. It manages all graphics items and owns the history stack. Key attributes Attribute Type Description nodes List[NodeWidget] All node items in scene order edges List[Edge] All wire items sticky_notes List[StickyNote] All sticky note items backdrops List[Backdrop] All backdrop items history List[dict] Undo stack (snapshots, max 50) redo_stack List[dict] Redo stack _undoing bool Guard to prevent history writes during undo/redo _sync_callback Callable or None Set by MainWindow for subgraph tab two-way sync file_path str or None Last saved path for this tab Background grid NodeScene.drawBackground() paints a dot-grid using grid_pen (color #555555 , width 0.5). The grid spacing is grid_size = 20 scene units. The grid is drawn in scene coordinates, so it scales with zoom automatically. History (undo/redo) push_history() snapshots the entire scene to a WorkflowModel.model_dump() dict and appends it to history . It also clears redo_stack and, if _sync_callback is set, calls it with the new snapshot. undo() pops the last snapshot, pushes the current state to redo_stack , and calls from_workflow_model(model) to restore. redo() does the reverse. The maximum history depth is 50 snapshots. Older entries are discarded from the front of the list. Scene communication: _sync_callback When MainWindow._open_subgraph_tab() opens a GroupNode 's inner graph in a new tab, it sets scene._sync_callback to a closure that writes every change back to the parent GroupNode 's parameters[\"__workflow__\"] and pushes the parent scene's history. This makes subgraph tabs fully editable with two-way sync to the parent workflow. Node search from scene NodeScene.add_node_by_name(node_id, scene_pos) looks up the definition in NodeRegistry , creates a NodeWidget , positions it at scene_pos , and adds it to the scene. Returns the created widget or None on failure. Grouping NodeScene.group_selection() (triggered by Ctrl+Shift+G) collapses selected nodes into a GroupNode . The algorithm: Classify edges incident on selected nodes as internal, boundary_in, boundary_out, boundary_exec_in, or boundary_exec_out. Build a WorkflowModel containing the selected nodes plus synthetic GroupInNode and GroupOutNode instances for each boundary port. Remove selected nodes and their edges. Create a GroupNode widget at the centroid; populate __workflow__ , __port_defs__ , __name__ parameters; call rebuild_ports() . Reconnect external edges to the new GroupNode 's ports. 4. NodeView (QGraphicsView) NodeView ( src/ui/canvas/view.py ) is t"},{"id":7,"title":"API Reference","url":"08_api_reference.html","body":"✓ Verified # Full API Reference — Vibrante-Node v2.5.0 This document is the complete public API reference for all classes, signals, and utilities available to node authors, workflow automation scripts, and plugin developers. Table of Contents BaseNode Port NetworkExecutor GraphManager NodeRegistry WorkflowModel NodeInstanceModel ConnectionModel PortModel NodeDefinitionJSON StickyNoteModel BackdropModel Scripting Console API Automation API ConfigManager HouBridge Prism Integration 1. BaseNode Module: src.nodes.base Abstract base class for all custom nodes. See 14_custom_nodes_api.md for the full developer guide. Class attributes Attribute Type Default Description name str \"BaseNode\" Registry key. Must match node_id . node_id str (injected by registry) Same as name for JSON nodes. description str \"\" Shown in UI tooltips. category str \"General\" Library grouping. icon_path Optional[str] None Relative path to SVG/PNG icon. memory Dict[str, Any] {} Class-level shared dict, cleared each run. Instance attributes Attribute Type Description inputs Dict[str, Port] Input ports keyed by name. outputs Dict[str, Port] Output ports keyed by name. parameters Dict[str, Any] Widget values, output cache, internal state. parameter_types Dict[str, Type] Optional type hints for add_parameter() . Constructor def __init__(self, use_exec: bool = True) Adds exec_in (input) and exec_out (output) of type exec when use_exec=True . Methods Signature Returns Description add_input(name, type=\"any\", widget_type=None, options=None, default=None) None Add input port + initialize parameter. add_output(name, type=\"any\", default=None) None Add output port + initialize parameter. add_exec_input(name=\"exec_in\") None Add exec-type input. add_exec_output(name=\"exec_out\") None Add exec-type output. add_parameter(name, param_type, default=None) None Add internal non-port parameter. rebuild_ports() None Notify canvas to refresh port layout. is_port_connected(name, is_input) bool Query wire connection state. is_stopped() bool True if pipeline cancellation requested. async set_output(name, value) None Reactive value push + exec chain trigger. clear_outputs() None Reset outputs to defaults (called by engine). set_parameter(name, value) None Set parameter; handles dropdown list updates. get_parameter(name, default=None) Any Safe parameter read. log_info(msg) None Info-level log message. log_success(msg) None Success-level log message. log_error(msg) None Error-level log message. restore_from_parameters(parameters) None Override to recreate dynamic ports. async on_parameter_changed(name, value) None Override for reactive parameter response. async on_plug(port, is_input, node, port) None Override for async connection event. on_plug_sync(port, is_input, node, port) None Override for sync connection event. async on_unplug(port, is_input) None Override for async disconnect event. on_unplug_sync(port, is_input) None Override for sync disconnect event. async execute(inputs) dict Abstract. Implement in every node. 2. Port Module: src.nodes.base Describes a single input or output connection point. Constructor Port( name: str, data_type: str = "any", widget_type: str = None, options: List[str] = None, default: Any = None ) Attributes Attribute Type Description name str Port name. Unique within node inputs or outputs. data_type str string , int , float , bool , list , dict , any , or exec . widget_type Optional[str] Inline editor type. None = no editor. options Optional[List[str]] Dropdown options. Non- None only for dropdown widgets. default Any Default value when unconnected. Port objects are data-only and have no methods. Ports are stored in node.inputs and node.outputs dicts, keyed by name . 3. NetworkExecutor Module: src.core.engine The async execution engine. Receives a GraphManager , prepares all node instances, and runs the graph. Constructor NetworkExecutor(graph_manager: GraphManager) NetworkExecutor is a QObject . It emits Qt signals for UI feedback. Signals Signal Signature Description node_started (UUID) Emitted just before a node's execute() is called. node_finished (UUID, str) Emitted after a node completes. str is \"success\" or \"failed\" . node_error (UUID, str) Emitted when a node raises an unhandled exception. str is the error message. node_output (UUID, dict) Emitted after execute() returns or after set_output() . dict maps port names to values. node_log (UUID, str, str) Emitted by log_info/error/success . Args: node UUID, message, level string ( \"info\" , \"error\" , \"success\" ). execution_finished (bool) Emitted when the entire pipeline completes. bool is True if not stopped. Methods run (async) async def run(self, init_only: bool = False) -> None Executes the full pipeline. The execution sequence: BaseNode.memory.clear() — shared memory reset. Precalculate exec-driven node set and data connection lookup maps. For each node: instantiate, restore_from_parameters() , sync parameters, clear_outputs() , wire engine hooks. _bootstrap_prism_if_needed() — initialise PrismCore if a prism_core_init node is present. _run_init_nodes() — run nodes with init_priority > 0 sequentially. If init_only=True , stop here and emit execution_finished(True) . Identify entry nodes (nodes with exec-out but no wired exec-in, plus all data-only connected nodes). Kick off all entry nodes as async tasks; wait for all to complete. Emit execution_finished(not self._is_stopped) . When no exec connections exist, falls back to classic topological-sort data-flow execution (layers run in parallel via asyncio.gather ). Parameters: - init_only — When True , only the init phase runs (steps 1–6 above). Used after loading a saved workflow to trigger auth/login nodes automatically. stop def stop(self) -> None Requests cancellation. Sets _is_stopped = True and cancels all active asyncio tasks. Calls _finished_event.set() to unblock the wait loop. Internal attributes (read-only) Attribute Type Description node_instances Dict[UUID, BaseNode] Live node instances keyed by UUID. node_results Dict[UUID, Dict[str, Any]] Output result cache keyed by UUID → port name. _is_stopped bool Cancellation flag. _executed_nodes Set[UUID] UUIDs of nodes that completed successfully this run. 4. GraphManager Module: src.core.graph Manages the in-memory graph: nodes and connections. Validates DAG invariants. Constructor GraphManager() Attributes Attribute Type Description nodes Dict[UUID, NodeInstanceModel] Node instances keyed by UUID. connections List[ConnectionModel] All connection edges. Methods add_node def add_node(self, node: NodeInstanceModel) -> None Adds a node to the graph. The node is keyed by node.instance_id . remove_node def remove_node(self, node_id: UUID) -> None Removes the node and all connections touching it. add_connection def add_connection(self, connection: ConnectionModel) -> bool Adds a connection edge after checking for cycles. Returns False and discards the connection if it would create a cycle (the graph must remain a DAG). conn = ConnectionModel( from_node=node_a.instance_id, from_port="result", to_node=node_b.instance_id, to_port="input", is_exec=False, ) if not gm.add_connection(conn): print("Cycle detected — connection not added.") remove_connection def remove_connection(self, connection_id: UUID) -> None Removes the connection with the given UUID. is_dag def is_dag(self) -> bool Returns True if the current graph contains no cycles. Uses topological sort internally; returns False if toposort.CircularDependencyError is raised. get_topological_sort def get_topological_sort( self, ignore_ports: List[str] = None ) -> List[Set[UUID]] Returns the nodes in topological order as a list of sets. Each set contains nodes that can execute in parallel. Sets are ordered from upstream to downstream. Parameters: - ignore_ports — Port names that are excluded from dependency calculation. Default is [\"break_condition\"] , which prevents WhileLoopNode 's feedback port from"},{"id":8,"title":"Advanced Topics","url":"09_advanced_topics.html","body":"✓ Verified # 09 — Advanced Topics Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. Vibrante-Node v2.5.0 — Technical Reference This document covers advanced usage patterns, production deployment, DCC integration deep-dives, headless execution, custom executors, security considerations, and version migration. It is intended for pipeline TDs, tool developers, and studio engineers who need to go beyond the basic node-authoring workflow. Table of Contents Building a Node Plugin Package Remote and Headless Execution Distributed Workflows Custom Executors Houdini Integration Deep-Dive Maya Headless Integration Blender Headless Integration Prism Pipeline Integration Production Deployment with PyInstaller Scaling Workflows Memory and State Management Security Considerations Version Migration Extending the Node Builder with AI Hot-Reload during Development 1. Building a Node Plugin Package A node plugin package is a directory (or zip-distributed directory) containing .json node definition files and optionally .py script files. The engine loads it at startup when the v_nodes_dir environment variable points to its location. Recommended folder structure my_pipeline_nodes/ ├── README.md ├── icons/ │ └── my_pipeline.svg ├── scripts/ # optional; shown in Scripts menu via v_scripts_path │ ├── publish_asset.py │ └── open_shot_folder.py └── nodes/ ├── my_get_asset.json ├── my_publish_version.json ├── my_open_in_nuke.json └── my_slate_generator.json Registering the package Option A: Environment variable (any host) Set v_nodes_dir to the nodes/ subdirectory before launching Vibrante-Node: :: Windows batch set v_nodes_dir=C:\\pipeline\\my_pipeline_nodes\\nodes python src\\main.py # Linux/macOS export v_nodes_dir=/pipeline/my_pipeline_nodes/nodes python src/main.py Multiple directories are separated by the OS path separator ( ; on Windows, : on Linux/macOS): v_nodes_dir=C:\\nodes\\houdini_nodes;C:\\nodes\\prism_nodes;C:\\nodes\\nuke_nodes Option B: Houdini package JSON When Vibrante-Node is launched from Houdini, the vibrante_node.json package file can set v_nodes_dir for that DCC context: { "env": [ { "VIBRANTE_NODE_APP": "C:/pipeline/vibrante_node_app" }, { "VIBRANTE_PYTHON_EXE": "C:/Python311/python.exe" }, { "v_nodes_dir": "C:/pipeline/my_pipeline_nodes/nodes" } ], "path": "$VIBRANTE_NODE_APP/plugins/houdini/houdini" } Option C: scripts directory for v_scripts_path Point v_scripts_path to the scripts/ subdirectory to populate the Scripts menu: v_scripts_path=C:\\pipeline\\my_pipeline_nodes\\scripts Script files ( .py ) in that directory appear as clickable menu items. They are executed with: exec(script_code, {'window': main_window, 'scene': current_scene}) Node JSON authoring checklist node_id must be globally unique. Use a studio prefix: acme_get_asset , not get_asset . category groups nodes in the Library panel. Use a consistent studio category: \"ACME Pipeline\" . icon_path can be an absolute path or a path relative to the app root. use_exec: true for any node that participates in the execution flow. Include exec_in / exec_out in the inputs / outputs arrays when use_exec: true ; the registry auto-inserts them if missing. python_code must be a single JSON string. Use \\n for newlines and \\\" for quotes. Test parsing with Python's json.loads() before committing. 2. Remote and Headless Execution Vibrante-Node does not have a dedicated headless runner, but the engine can be instantiated and run without the Qt UI by running src/core/engine.py directly from a script. Minimal headless runner # headless_run.py import asyncio import json import sys # Qt is required for QObject (NetworkExecutor inherits it) from PyQt5.QtWidgets import QApplication app = QApplication(sys.argv) from src.core.models import WorkflowModel from src.core.graph import GraphManager from src.core.registry import NodeRegistry from src.core.engine import NetworkExecutor # Load node definitions NodeRegistry.load_all_with_extras("nodes") # Load workflow with open(sys.argv[1]) as f: data = json.load(f) model = WorkflowModel.model_validate(data) gm = GraphManager() gm.from_model(model) # Wire up logging executor = NetworkExecutor(gm) executor.node_log.connect(lambda nid, msg, lvl: print(f"[{lvl}] {msg}")) executor.node_error.connect(lambda nid, msg: print(f"ERROR: {msg}", file=sys.stderr)) executor.execution_finished.connect(lambda ok: print(f"Finished: {ok}") or app.quit()) # Run via asyncio directly (no _EventLoopRunner needed for headless) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) task = loop.create_task(executor.run()) # Pump both loops import time while not task.done(): loop.call_soon(loop.stop) loop.run_forever() app.processEvents() time.sleep(0.005) loop.close() sys.exit(0 if not executor._is_stopped else 1) Usage: python headless_run.py my_workflow.json CLI argument pattern For scheduled or farm-submitted workflows, pass the workflow path and any parameter overrides as arguments: import argparse parser = argparse.ArgumentParser() parser.add_argument("workflow", help="Path to .json workflow file") parser.add_argument("--param", nargs=2, action="append", metavar=("NODE_ID:PORT", "VALUE")) args = parser.parse_args() # Override parameters before execution: if args.param: for node_port, value in args.param: node_id, port = node_port.split(":", 1) for node_model in model.nodes: if node_model.node_id == node_id: node_model.parameters[port] = value Exit code convention Return exit code 0 on success, 1 on failure. Connect execution_finished : _result = [True] executor.execution_finished.connect(lambda ok: _result.__setitem__(0, ok)) # ... run ... sys.exit(0 if _result[0] else 1) 3. Distributed Workflows Vibrante-Node does not have built-in distributed execution, but workflows can be split across machines using the following strategies. Strategy 1: Split at file boundaries Design your workflow so that each segment writes its outputs to disk (files, databases, or shared network storage) at strategic checkpoints. Split the monolithic workflow into multiple smaller .json files: 00_asset_resolve.json → writes asset_list.json to NAS 01_scene_setup.json → reads asset_list.json, writes hip files to NAS 02_render_submit.json → reads hip paths, submits to farm Each workflow file is a self-contained unit that can be run on any machine with headless_run.py . A pipeline coordinator (e.g. a render farm scheduler, a Jenkins pipeline, or a simple Python script) runs them in sequence. Strategy 2: Action-list pattern with DCC subprocesses For DCC-specific work, use the headless action-list pattern (see sections 6 and 7). The Vibrante-Node workflow runs on one machine and launches DCC subprocesses on the same or remote machines via network file system + command-line: # In a node's execute(): import subprocess ssh_cmd = ["ssh", "render_farm_host", "mayapy", "/nas/scripts/process_asset.py", asset_path] result = await asyncio.create_subprocess_exec(*ssh_cmd, stdout=asyncio.subprocess.PIPE) stdout, _ = await result.communicate() Strategy 3: Message queue integration For true distributed workflows, add a node that publishes a message (e.g. to RabbitMQ, Redis Streams, or a REST API) and a separate workflow that subscribes and processes. This pattern decouples the publisher from the consumer and allows arbitrary scaling. Practical considerations Shared filesystem : All machines must be able to read/write to a common NAS path for the file-passing strategy. Node registration : Each machine must have v_nodes_dir pointing to the same plugin package (or a network copy of it). Credentials and secrets : Pass credentials via environment variables, not hardcoded in node JSON. I"},{"id":9,"title":"Contribution Guide","url":"10_contribution_guide.html","body":"✓ Verified # Contribution Guide Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. This guide covers everything you need to contribute to Vibrante-Node — from setting up your environment to submitting a pull request. Read it fully before opening your first PR. 1. Project Philosophy Vibrante-Node is built on three commitments: Extensibility first. Every subsystem — nodes, the engine, the UI, the bridge integrations — is designed to be extended without modifying core files. New nodes should not require touching engine.py . New UI panels should not require editing window.py unless adding a menu entry. Backward compatibility is sacred. A workflow saved with Vibrante-Node v1.0.0 must load and run correctly under v2.0.0. The JSON WorkflowModel format may gain new optional fields but must never remove or rename existing ones in a breaking way. The BaseNode API (especially execute() signature, port registration, and the memory dict) must remain stable across minor versions. No breaking changes without a major version bump. If a change would break existing nodes, existing workflows, or existing user scripts that import from src , it requires a major version increment and a migration guide. Prefer additive changes: add new methods rather than changing existing signatures, add new optional parameters rather than reordering existing ones. 2. Repository Structure Vibrante-Node/ ├── src/ # Core application source │ ├── core/ │ │ ├── engine.py # Async execution engine (NetworkExecutor) │ │ ├── graph.py # GraphManager: build dependency graph from WorkflowModel │ │ ├── models.py # Pydantic models: WorkflowModel, NodeInstanceModel, etc. │ │ └── registry.py # NodeRegistry: load, register, look up node classes │ ├── nodes/ │ │ ├── base.py # BaseNode: the base class all nodes inherit │ │ └── builtins/ # Built-in Python node classes (group_node.py, etc.) │ └── ui/ │ ├── window.py # MainWindow: the application shell │ ├── canvas/ │ │ ├── scene.py # NodeScene (QGraphicsScene subclass) │ │ ├── view.py # NodeView (QGraphicsView subclass) │ │ ├── node_widget.py # NodeWidget: visual representation of a node │ │ ├── edge.py # Edge: wire between ports │ │ ├── port_widget.py # PortWidget: individual port circle │ │ ├── mini_map.py # MiniMap overlay │ │ └── canvas_search_bar.py # Ctrl+F search overlay │ ├── panels/ │ │ ├── library_panel.py # Node library browser │ │ └── log_panel.py # Execution log │ ├── dialogs/ │ │ ├── node_builder_dialog.py # Node Builder UI │ │ └── script_editor_dialog.py │ └── code_editor.py # QScintilla-based Python editor (with fallback) ├── src/utils/ │ ├── hou_bridge.py # HouBridge TCP client │ ├── prism_core.py # PrismCore resolver │ ├── config_manager.py # App settings, recent files │ └── qt_compat.py # PyQt5/PyQt6 compatibility shim ├── nodes/ # JSON node definitions (user-visible) ├── plugins/ │ └── houdini/ # Houdini plugin package (the only DCC plugin) │ ├── vibrante_node.json # Houdini package file │ ├── v_nodes_houdini/ # Houdini-specific JSON nodes │ ├── v_scripts_houdini/ # Scripts menu .py files │ └── houdini/ # Added to HOUDINI_PATH ├── tests/ # pytest test suite │ ├── unit/ # Unit tests for individual nodes and utilities │ └── integration/ # Multi-node workflow tests ├── docs_src/ # Documentation source (Markdown) ├── examples/ # Example workflows (.json files) ├── icons/ # SVG/PNG icons for nodes ├── requirements.txt ├── pytest.ini └── CLAUDE.md # AI developer guide (machine-readable) 3. Setting Up a Development Environment Prerequisites Python 3.10 or 3.11 (3.11 recommended) Git A virtual environment tool ( venv is fine) Steps # Clone the repository git clone https://github.com/KamalTD/Vibrante-Node.git cd Vibrante-Node # Create and activate a virtual environment python -m venv .venv # Windows .venv\\Scripts\\activate # macOS / Linux source .venv/bin/activate # Install all dependencies pip install -r requirements.txt # Optional: install QScintilla for the full code editor pip install QScintilla # Run the application python -m src.main # Run the test suite (per directory — see the Testing section) pytest tests/unit requirements.txt Key Dependencies Package Purpose PyQt5 UI framework pydantic>=2.0 Data models and validation toposort Topological sort for execution order networkx Graph algorithms mcp>=2.0.0,<3 MCP server mode (optional mcp extra) QScintilla Full code editor (optional editor extra) pytest Test runner pytest-qt Qt widget testing pytest-asyncio Async test support pytest-cov Coverage reporting IDE Configuration If using VS Code, add to .vscode/settings.json : { "python.defaultInterpreterPath": ".venv/Scripts/python.exe", "python.analysis.extraPaths": ["${workspaceFolder}"] } This ensures from src.core.engine import NetworkExecutor resolves correctly. 4. Coding Standards Python Style Follow PEP 8. Line length limit: 100 characters. Use f-strings for string formatting. Avoid % -style or .format() where f-strings work. One blank line between methods. Two blank lines between top-level classes and functions. Imports ordered: stdlib → third-party → local ( src.* ). Separate groups with a blank line. Type Hints Type hints are preferred in all new code, mandatory in src/core/ and src/utils/ . Use from __future__ import annotations at the top of files with complex forward references. # Good def get_node(self, node_id: str) -> BaseNode | None: ... # Acceptable in node python_code (brevity wins there) def execute(self, inputs): ... Async Patterns Never block the event loop inside execute() . Any blocking I/O (file read, network request, subprocess) must be wrapped: import asyncio # File I/O content = await asyncio.to_thread(open(path).read) # Subprocess proc = await asyncio.create_subprocess_exec( "ffmpeg", "-i", input_path, output_path, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE, ) stdout, stderr = await proc.communicate() asyncio.sleep() is fine for delays. time.sleep() inside execute() is never acceptable — it freezes the UI. Long CPU-bound tasks: await asyncio.to_thread(my_cpu_fn, args) . Error Handling in Nodes Use self.log_error() for recoverable errors. Raise exceptions only for truly unrecoverable states. Always return a valid dict with exec_out : async def execute(self, inputs): try: result = do_work(inputs) return {"output": result, "exec_out": True} except Exception as e: self.log_error(f"Failed: {e}") return {"output": None, "exec_out": True} # exec continues; downstream handles None Signal Naming Conventions (UI) Qt signals in src/ui/ follow this pattern: noun_past_tense for completed events: node_started , node_finished , node_error action_request for user-initiated requests: save_requested , run_requested Never expose pyqtSignal objects from non-widget classes. 5. How to Add a New Built-in Node Built-in nodes are Python classes in src/nodes/builtins/ . They are registered in src/core/registry.py . Step 1: Create the class file Create src/nodes/builtins/my_new_node.py : from src.nodes.base import BaseNode class MyNewNode(BaseNode): name = "my_new_node" # Must be unique; used as the node_id def __init__(self): super().__init__() # Adds exec_in and exec_out automatically # [AUTO-GENERATED-PORTS-START] self.add_input("input_value", "string", widget_type="text", default="") self.add_output("output_value", "string") # [AUTO-GENERATED-PORTS-END] async def execute(self, inputs: dict) -> dict: value = inputs.get("input_value", "") result = value.strip() # example transform return { "output_value": result, "exec_out": True, } def register_node(): return MyNewNode Step 2: Register in registry.py Open src/core/registry.py . Find the block where other builtins are reg"},{"id":10,"title":"Troubleshooting","url":"11_troubleshooting.html","body":"✓ Verified # Troubleshooting Guide Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. This guide covers the most common problems users and developers encounter with Vibrante-Node v2.5.0, organized by symptom. For each issue you will find: what causes it, how to diagnose it, and how to fix it. 1. Installation Issues PyQt5 not found Symptom: ModuleNotFoundError: No module named 'PyQt5' at startup. Cause: PyQt5 is not installed in the active Python environment. Fix: pip install PyQt5 If you are on Python 3.12 or newer and PyQt5 installation fails with a wheel error, use Python 3.11: python3.11 -m venv .venv .venv\\Scripts\\activate # Windows pip install -r requirements.txt On Linux, also install the system Qt libraries: sudo apt-get install python3-pyqt5 # or pip install PyQt5 --config-settings --confirm-license= QScintilla missing — code editor shows plain text Symptom: The Python editor in the Node Builder or Script Editor shows as a plain text box without syntax highlighting or autocompletion. Cause: QScintilla ( PyQt5.Qsci ) is not installed. This is not an error — the app falls back to a QPlainTextEdit -based editor automatically. Fix (optional): pip install QScintilla Restart the app after installing. If QScintilla is installed but the enhanced editor still doesn't appear, check that the version matches your PyQt5 version: pip show QScintilla PyQt5 Important: This fallback is intentional. Never re-raise the ImportError in code_editor.py . If you see ImportError: QScintilla is required as a hard crash, someone has re-added the raise — revert that change. Pydantic version errors Symptom: ValidationError , AttributeError: model_fields , or TypeError: __init__() got an unexpected keyword argument when loading workflows. Cause: Vibrante-Node requires pydantic v2. Pydantic v1 has an incompatible API. Diagnosis: python -c "import pydantic; print(pydantic.VERSION)" Fix: pip install "pydantic>=2.0" If another package in your environment pins pydantic v1, use a separate virtual environment for Vibrante-Node. No module named 'src' Symptom: ModuleNotFoundError: No module named 'src' when running scripts or tests. Cause: Python cannot find the src package because the working directory is not the project root, or the project root is not in sys.path . Fix for running the app: # Always run from the project root (node_based_app/) cd /path/to/node_based_app python -m src.main Fix for scripts: import sys import os sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from src.core.engine import NetworkExecutor Fix for tests: The pytest.ini at the project root sets pythonpath = . which handles this automatically. Always run pytest from the project root. 2. App Won't Start Qt platform plugin error on Windows Symptom: qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Cause: Qt's DLLs are not in the path, or the virtual environment is missing Qt platform files. Fix: pip install --force-reinstall PyQt5 PyQt5-Qt5 PyQt5-sip If using a PyInstaller build (the .exe ), ensure the platforms/ folder exists next to the executable: vibrante_node.exe platforms/ qwindows.dll Linux: no display / cannot connect to X server Symptom: qt.qpa.xcb: could not connect to display or DISPLAY is not set . Fix for headless servers: Use a virtual display: pip install pyqtgraph # optional Xvfb :99 -screen 0 1920x1080x24 & export DISPLAY=:99 python -m src.main For running in CI or Docker, use offscreen platform: QT_QPA_PLATFORM=offscreen python -m src.main Fix for desktop Linux: Ensure $DISPLAY is set and the current user has access to the X session: export DISPLAY=:0 xhost +local: Crash on startup with no error message Symptom: App closes immediately with no dialog or log output. Check: Look for crash.log in the project root: cat crash.log The crash log captures Python tracebacks that occur before the UI is ready. Common causes: - Corrupt settings.json in ~/.vibrante_node/ - A broken node JSON file in nodes/ that crashes the registry loader - A missing icon file referenced in a node JSON Fix for corrupt settings: # Delete user settings to reset to defaults rm ~/.vibrante_node/settings.json # Linux/macOS del %USERPROFILE%\\.vibrante_node\\settings.json # Windows Fix for broken node JSON: Remove or fix the offending file in nodes/ . The crash log will name the file. 3. Nodes Not Appearing in Library Node JSON file not loaded Symptom: A .json file in nodes/ is not appearing in the Node Library panel. Diagnosis checklist: 1. Is the file valid JSON? Validate with: python -m json.tool nodes/my_node.json 2. Does the file have \"node_id\" and \"name\" fields? 3. Is \"python_code\" present and non-empty? 4. Does the python_code contain a register_node() function that returns the class? 5. Is there a syntax error in the python_code string? Checking for syntax errors in python_code: import json, ast with open("nodes/my_node.json") as f: data = json.load(f) try: ast.parse(data["python_code"]) print("Syntax OK") except SyntaxError as e: print(f"Syntax error: {e}") Houdini nodes missing from library Symptom: Houdini-specific nodes from plugins/houdini/v_nodes_houdini/ do not appear after launching from Houdini. Cause: v_nodes_dir environment variable is not set, or NodeRegistry.load_all() was called instead of load_all_with_extras() . Diagnosis: In the app, open the Python console (if available) and run: import os print(os.environ.get("v_nodes_dir", "NOT SET")) Fix: - Ensure you launched the app from Houdini via Vibrante-Node → Launch (not by running python -m src.main directly). - In src/ui/window.py , confirm load_all_with_extras(bundled_nodes) is called, not load_all(bundled_nodes) . register_node() missing Symptom: Node file loads without error but class is not accessible. Cause: The python_code string is missing the register_node() function at the module level. Required: def register_node(): return MyNodeClass This function must be at module level (not inside the class) and must return the class itself, not an instance. 4. Workflow Won't Run No entry node / nothing executes Symptom: Click Run — nothing happens. Log panel is empty. Cause: The engine cannot find a starting node. The execution engine starts from nodes that have no exec_in connection (their exec_in port is unconnected). Fix: Ensure at least one node in your workflow has no incoming exec_in connection. That node is the entry point. If all nodes have exec_in wired (a closed loop), the engine has no starting point. Break the loop by disconnecting one exec_in . Circular dependency error Symptom: CyclicDependencyError or RecursionError in the log. Cause: A data connection creates a cycle (Node A output → Node B input → Node A input). Fix: Inspect the data connections (non-exec wires). Cycles in exec flow are handled differently than data cycles. A cycle in data connections is always an error — restructure your workflow to use SetVariable / GetVariable to break the cycle. All nodes are bypassed Symptom: Run completes instantly, no output, log says nodes were skipped. Fix: Right-click each node and check if Bypass is checked. Bypassed nodes appear dimmed. Un-bypass them via right-click → Bypass (toggle off). 5. Node Produces Wrong Output None values flowing through wires Symptom: A downstream node receives None where it expects a string or list. Diagnosis: 1. Hover the wire from the upstream node — the tooltip shows the last value. 2. Check the upstream node's execute() return dict. Is the output key present? 3. Check for an exception in the upstream node: look for red entries in the log panel. Common cause: The upstream node raised an exception, its except block returned {\"exec_out\": True} without the"},{"id":11,"title":"Examples Library","url":"12_examples_library.html","body":"✓ Verified # Examples Library This chapter provides ten complete, copy-paste-ready node examples. Each example includes the full JSON node definition, the Python code, and a usage guide. All examples follow the node authoring conventions described in the Contribution Guide. Example 1: Custom String Processor Node Description: Takes a string input and a regex pattern, replaces all matches with a replacement string, and outputs the modified result along with the count of substitutions made. Node JSON { "node_id": "regex_replace", "name": "regex_replace", "description": "Replace all regex matches in a string with a substitution value.", "category": "String", "icon_path": null, "use_exec": true, "inputs": [ { "name": "exec_in", "type": "any", "widget_type": null, "options": null, "default": null }, { "name": "text", "type": "string", "widget_type": "text", "options": null, "default": "" }, { "name": "pattern", "type": "string", "widget_type": "text", "options": null, "default": "" }, { "name": "replacement", "type": "string", "widget_type": "text", "options": null, "default": "" }, { "name": "ignore_case", "type": "bool", "widget_type": "checkbox", "options": null, "default": false } ], "outputs": [ { "name": "result", "type": "string", "widget_type": null, "options": null, "default": null }, { "name": "match_count", "type": "int", "widget_type": null, "options": null, "default": null }, { "name": "exec_out", "type": "any", "widget_type": null, "options": null, "default": null } ], "python_code": "..." } Python Code import re from src.nodes.base import BaseNode class Regex_Replace(BaseNode): name = "regex_replace" def __init__(self): super().__init__() # [AUTO-GENERATED-PORTS-START] self.add_input("text", "string", widget_type="text", default="") self.add_input("pattern", "string", widget_type="text", default="") self.add_input("replacement", "string", widget_type="text", default="") self.add_input("ignore_case", "bool", widget_type="checkbox", default=False) self.add_output("result", "string") self.add_output("match_count", "int") # [AUTO-GENERATED-PORTS-END] async def execute(self, inputs: dict) -> dict: text = inputs.get("text", "") pattern = inputs.get("pattern", "") replacement = inputs.get("replacement", "") ignore_case = inputs.get("ignore_case", False) if not pattern: return {"result": text, "match_count": 0, "exec_out": True} flags = re.IGNORECASE if ignore_case else 0 try: compiled = re.compile(pattern, flags) matches = compiled.findall(text) result = compiled.sub(replacement, text) return { "result": result, "match_count": len(matches), "exec_out": True, } except re.error as e: self.log_error(f"Invalid regex pattern '{pattern}': {e}") return {"result": text, "match_count": 0, "exec_out": True} def register_node(): return Regex_Replace Usage Wire a string value into text . Set pattern to a Python regex (e.g., \\b\\d{4}\\b to find 4-digit numbers). Set replacement to the substitution string (supports back-references: \\1 ). Enable ignore_case for case-insensitive matching. result carries the modified string; match_count carries how many substitutions were made. Example 2: HTTP API Request Node Description: Makes an async HTTP GET or POST request, handles JSON or text responses, and outputs the parsed data. Uses urllib.request in a thread executor ( loop.run_in_executor ) for non-blocking I/O — compatible with Vibrante-Node's QTimer-stepped asyncio event loop. Node JSON { "node_id": "http_request", "name": "http_request", "description": "Async HTTP GET or POST request with optional JSON body and headers.", "category": "Network", "icon_path": null, "use_exec": true, "inputs": [ { "name": "exec_in", "type": "any", "widget_type": null, "options": null, "default": null }, { "name": "url", "type": "string", "widget_type": "text", "options": null, "default": "" }, { "name": "method", "type": "string", "widget_type": "text", "options": null, "default": "GET" }, { "name": "headers", "type": "any", "widget_type": null, "options": null, "default": null }, { "name": "body", "type": "any", "widget_type": null, "options": null, "default": null }, { "name": "timeout", "type": "int", "widget_type": "int", "options": null, "default": 30 } ], "outputs": [ { "name": "response_data", "type": "any", "widget_type": null, "options": null, "default": null }, { "name": "status_code", "type": "int", "widget_type": null, "options": null, "default": null }, { "name": "response_text", "type": "string", "widget_type": null, "options": null, "default": null }, { "name": "success", "type": "bool", "widget_type": null, "options": null, "default": null }, { "name": "exec_out", "type": "any", "widget_type": null, "options": null, "default": null } ], "python_code": "..." } Python Code import json import asyncio from src.nodes.base import BaseNode class Http_Request(BaseNode): name = "http_request" def __init__(self): super().__init__() # [AUTO-GENERATED-PORTS-START] self.add_input("url", "string", widget_type="text", default="") self.add_input("method", "string", widget_type="text", default="GET") self.add_input("headers", "any", default=None) self.add_input("body", "any", default=None) self.add_input("timeout", "int", widget_type="int", default=30) self.add_output("response_data", "any") self.add_output("status_code", "int") self.add_output("response_text", "string") self.add_output("success", "bool") # [AUTO-GENERATED-PORTS-END] async def execute(self, inputs: dict) -> dict: import urllib.request import urllib.error url = inputs.get("url", "") method = (inputs.get("method") or "GET").upper() headers = dict(inputs.get("headers&q"},{"id":12,"title":"General Purpose Automation","url":"13_general_purpose_automation.html","body":"✓ Verified # General-Purpose Automation with Vibrante-Node Vibrante-Node is often introduced through its VFX integrations — Houdini, Maya, Prism. But those integrations are optional plugins that extend a general-purpose automation engine. At its core, Vibrante-Node is a visual, async, node-based Python execution framework that can orchestrate any automation task: file processing, API orchestration, data transformation, AI pipelines, database operations, DevOps workflows, and more. This chapter covers twelve practical automation domains, explains why a node-based approach outperforms linear scripts, and teaches you to decompose any problem into nodes. Why Node-Based Logic Beats Linear Scripts A linear Python script does one thing at a time, top to bottom. It is easy to write for simple problems and increasingly painful to maintain as complexity grows. Consider a script that: reads a folder, renames files, resizes images, calls an API to log the results, and sends an email on completion. When the resize step fails halfway through, the script has already renamed some files and called the API for none. Recovery requires careful manual state tracking. Adding a new step — say, compressing the output — means editing the script, re-testing the whole thing, and hoping you didn't break the rename step. Node-based automation addresses these pain points structurally: Visibility. Each step is a named box on the canvas. You can see the entire pipeline at once, understand what it does before running it, and identify which step failed from the log panel without reading code. Modularity. Nodes are self-contained. Changing the resize node doesn't risk breaking the rename node. You can swap out the email node for a Slack notification node without touching anything else. Reusability. A \"normalize filename\" subgraph can be collapsed into a GroupNode and dropped into any other workflow. No copy-paste, no diverging implementations. Conditional routing. TwoWaySwitch lets you visually route execution to different branches based on a condition — success vs. failure, above threshold vs. below, file exists vs. missing. In a linear script this is if/else buried in indentation. Live debugging. Hover any wire after a run to see the last value that flowed through it. Insert Console Print nodes between steps without restructuring code. The log panel timestamps every node execution. The Async Advantage Vibrante-Node's execute() methods are Python coroutines (async functions). This has three practical benefits: Non-blocking I/O. When your HTTP request node awaits a network response, the event loop stays active. Other UI events (like canceling a run) still work. The UI never freezes. Concurrent execution. Nodes that have no data dependency on each other can run concurrently in future engine versions. The dependency graph structure makes parallelism explicit — if two nodes both read from the same source but don't feed into each other, they can run simultaneously. Subprocess orchestration. asyncio.create_subprocess_exec() lets nodes run CLI tools (ffmpeg, git, mayapy) and await their completion without blocking the UI thread. The one rule: never call blocking code directly inside execute() . Use asyncio.to_thread() for file I/O, database queries, CPU-bound operations, and any synchronous library call that takes more than a few milliseconds. Use Case 1: File Processing and Batch Operations The Problem You have 500 files in a folder that need to be renamed according to a naming convention, copied to a destination, and logged in a CSV file. The naming rule: {project}_{date}_{original_name_lowercase}.ext . Why Node-Based A linear script becomes fragile when the naming rule changes (you edit the core loop), when a file fails to copy (exception handling obscures the flow), and when you want to add a new step like compression (rewrite the whole middle section). With nodes, you change the rename node's logic independently, the error branch is a separate visual path, and adding compression is a new node dropped between \"copy\" and \"log.\" Nodes to Use [File Batch Processor] ← folder_path, pattern="*" ↓ file_list [ForEach] ↓ current_item (one file path per iteration) [Python Script: Build new name] ↓ new_name, old_path [Python Script: Copy file] ↓ copied_path, success [TwoWaySwitch on success] exec_true → [List Append: results] exec_false → [Console Print: "Copy failed: {old_path}"] ↓ (both branches) [back to ForEach loop_exec_in] ↓ (after loop) [Python Script: Write CSV log] [Console Print: "Batch complete."] Custom Node: Build New Name import os from datetime import date async def execute(self, inputs): full_path = inputs.get("current_item", "") project = inputs.get("project", "proj") today = date.today().strftime("%Y%m%d") original = os.path.basename(full_path) name, ext = os.path.splitext(original) new_name = f"{project}_{today}_{name.lower()}{ext}" return {"new_name": new_name, "old_path": full_path, "exec_out": True} Custom Node: Copy File import asyncio import os import shutil async def execute(self, inputs): old_path = inputs.get("old_path", "") new_name = inputs.get("new_name", "") dest_dir = inputs.get("dest_dir", "") dest_path = os.path.join(dest_dir, new_name) try: await asyncio.to_thread(shutil.copy2, old_path, dest_path) return {"copied_path": dest_path, "success": True, "exec_out": True} except Exception as e: self.log_error(f"Copy failed: {e}") return {"copied_path": "", "success": False, "exec_out": True} Use Case 2: Folder Monitoring System The Problem A render farm drops finished frames into a watch folder. You want to automatically detect new .exr files, validate them (non-zero size), generate a JPEG proxy, and move the frame to a delivery folder. Pattern: Poll + Process Since Vibrante-Node runs execution in response to a Run click (not as a daemon by default), the folder monitor pattern uses a polling loop with a configurable dwell time. For continuous monitoring, run the workflow headlessly on a cron schedule. Using Watchdog Inside a Node import asyncio import fnmatch import os import time from src.nodes.base import BaseNode try: from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler _WATCHDOG = True except ImportError: _WATCHDOG = False class Watch_Folder(BaseNode): name = "watch_folder" def __init__(self): super().__init__() self.add_input("folder_path", "string", widget_type="text", default="") self.add_input("pattern", "string", widget_type="text", default="*.exr") self.add_input("dwell_secs", "int", widget_type="int", default=60) self.add_output("new_files", "list") async def execute(self, inputs): folder = inputs.get("folder_path", "") pattern = inputs.get("pattern", "*.exr") dwell = int(inputs.get("dwell_secs") or 60) new_files = [] if _WATCHDOG: class Handler(FileSystemEventHandler): def on_created(self, event): if not event.is_directory and fnmatch.fnmatch( os.path.basename(event.src_path), pattern ): new_files.append(event.src_path) def _watch(): obs = Observer() obs.schedule(Handler(), folder, recursive=False) obs.start() time.sleep(dwell) obs.stop() obs.join() await asyncio.to_thread(_watch) else: # Simple polling fallback before = set(os.listdir(folder)) await asyncio.sleep(dwell) after = set(os.listdir(folder)) new_files = [ os.path.join(folder, f) for f in (after - before) if fnmatch.fnmatch(f, pattern) ] return {"new_files": new_files, "exec_out": True} Looping Pattern for Continuous Monitoring Use a WhileLoop node wrapping the Watch Folder node. Set the W"},{"id":13,"title":"Custom Nodes API","url":"14_custom_nodes_api.html","body":"✓ Verified # Custom Nodes SDK / API Reference — Vibrante-Node v2.5.0 Distribution note (2.5.0): plugins/houdini/ is not shipped in the PyPI wheels or source distributions. Install it from the source repository before following this page. This document is the authoritative reference for every class, method, attribute, and hook exposed to custom node authors. It covers the full lifecycle from __init__ through execution, persistence, dynamic ports, and packaging. Table of Contents BaseNode Class Reference Port Class Reference Exec Pin Mechanics set_output() Reactive System clear_outputs() Call Sequence is_stopped() Cancellation restore_from_parameters() on_parameter_changed() Hook on_plug / on_unplug Hooks Node Lifecycle JSON Schema Reference python_code Compilation register_node() Function Exec Flow Semantics Multiple Exec Outputs GroupNode Pattern Quick-Reference Tables Packaging Node Plugins Distributing Nodes 1. BaseNode Class Reference from src.nodes.base import BaseNode BaseNode is an abstract class. Every custom node must inherit from it and implement execute() . Class Attributes Attribute Type Default Description name str \"BaseNode\" Must match node_id in the JSON file. Used as the primary key in the registry. description str \"\" Human-readable description shown in the library and node tooltip. category str \"General\" Groups the node in the library panel. icon_path Optional[str] None Relative path from app root to an SVG or PNG icon. memory Dict[str, Any] {} Class-level shared dict. Cleared to {} at the start of each pipeline run. All instances see the same dict within a run. node_id str (set by registry) Set by NodeRegistry at registration time. Mirrors name for JSON-defined nodes. Instance Attributes Attribute Type Description inputs Dict[str, Port] All input ports, keyed by port name. Populated in __init__ . outputs Dict[str, Port] All output ports, keyed by port name. Populated in __init__ . parameters Dict[str, Any] Persistent key/value store. Widget values, output values, and internal state all live here. parameter_types Dict[str, Type] Optional type hints per parameter key (used by add_parameter() ). Internal Hooks (do not set manually) These are set by the engine and UI at runtime. They are documented here for completeness but you should never assign to them directly in your node. Attribute Set by Purpose _on_log Engine Routes log_* calls to the log panel signal. _pending_logs BaseNode Buffer for log calls made before _on_log is wired. _on_output Engine Called by set_output() to propagate values and trigger exec chains. _check_stopped Engine Returns True if the user clicked Stop. _on_ports_changed UI Called by rebuild_ports() to refresh the canvas widget. _is_port_connected UI Returns True if a named port has a connected wire. _on_dropdown_options_changed UI Called by set_parameter() when a dropdown's option list changes. Constructor def __init__(self, use_exec: bool = True) Parameters: use_exec — When True (the default), automatically adds exec_in (input) and exec_out (output) ports of data_type exec . Pass False for data-only nodes. You must call super().__init__() as the very first line of your __init__ . Do not pass arguments unless you intentionally want use_exec=False : def __init__(self): super().__init__() # use_exec=True (default) # ... add your ports here def __init__(self): super().__init__(use_exec=False) # no exec pins # ... add your ports here Port Management Methods add_input def add_input( self, name: str, data_type: str = "any", widget_type: str = None, options: List[str] = None, default: Any = None ) -> None Adds an input port. Also initializes self.parameters[name] to default if the key does not already exist. Default values are coerced by type if default is None : data_type Auto-default string \"\" list [] bool False int / float / number 0 others None Call this only inside __init__ or restore_from_parameters() . Calling it during execute() creates ports mid-run which the engine was not prepared for. add_output def add_output( self, name: str, data_type: str = "any", default: Any = None ) -> None Adds an output port. Applies the same type-based auto-default as add_input . Also initializes self.parameters[name] to default . add_exec_input def add_exec_input(self, name: str = "exec_in") -> None Convenience wrapper: calls add_input(name, data_type=\"exec\") . Rarely needed directly — super().__init__(use_exec=True) already calls it. add_exec_output def add_exec_output(self, name: str = "exec_out") -> None Convenience wrapper: calls add_output(name, data_type=\"exec\") . Use this to add additional exec outputs beyond the default exec_out : self.add_exec_output("exec_fail") # adds a failure branch add_parameter def add_parameter(self, name: str, param_type: Type, default: Any = None) -> None Adds an internal parameter (not a port). Useful for storing typed configuration that does not appear as a port but is saved/restored with the workflow. rebuild_ports def rebuild_ports(self) -> None Notifies the UI canvas to redraw this node's ports. Call once after all add_input / del self.inputs[name] operations are complete. Parameter Access Methods set_parameter def set_parameter(self, name: str, value: Any) -> None Sets self.parameters[name] = value . When value is a list and the named port has widget_type=\"dropdown\" , the dropdown's option list is replaced and _on_dropdown_options_changed is fired. The current selection is preserved if it still exists in the new list; otherwise the first option is selected. get_parameter def get_parameter(self, name: str, default: Any = None) -> Any Returns self.parameters.get(name, default) . Safe to call at any time. __getitem__ shortcut value = node["port_name"] # equivalent to node.get_parameter("port_name") Connection Query Methods is_port_connected def is_port_connected(self, name: str, is_input: bool) -> bool Returns True if the named port currently has a connected wire. Queries the UI via the _is_port_connected hook. Returns False if the hook is not set (e.g., when running headlessly or in tests). Logging Methods log_info def log_info(self, msg: str) -> None Emits an informational (white/grey) message to the log panel. log_success def log_success(self, msg: str) -> None Emits a success (green) message to the log panel. log_error def log_error(self, msg: str) -> None Emits an error (red) message to the log panel. All three methods buffer the message if _on_log is not yet wired (which can happen if you log during __init__ ). The buffer is flushed when the engine wires the hook before calling execute() . Output Methods set_output (async) async def set_output(self, name: str, value: Any) -> None Pushes value to the named output port reactively — before execute() returns. The engine immediately: Updates self.parameters[name] and the engine's node_results cache. Propagates the value to all downstream nodes connected to this port. If name is an exec -type port and value is truthy, triggers the full exec chain of every downstream node connected to it. Must be awaited. Calling without await discards the coroutine silently. clear_outputs def clear_outputs(self) -> None Resets every output port's value in self.parameters to its default. Called by the engine during node preparation, before execute() is called. You should not call this manually. Cancellation is_stopped def is_stopped(self) -> bool Returns True if the user has requested pipeline cancellation (clicked Stop). Check this inside long loops or before expensive operations: for item in items: if self.is_stopped(): self.log_info("Cancelled by user.") break process(item) Returns False when running headlessly (no hook wired). Abstract Method execute (async, abstract) @abstractmethod async def execute(self, inputs: Dict[str, Any]) -> Dict[str, Any] You must implement this method. It is the main execution entry point. inpu"}]
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
{
|
|
2
|
+
"total_findings": 9,
|
|
3
|
+
"errors": 0,
|
|
4
|
+
"warnings": 9,
|
|
5
|
+
"example_summary": {
|
|
6
|
+
"ok": 323,
|
|
7
|
+
"integration": 35,
|
|
8
|
+
"syntax_error": 0,
|
|
9
|
+
"json_error": 0,
|
|
10
|
+
"skip": 111
|
|
11
|
+
},
|
|
12
|
+
"per_page": {
|
|
13
|
+
"07_frontend_architecture.md": {
|
|
14
|
+
"ok": true,
|
|
15
|
+
"errors": 0,
|
|
16
|
+
"warnings": 0
|
|
17
|
+
},
|
|
18
|
+
"01_introduction.md": {
|
|
19
|
+
"ok": true,
|
|
20
|
+
"errors": 0,
|
|
21
|
+
"warnings": 2
|
|
22
|
+
},
|
|
23
|
+
"12_examples_library.md": {
|
|
24
|
+
"ok": true,
|
|
25
|
+
"errors": 0,
|
|
26
|
+
"warnings": 0
|
|
27
|
+
},
|
|
28
|
+
"02_getting_started.md": {
|
|
29
|
+
"ok": true,
|
|
30
|
+
"errors": 0,
|
|
31
|
+
"warnings": 3
|
|
32
|
+
},
|
|
33
|
+
"14_custom_nodes_api.md": {
|
|
34
|
+
"ok": true,
|
|
35
|
+
"errors": 0,
|
|
36
|
+
"warnings": 0
|
|
37
|
+
},
|
|
38
|
+
"08_api_reference.md": {
|
|
39
|
+
"ok": true,
|
|
40
|
+
"errors": 0,
|
|
41
|
+
"warnings": 0
|
|
42
|
+
},
|
|
43
|
+
"06_backend_architecture.md": {
|
|
44
|
+
"ok": true,
|
|
45
|
+
"errors": 0,
|
|
46
|
+
"warnings": 4
|
|
47
|
+
},
|
|
48
|
+
"03_user_guide.md": {
|
|
49
|
+
"ok": true,
|
|
50
|
+
"errors": 0,
|
|
51
|
+
"warnings": 0
|
|
52
|
+
},
|
|
53
|
+
"09_advanced_topics.md": {
|
|
54
|
+
"ok": true,
|
|
55
|
+
"errors": 0,
|
|
56
|
+
"warnings": 0
|
|
57
|
+
},
|
|
58
|
+
"10_contribution_guide.md": {
|
|
59
|
+
"ok": true,
|
|
60
|
+
"errors": 0,
|
|
61
|
+
"warnings": 0
|
|
62
|
+
},
|
|
63
|
+
"13_general_purpose_automation.md": {
|
|
64
|
+
"ok": true,
|
|
65
|
+
"errors": 0,
|
|
66
|
+
"warnings": 0
|
|
67
|
+
},
|
|
68
|
+
"11_troubleshooting.md": {
|
|
69
|
+
"ok": true,
|
|
70
|
+
"errors": 0,
|
|
71
|
+
"warnings": 0
|
|
72
|
+
},
|
|
73
|
+
"05_node_development.md": {
|
|
74
|
+
"ok": true,
|
|
75
|
+
"errors": 0,
|
|
76
|
+
"warnings": 0
|
|
77
|
+
},
|
|
78
|
+
"04_workflow_tutorials.md": {
|
|
79
|
+
"ok": true,
|
|
80
|
+
"errors": 0,
|
|
81
|
+
"warnings": 0
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"findings": [
|
|
85
|
+
{
|
|
86
|
+
"severity": "warning",
|
|
87
|
+
"category": "node",
|
|
88
|
+
"message": "Node `build_scene_from_assets` mentioned in docs but not found in nodes/ or builtins.",
|
|
89
|
+
"file": "01_introduction.md",
|
|
90
|
+
"line": 276
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"severity": "warning",
|
|
94
|
+
"category": "node",
|
|
95
|
+
"message": "Node `review_execution` mentioned in docs but not found in nodes/ or builtins.",
|
|
96
|
+
"file": "01_introduction.md",
|
|
97
|
+
"line": 276
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"severity": "warning",
|
|
101
|
+
"category": "node",
|
|
102
|
+
"message": "Node `initialize_runtime_context` mentioned in docs but not found in nodes/ or builtins.",
|
|
103
|
+
"file": "02_getting_started.md",
|
|
104
|
+
"line": 676
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"severity": "warning",
|
|
108
|
+
"category": "node",
|
|
109
|
+
"message": "Node `query_scene_context` mentioned in docs but not found in nodes/ or builtins.",
|
|
110
|
+
"file": "02_getting_started.md",
|
|
111
|
+
"line": 677
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"severity": "warning",
|
|
115
|
+
"category": "node",
|
|
116
|
+
"message": "Node `plan_scene` mentioned in docs but not found in nodes/ or builtins.",
|
|
117
|
+
"file": "02_getting_started.md",
|
|
118
|
+
"line": 678
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"severity": "warning",
|
|
122
|
+
"category": "node",
|
|
123
|
+
"message": "Node `transaction_manager` mentioned in docs but not found in nodes/ or builtins.",
|
|
124
|
+
"file": "06_backend_architecture.md",
|
|
125
|
+
"line": 741
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"severity": "warning",
|
|
129
|
+
"category": "node",
|
|
130
|
+
"message": "Node `validation_engine` mentioned in docs but not found in nodes/ or builtins.",
|
|
131
|
+
"file": "06_backend_architecture.md",
|
|
132
|
+
"line": 741
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"severity": "warning",
|
|
136
|
+
"category": "node",
|
|
137
|
+
"message": "Node `runtime_constraints` mentioned in docs but not found in nodes/ or builtins.",
|
|
138
|
+
"file": "06_backend_architecture.md",
|
|
139
|
+
"line": 741
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"severity": "warning",
|
|
143
|
+
"category": "node",
|
|
144
|
+
"message": "Node `rollback_errors` mentioned in docs but not found in nodes/ or builtins.",
|
|
145
|
+
"file": "06_backend_architecture.md",
|
|
146
|
+
"line": 768
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"known_node_ids": [
|
|
150
|
+
"Console Sink",
|
|
151
|
+
"Data Processor",
|
|
152
|
+
"Dropdown_Selector",
|
|
153
|
+
"File Loader",
|
|
154
|
+
"For Each",
|
|
155
|
+
"Get Variable",
|
|
156
|
+
"List Append",
|
|
157
|
+
"Sequencer",
|
|
158
|
+
"Set Variable",
|
|
159
|
+
"Two Way Switch",
|
|
160
|
+
"While Loop",
|
|
161
|
+
"add_integers",
|
|
162
|
+
"blender_action_bake_animation",
|
|
163
|
+
"blender_action_custom",
|
|
164
|
+
"blender_action_export_alembic",
|
|
165
|
+
"blender_action_export_fbx",
|
|
166
|
+
"blender_action_export_gltf",
|
|
167
|
+
"blender_action_export_obj",
|
|
168
|
+
"blender_action_export_usd",
|
|
169
|
+
"blender_action_import_alembic",
|
|
170
|
+
"blender_action_import_fbx",
|
|
171
|
+
"blender_action_import_gltf",
|
|
172
|
+
"blender_action_import_obj",
|
|
173
|
+
"blender_action_new_blend",
|
|
174
|
+
"blender_action_open_blend",
|
|
175
|
+
"blender_action_render",
|
|
176
|
+
"blender_action_save_blend",
|
|
177
|
+
"blender_action_scene_info",
|
|
178
|
+
"blender_action_set_frame_range",
|
|
179
|
+
"blender_action_set_render_settings",
|
|
180
|
+
"blender_get_action_result",
|
|
181
|
+
"blender_headless",
|
|
182
|
+
"compare",
|
|
183
|
+
"console_print",
|
|
184
|
+
"create_dictionary",
|
|
185
|
+
"create_folder",
|
|
186
|
+
"create_list",
|
|
187
|
+
"deadline_blender_submit",
|
|
188
|
+
"deadline_houdini_submit",
|
|
189
|
+
"deadline_job_status",
|
|
190
|
+
"deadline_maya_submit",
|
|
191
|
+
"delay_timer",
|
|
192
|
+
"example_random_float",
|
|
193
|
+
"file_append",
|
|
194
|
+
"file_write",
|
|
195
|
+
"for_loop",
|
|
196
|
+
"get_dict_value",
|
|
197
|
+
"get_list_item",
|
|
198
|
+
"group_in",
|
|
199
|
+
"group_node",
|
|
200
|
+
"group_out",
|
|
201
|
+
"houdini_action_bake_animation",
|
|
202
|
+
"houdini_action_custom",
|
|
203
|
+
"houdini_action_export_alembic",
|
|
204
|
+
"houdini_action_export_camera_alembic",
|
|
205
|
+
"houdini_action_export_fbx",
|
|
206
|
+
"houdini_action_import_alembic",
|
|
207
|
+
"houdini_action_import_camera",
|
|
208
|
+
"houdini_action_import_fbx",
|
|
209
|
+
"houdini_action_import_obj",
|
|
210
|
+
"houdini_action_new_hip",
|
|
211
|
+
"houdini_action_open_hip",
|
|
212
|
+
"houdini_action_save_hip",
|
|
213
|
+
"houdini_action_scene_info",
|
|
214
|
+
"houdini_action_set_frame_range",
|
|
215
|
+
"houdini_get_action_result",
|
|
216
|
+
"houdini_headless",
|
|
217
|
+
"houdini_scene_snapshot",
|
|
218
|
+
"http_request",
|
|
219
|
+
"if_condition",
|
|
220
|
+
"list_directory",
|
|
221
|
+
"list_images_recursive",
|
|
222
|
+
"list_item_picker",
|
|
223
|
+
"list_length",
|
|
224
|
+
"logical_gate",
|
|
225
|
+
"loop_body",
|
|
226
|
+
"math_add",
|
|
227
|
+
"math_divide",
|
|
228
|
+
"math_modulo",
|
|
229
|
+
"math_multiply",
|
|
230
|
+
"math_subtract",
|
|
231
|
+
"maya_action_assign_material",
|
|
232
|
+
"maya_action_bake_animation",
|
|
233
|
+
"maya_action_create_render_layer",
|
|
234
|
+
"maya_action_custom",
|
|
235
|
+
"maya_action_export_alembic",
|
|
236
|
+
"maya_action_export_camera_alembic",
|
|
237
|
+
"maya_action_export_fbx",
|
|
238
|
+
"maya_action_import_alembic",
|
|
239
|
+
"maya_action_import_camera",
|
|
240
|
+
"maya_action_import_fbx",
|
|
241
|
+
"maya_action_import_obj",
|
|
242
|
+
"maya_action_list_references",
|
|
243
|
+
"maya_action_new_scene",
|
|
244
|
+
"maya_action_open_scene",
|
|
245
|
+
"maya_action_playblast",
|
|
246
|
+
"maya_action_reference_alembic",
|
|
247
|
+
"maya_action_reference_scene",
|
|
248
|
+
"maya_action_save_scene",
|
|
249
|
+
"maya_action_scene_info",
|
|
250
|
+
"maya_action_set_aovs",
|
|
251
|
+
"maya_action_set_frame_range",
|
|
252
|
+
"maya_action_set_render_settings",
|
|
253
|
+
"maya_get_action_result",
|
|
254
|
+
"maya_headless",
|
|
255
|
+
"mcp_call_tool",
|
|
256
|
+
"mcp_list_tools",
|
|
257
|
+
"mcp_server_init",
|
|
258
|
+
"message_node",
|
|
259
|
+
"prism_add_integration",
|
|
260
|
+
"prism_build_entity",
|
|
261
|
+
"prism_change_project",
|
|
262
|
+
"prism_core_info",
|
|
263
|
+
"prism_core_init",
|
|
264
|
+
"prism_create_category",
|
|
265
|
+
"prism_create_entity",
|
|
266
|
+
"prism_create_playblast",
|
|
267
|
+
"prism_create_product_version",
|
|
268
|
+
"prism_create_project",
|
|
269
|
+
"prism_create_scene_from_preset",
|
|
270
|
+
"prism_eval",
|
|
271
|
+
"prism_get_aovs",
|
|
272
|
+
"prism_get_asset_by_name",
|
|
273
|
+
"prism_get_asset_type_by_name",
|
|
274
|
+
"prism_get_asset_types_by_project",
|
|
275
|
+
"prism_get_assets_by_project",
|
|
276
|
+
"prism_get_assets_by_type",
|
|
277
|
+
"prism_get_config",
|
|
278
|
+
"prism_get_current_scene",
|
|
279
|
+
"prism_get_departments",
|
|
280
|
+
"prism_get_entity_info",
|
|
281
|
+
"prism_get_entity_path",
|
|
282
|
+
"prism_get_export_path",
|
|
283
|
+
"prism_get_latest_product_path",
|
|
284
|
+
"prism_get_media",
|
|
285
|
+
"prism_get_media_versions",
|
|
286
|
+
"prism_get_plugin",
|
|
287
|
+
"prism_get_preset_scenes",
|
|
288
|
+
"prism_get_product_versions",
|
|
289
|
+
"prism_get_products",
|
|
290
|
+
"prism_get_project_by_name",
|
|
291
|
+
"prism_get_project_config_path",
|
|
292
|
+
"prism_get_scene_files",
|
|
293
|
+
"prism_get_scene_path",
|
|
294
|
+
"prism_get_sequence_by_project",
|
|
295
|
+
"prism_get_sequences_by_project",
|
|
296
|
+
"prism_get_shot_by_name",
|
|
297
|
+
"prism_get_shot_by_sequence",
|
|
298
|
+
"prism_get_shot_info",
|
|
299
|
+
"prism_get_shots",
|
|
300
|
+
"prism_get_shots_by_project_sequence",
|
|
301
|
+
"prism_get_shots_by_sequence",
|
|
302
|
+
"prism_get_tasks",
|
|
303
|
+
"prism_import_product",
|
|
304
|
+
"prism_list_plugins",
|
|
305
|
+
"prism_list_projects",
|
|
306
|
+
"prism_login_token",
|
|
307
|
+
"prism_monkey_patch",
|
|
308
|
+
"prism_open_scene",
|
|
309
|
+
"prism_popup",
|
|
310
|
+
"prism_register_callback",
|
|
311
|
+
"prism_save_scene_version",
|
|
312
|
+
"prism_send_cmd",
|
|
313
|
+
"prism_set_config",
|
|
314
|
+
"prism_studio_assign_project",
|
|
315
|
+
"prism_trigger_callback",
|
|
316
|
+
"prism_usd_department_layer_path",
|
|
317
|
+
"prism_usd_entity_path",
|
|
318
|
+
"prism_usd_sublayer_path",
|
|
319
|
+
"prism_usd_update_department_layer",
|
|
320
|
+
"prism_usd_update_sublayer",
|
|
321
|
+
"python_script",
|
|
322
|
+
"scene_intent_extractor",
|
|
323
|
+
"set_dict_value",
|
|
324
|
+
"string_concat",
|
|
325
|
+
"string_length",
|
|
326
|
+
"string_lowercase",
|
|
327
|
+
"string_replace",
|
|
328
|
+
"string_split",
|
|
329
|
+
"string_uppercase",
|
|
330
|
+
"variable_node",
|
|
331
|
+
"while_loop"
|
|
332
|
+
]
|
|
333
|
+
}
|