Skip to content
Snippets Groups Projects
Commit bfd6271d authored by Octave Perrin's avatar Octave Perrin
Browse files

python binds correct syntax

parent 55d4c85f
No related branches found
No related tags found
No related merge requests found
Pipeline #59495 passed
...@@ -146,8 +146,8 @@ void init_GraphView(py::module& m) { ...@@ -146,8 +146,8 @@ void init_GraphView(py::module& m) {
When a Node is removed, the clone() method automatically finds the next valid parent in line, going backward in When a Node is removed, the clone() method automatically finds the next valid parent in line, going backward in
the graph and connects it if that makes sense without ambiguity (effectively treating the removed Node as an the graph and connects it if that makes sense without ambiguity (effectively treating the removed Node as an
identity operation). identity operation).
:param: cloneNode Callback function to clone a node :param cloneNode Callback function to clone a node
:type: cloneNode Node :type cloneNode Node
:return: Cloned GraphView :return: Cloned GraphView
:rtype: GraphView :rtype: GraphView
)mydelimiter") )mydelimiter")
...@@ -160,8 +160,8 @@ void init_GraphView(py::module& m) { ...@@ -160,8 +160,8 @@ void init_GraphView(py::module& m) {
.def("get_node", &GraphView::getNode, py::arg("node_name"), .def("get_node", &GraphView::getNode, py::arg("node_name"),
R"mydelimiter( R"mydelimiter(
Get the Node with the corresponding name if it is in the GraphView. Get the Node with the corresponding name if it is in the GraphView.
:param: node_name The name of the Node :param node_name The name of the Node
:type: string :type string
:return: The Node of the GraphView with corresponding name :return: The Node of the GraphView with corresponding name
:rtype: Node :rtype: Node
)mydelimiter") )mydelimiter")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment