--- /dev/null
+
+{get_movement user_id=1538 offset=$offset listing_amount=$listing_amount}
+
+
+Graph<br>
+{ldelim}<br>
+ ### metadata ###<br>
+ @name="movment graph";<br>
+ @description=;<br>
+ @numNodes=;<br>
+ @numLinks={math equation="x+1" x=$listing_amount};<br>
+ @numPaths=0;<br>
+ @numPathLinks=0;<br>
+<br>
+
+ ### structural data ###<br>
+ @links=[<br>
+
+{foreach from=$get_movement name=grafnode item=movement}
+{if $smarty.foreach.grafnode.first}
+ {ldelim} @source={counter start=0}; @destination={counter}; {rdelim} ,<br>
+{/if}
+ {ldelim} @source={counter}; @destination={counter}; {rdelim} ,<br>
+{if $smarty.foreach.grafnode.last}
+ {ldelim} @source={counter}; @destination={counter assign=abc}{$abc}; {rdelim}<br>
+{/if}
+{/foreach}
+
+ ];<br>
+ @paths=;
+<br><br>
+ ### attribute data ###<br>
+ @enumerations=;<br>
+ @attributeDefinitions=<br>
+ [<br>
+ {ldelim}<br>
+ @name=$root;<br>
+ @type=bool;<br>
+ @default=|| false ||;<br>
+ @nodeValues=[ {ldelim} @id=0; @value=T; {rdelim} ];<br>
+ @linkValues=;<br>
+ @pathValues=;<br>
+ {rdelim},<br>
+
+ {ldelim}<br>
+ @name=$tree_link;<br>
+ @type=bool;<br>
+ @default=|| false ||;<br>
+ @nodeValues=;<br>
+ @linkValues=[<br>
+{foreach from=$get_movement name=treelink item=movement}
+{if $smarty.foreach.treelink.first} {ldelim} @id={math equation="x-1" x=$smarty.foreach.treelink.iteration}; @value=T; {rdelim}<br>{/if}
+ {ldelim} @id={$smarty.foreach.treelink.iteration}; @value=T; {rdelim},<br>
+{if $smarty.foreach.treelink.last} {ldelim} @id={math equation="x+1" x=$smarty.foreach.treelink.total}; @value=T; {rdelim}<br>{/if}
+{/foreach}
+ ];<br>
+ @pathValues=;<br>
+ {rdelim},<br>
+
+ {ldelim}<br>
+ @name=$node_id;<br>
+ @type=int;<br>
+ @default=;<br>
+ @nodeValues=[ <br>
+{math equation="x*2" x=$listing_amount assign=list}
+{get_movement user_id=1538 offset=$offset listing_amount=$list}
+ {foreach from=$get_movement name=graf item=movement}
+{if $smarty.foreach.graf.first} {ldelim} @id={math equation="x-1" x=$smarty.foreach.graf.iteration}; @value={$movement.node_id}; {rdelim}<br>{/if}
+ {ldelim} @id={$smarty.foreach.graf.iteration}; @value={$movement.node_id}; {rdelim},<br>
+{if $smarty.foreach.graf.last} {ldelim} @id={math equation="x+1" x=$smarty.foreach.graf.total}; @value={$movement.node_id}; {rdelim}<br>{/if}
+{/foreach}
+ ];<br>
+ @linkValues=;<br>
+ @pathValues=;<br>
+ {rdelim}<br>
+ ];<br>
+ @qualifiers=[<br>
+ {ldelim}<br>
+ @type=$spanning_tree;<br>
+ @name=$sample_spanning_tree;<br>
+ @description=;<br>
+ @attributes=[<br>
+ {ldelim}@attribute=0;@alias=$root;{rdelim},<br>
+ {ldelim}@attribute=1;@alias=$tree_link;{rdelim}<br>
+ ];<br>
+ {rdelim}<br>
+ ];<br>
+<br>
+ ### visualization hints ###<br>
+ @filters=;<br>
+ @selectors=;<br>
+ @displays=;<br>
+ @presentations=;<br>
+<br>
+ ### interface hints ###<br>
+ @presentationMenus=;<br>
+ @displayMenus=;<br>
+ @selectorMenus=;<br>
+ @filterMenus=;<br>
+ @attributeMenus=;<br>
+{rdelim}
+<hr>
+ @numNodes={math equation="x+1" x=$abc}
+