<div dir="ltr">Hi All, <div><br></div><div>it seems that this is currently not supported. </div><div><br></div><div>For this:</div><div><br></div><div><div>// [[Rcpp::export("L_tree")]]</div><div>NumericMatrix rogdf_tree_layout(GraphAttributes graph,</div>
<div><span class="" style="white-space:pre">    </span> double siblingDistance=20, double subtreeDistance=20,</div><div><span class="" style="white-space:pre">     </span> double levelDistance=50, double treeDistance=50,</div><div>
<span class="" style="white-space:pre">       </span> bool orthogonalLayout=false,</div><div><span class="" style="white-space:pre">      </span> Orientation orientation=topToBottom,</div><div><span class="" style="white-space:pre">      </span> TreeLayout::RootSelectionType selectRoot=TreeLayout::rootIsSource) {</div>
</div><div>...</div><div><br></div><div>where the last two arguments are enums, I get:</div><div><br></div><div><div>Warning messages:</div><div>1: Unable to parse C++ default value 'topToBottom' for argument orientation of function rogdf_tree_layout </div>
</div><div><div>2: Unable to parse C++ default value 'TreeLayout::rootIsSource' for argument selectRoot of function rogdf_tree_layout </div></div><div><br></div><div>and there are no default values in the generated R code.</div>
<div><br></div><div>Is there a workaround? Any chance of adding support for it? How hard do you think it is to support it?</div><div><br></div><div>Thanks, Best,</div><div>Gabor</div><div><br></div></div>