Editing the Graph with Graph Designer

The OpenVX* plugin for Eclipse includes Graph Designer - a graphical widget that provides an intuitive and visual way for graph creation and visualization. It also enables graph verification and execution.

Any Graph Designer instance is associated with a graphml file. The graphml file can be displayed in a textual view using a Text XML Editor or in a graphical view with the Graph Designer.  

Opening the Graph Designer

To open a new Graph Designer window:

  • Double-click on a graphml file in the Project Explorer

  • A new tab with a Graph Designer is opened. If the Graph Designer associated with the graphml is already opened, it comes up

Multiple Graph Designers can be opened in the same Eclipse instance.

Adding a New Kernel Instance  

To add new kernel instance to a graph double click on the kernel that you want to add to the graph in the Kernel List Window, and then click in the Graph Designer multiple times. A new kernel instance is created for any click.

Press the ESC button to stop creating kernel instances.

Connecting Kernel Instances

To connect the kernel instances that are added to the graph with the Graph Designer:

  • Select an output port to start drawing an edge

  • Drag the end of the edge and connect it to an input port of the same vx_type

If the edge is not created it probably means that the vx types of the output port and the input port are different.

The following image shows a sample OpenVX graph created in the Graph Designer:

Setting Properties for a Kernel Instances

To set properties for a kernel instance, do the following:

  • Select a node in the Graph Designer

  • All the node primitives and related properties are presented in the Property Window:

  • Change the desired property.

Since VAD utilizes the rules specified in the KernelParameters.xml and employs a smart propagation scheme, often only a small set of input primitive properties must be set to resolve all required input and output values for the graph.

Optimization Notice: 
For more complete information about compiler optimizations, see our Optimization Notice.