class="methodSignature">&lt;X&gt;&nbsp;<a href="Subgraph.html" title="interface in jakarta.persistence">Subgraph</a>&lt;X&gt;&nbsp;addKeySubgraph&#8203;(<a href="metamodel/Attribute.html" title="interface in jakarta.persistence.metamodel">Attribute</a>&lt;<a href="Subgraph.html" title="type parameter in Subgraph">T</a>,&#8203;X&gt;&nbsp;attribute)</pre>
<div class="block">Add a node to the graph that corresponds to a map key
 that is a managed type. This allows for construction of
 multinode entity graphs t