Adding Fields to Intermediate Nodes
As a node, an intermediate node can also carry fields, which are either:
based on values from the corresponding HOPEX object:
MetaAttributes
TaggedValues
Legattributes, or
computed with a macro
These fields are displayed on the intermediate nodes, but can be hidden.
Adding value-based fields to an intermediate node 
To add a value-based field on an intermediate node:
1. Access the GraphSet Definition properties.
2. Display its Path page.
3. In the GraphSubSet drop-down list, select the GraphSubSet concerned.
*Else directly access the GraphSubSet properties, see Displaying the GraphSubSet properties.
4. In the Path pane, select the row of the path that includes the intermediate node.
5. In the Ordered Intermediate Nodes pane, select the intermediate node for which you want to define a field.
6. In the Fields pane, click New .
The Creation of GraphSet Field Definition windows is displayed.
7. In the Local name field, modify the default name.
8. In the Field Definition Type drop-down list, select "Value".
9. Define the value type:
By default the value is based on a MetaAttribute.
If your value is TaggedValue-based, select taggedValue.
10. Depending on the value type:
in the MetaAttribute drop-down list, select the MetaAttribute you want to be displayed in the field.
in the TaggedValue field, click the right-oriented arrow and connect the TaggedValue you want to be displayed in the field.
11. Click OK.
Adding macro-based fields to an intermediate node 
Prerequisite:
For each macro-based field you have to create its implementing macro. This macro is based on the GetAttributeValue function:
GetAttributeValue(Object as MegaOject,AttributeID as Variant,Value As String)
Where:
Object is the object of which the attribute value is requested.
AttributeID is the absolute identifier of the attribute.
Value is the attribute value returned by the function, concerning this object.
Example: the "Scenario Flow - Get Content" macro computes the "Content" field for application flows.
With "~ycuIb8buOn)E[Conveyed Work Product]".
See examples:
To add a macro-based field on a node:
1. Display its Path page.
2. In the GraphSubSet drop-down list, select the GraphSubSet concerned.
*Else directly access the GraphSubSet properties, see Displaying the GraphSubSet properties.
3. In the Path pane, select the row of the path that includes the intermediate node.
4. In the Ordered Intermediate Nodes pane, select the intermediate node for which you want to define a field.
5. In the Fields pane, click New .
The Creation of GraphSet Field Definition windows is displayed.
6. In the Local name field, modify the default name.
7. In the Field Definition Type drop-down list, select "Computed".
8. In the Implementation field, click the right-oriented arrow and connect the macro that computes the field value.
The implementing macro is based on the GetAttributeValue function.
Example: the "Scenario Flow - Get Content" macro computes the "Content" field for application flows.
9. Define the MetaAttribute characteristics:
(optional) MetaAttribute Length
MetaAttribute Type (default value "String)
Example: "MegaIdentifier"
MetaAttribute Format (default value "Standard)
Example: "Object"
10. Click OK.
Example 1: graph based on the "Exchange Between Applications" GraphSet Definition
In the "Exchange Between Applications" graph, two fields are added to the Application Flow intermediate nodes:
"Content"
"Scenario"
The macros used to implement the "Content" and "Scenario" fields are:
the "Get Application Flow content.Implementation" macro
the "Get Owner Ressource Scenario.Implementation" macro
 
In the corresponding graph, the "Content" and "Scenario" fields can be displayed on each Application Flow intermediate node.
Example 2: graph based on the "Exchange and Content of an Application" GraphSet Definition
In the "Exchange and Content of an Application" graph, two fields ("scenario" and "content") are added to intermediate nodes of both "received flows" and "sent flows" paths between applications:
The "Scenario Flow - Get Content" macro computes the values for the "Content" fields from the "Conveyed Work Product" collection.
The "Scenario Flow - Get Scenario" macro computes the values for the "scenario" fields from the "Flow owner" collection.
The graph displays both "Content" and "Scenario" fields for each received/sent flow: