Using node templates in Algoreus
In Algoreus Genesis, you have the option to create node templates. Node templates are user-customized versions of a node, containing pre-set configurations, which you can reuse in different axons. Additionally, when configuring the node template, you can opt to lock specific properties.
You have the capability to both edit and delete node templates once created.
Node templates can be employed in axons in the same way as any other nodes.
Creating a Node Template
Here are the steps to create a node template:
In the Algoreus Genesis, hover over the node you'd like to utilize for your template. You'll notice three dots appearing.
Click on these three dots.
Click on Create Template.
The Create Template dialog box will then appear.
If you have deployed multiple versions of the node, select the one you wish to use as a template in the Choose Version field.
In the Template Name field, input your desired template name.
Continue to configure the remaining properties for the node.
Optionally, you can lock certain properties of the configuration to prevent them from being edited.
Click Add to save the template.
The newly created node template will appear in the node template area with an additional "T" icon, signifying that it's a template.
Editing a Node Template
After the creation of a node template, you can modify its properties. Nonetheless, modifications won't affect existing axons incorporating the node template as they were established with the artifacts defined in the node template at the time of axon creation.
To edit or delete a node template, follow these steps:
Hover over the node template you want to modify in the node palette. Three dots will appear.
Click on the three dots.
To alter the node properties, click on Edit Template.
Once you're done making changes to the node properties, click Save.
The modified node template will then appear in the node palette, ready for usage in axons.
Deleting a Node Template
On deleting a node template, it will disappear from the node palette and won't be available for axon usage. However, existing axons utilizing this node template won't be affected as they were created based on the artifacts defined at the time of axon creation.
To delete a node template, follow these steps:
Hover over the node template you intend to edit or delete in the node palette. Three dots will appear.
Click on the three dots.
Click on Delete Template.
The node template will then be eliminated from the node palette and will no longer be usable in axons.
Last updated