Components

Components (nodes) are most important elements of graph. They can read, write or transform data from one form to another, every component has some input or output port(s) or both, component read or write data through them from to another component. If a component is initiative or terminated then has just input or output port(s). Two components is connected by edge that is transmitting data in one direction from output port to input port and every edge has internal buffer that stores data. Each port has associated metadata which describe structure of data coming from that port (if Input) or data which can be sent through port (Output)

When one component is done with processing data record the record is immediately sent to following Node and at one point in time there are as many records processed as there are nodes – thus level of parallelism corresponds to graph's topology.


Xml mapping example is bellow, more information is in sections components and in examples.

<Node id="COMPONENT_ID" type="COMPONENT_TYPE" attributex="valuex" attributey="valuey"/>

Note: In string parameters for characters that are impossible to enter directly, there are several escape sequences: \\, \n, \t, \r, \”, \f, \b. So be carefully when using “\” eg. parameter file=“c:\temp” will be interpreted as “c: temp” while “\t” is interpreted as tabulator; to get “c:\temp” write file=“c:\\temp”.

graph_elements/components.txt · Last modified: 2009/09/16 12:27 (external edit)
Back to top
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0