<?xml version="1.0" encoding="Windows-1255" ?><Rule name="isCyclicConnection" modifier="restrictive" scope="public" sortGroup="true" id="core.gml2:isCyclicConnection" sort="27" urn="core.gml2:rules.connection.isCyclicConnection.xml" toc="\Rules\Connection rules"><Summary>Tests whether adding a connection between the given source and
		target plugs will create an invalid cycle.</Summary><Parameters signature="restrictive rule::&lt;div style=&quot;padding:6 0 0 16&quot;&gt;&lt;b&gt;isCyclicConnection&lt;/b&gt;(&lt;i&gt;unit&lt;/i&gt;, &lt;i&gt;board&lt;/i&gt;, &lt;i&gt;source&lt;/i&gt;, &lt;i&gt;target&lt;/i&gt;) &amp;rarr; Boolean&lt;/div&gt;"><Param name="unit" type="core.gml2:Unit!" typeRef="&lt;q ref=&quot;core.gml2:Unit&quot;&gt;Unit&lt;/q&gt;">The unit classifier.</Param><Param name="board" type="core.dev:IBoard!" typeRef="&lt;q ref=&quot;core.dev:IBoard&quot;&gt;IBoard&lt;/q&gt;">The board classifier.</Param><Param name="source" type="core.gml2:Plug!" typeRef="&lt;q ref=&quot;core.gml2:Plug&quot;&gt;Plug&lt;/q&gt;">The source plug classifier.</Param><Param name="target" type="core.gml2:Plug!" typeRef="&lt;q ref=&quot;core.gml2:Plug&quot;&gt;Plug&lt;/q&gt;">The target plug classifier.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier><Classifier name="ptarget" type="gml2:Element" expr="target.parent">The target parent classifier.</Classifier><Classifier name="psource" type="gml2:Element" expr="source.parent">The source parent classifier.</Classifier><Classifier name="target" type="gml2:Plug" expr="target"></Classifier><Classifier name="source" type="gml2:Plug" expr="source"></Classifier></Classifiers><Return type="Boolean">Indicates whether the candidate connection creates an invalid cyclic connection.</Return><Remarks>&lt;h2&gt;Dependencies&lt;/h2&gt;&lt;table class=&quot;WHITE&quot; style=&quot;width:auto; margin-top:0&quot; cellspacing=&quot;1&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;&lt;i&gt;pre-condition:&lt;/i&gt; &lt;/td&gt;&lt;td class=H&gt;&lt;q ref=&quot;core.gml2:canConnectFrom&quot;&gt;canConnectFrom&lt;/q&gt; == true &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=V&gt;&lt;i&gt;pre-condition:&lt;/i&gt; &lt;/td&gt;&lt;td&gt;&lt;q ref=&quot;core.gml2:canConnectTo&quot;&gt;canConnectTo&lt;/q&gt; == true &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
   	&lt;h2&gt;Behavior&lt;/h2&gt;
   	Use this rule to test for and prevent invalid cyclic connections.
   	The behavior should be to look for cyclic connections that may be created if the given
   	source and target plugs are connected.
   	Whether such cyclic connections (if found) are allowed depends on the type of elements that are connected.
   	By default, all cyclic connections are allowed.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Rule>