From 3e8a1741ed114865e3e47b88354d6e2d9dd456f6 Mon Sep 17 00:00:00 2001 From: jackparmer Date: Wed, 11 Oct 2023 02:58:07 +0000 Subject: [PATCH 1/4] update: rename prologix nodes --- .../PROLOGIX_ADDR/a1-[autogen]/docstring.txt | 16 + .../PROLOGIX_AUTO/a1-[autogen]/docstring.txt | 18 + .../PROLOGIX_HELP/a1-[autogen]/docstring.txt | 16 + .../PROLOGIX_MODE/a1-[autogen]/docstring.txt | 32 ++ .../PROLOGIX_VER/a1-[autogen]/docstring.txt | 16 + .../SCPI_WRITE/a1-[autogen]/docstring.txt | 16 + .../examples/EX1/app.json | 311 +++++++----------- .../a1-[autogen]/docstring.txt | 11 + .../DF_2_NP/examples/EX1/app.json | 235 +++++-------- .../DF_2_ORDERED_TRIPLE/examples/EX1/app.json | 273 ++++++--------- .../a1-[autogen]/docstring.txt | 11 + .../a1-[autogen]/docstring.txt | 18 + .../TEXT_VIEW/a1-[autogen]/docstring.txt | 9 +- .../TEXT_VIEW/a1-[autogen]/python_code.txt | 13 +- .../PLOTLY/LINE/examples/EX1/app.json | 238 +++++--------- .../PLOTLY/TABLE/examples/EX1/app.json | 202 ++++-------- nodeSidebar.json | 11 +- 17 files changed, 608 insertions(+), 838 deletions(-) create mode 100644 docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_ADDR/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_AUTO/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_HELP/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_MODE/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_VER/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/TRANSFORMERS/MATRIX_MANIPULATION/TRANSPOSE_MATRIX/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/TRANSFORMERS/TYPE_CASTING/MATRIX_2_VECTOR/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/TRANSFORMERS/TYPE_CASTING/VECTOR_2_MATRIX/a1-[autogen]/docstring.txt diff --git a/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_ADDR/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_ADDR/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..0a108c9064 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_ADDR/a1-[autogen]/docstring.txt @@ -0,0 +1,16 @@ +The PROLOGIX_ADDR node sets the GPIB address of an instrument using the Prologix USB-to-GPIB or USB-to-Ethernet adapter. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + TextBlob + Response from the Prologix USB-to-GPIB controller. diff --git a/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_AUTO/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_AUTO/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..bc574fa77e --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_AUTO/a1-[autogen]/docstring.txt @@ -0,0 +1,18 @@ +The PROLOGIX_AUTO node toggles "Read-After-Write" mode on or off. + + When Read-After-Write is on, the Prologix USB-to-GPIB controller automatically reads a bench-top instrument's response after writing a command to it. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + TextBlob + Response from the Prologix USB-to-GPIB controller. diff --git a/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_HELP/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_HELP/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..0e48a32202 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_HELP/a1-[autogen]/docstring.txt @@ -0,0 +1,16 @@ +The PROLOGIX_HELP command returns a list of available Prologix USB-to-GPIB firmware commands. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + TextBlob + A list of available Prologix USB-to-GPIB firmware commands diff --git a/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_MODE/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_MODE/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..8e69e2ebae --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_MODE/a1-[autogen]/docstring.txt @@ -0,0 +1,32 @@ +The PROLOGIX_MODE node sets the mode of the Prologix USB-to-GPIB controller - 1 for CONTROLLER mode and 0 for DEVICE mode. + + From the Prologix manual: + + In Controller mode, the GPIB-USB Controller acts as the Controller-In-Charge (CIC) + on the GPIB bus. When the controller receives a command over the USB port + terminated by the USB terminator – CR (ASCII 13) or LF (ASCII 10) – it addresses the + GPIB instrument at the currently specified address (See ++addr command) to listen, and + passes along the received data. + + In Device mode, Prologix GPIB-USB Controller acts as another peripheral on the GPIB + bus. In this mode, the controller can act as a GPIB TALKER or GPIB LISTENER + only. Since Prologix GPIB-USB Controller is not the Controller-In-Charge while in this + mode, it expects to receive commands from a GPIB controller. When Device mode is + enabled Prologix GPIB-USB controller configures itself as a GPIB Listener. All data + received by the controller over the GPIB port is passed along to the USB port without + buffering. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + TextBlob + Response from the Prologix USB-to-GPIB controller. diff --git a/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_VER/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_VER/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..b776214225 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/GPIB/PROLOGIX/PROLOGIX_VER/a1-[autogen]/docstring.txt @@ -0,0 +1,16 @@ +The PROLOGIX_VER command queries the Prologix USB-to-GPIB firmware version. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + TextBlob + The Prologix controller available commands. diff --git a/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..aeb31f70b6 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt @@ -0,0 +1,16 @@ +The SCPI node writes a SCPI command to a connected bench-top instrument and returns the result. + + Inputs + ------ + default: DataContainer + Any DataContainer - likely connected to the output of the OPEN_SERIAL node. + + Parameters + ---------- + connection: Serial + The open serial connection with the instrument. + + Returns + ------- + Scalar|TextBlob + The return value from the bench-top instrument as a Scalar or TextBlob. diff --git a/docs/nodes/TRANSFORMERS/CALCULUS/DOUBLE_INDEFINITE_INTEGRAL/examples/EX1/app.json b/docs/nodes/TRANSFORMERS/CALCULUS/DOUBLE_INDEFINITE_INTEGRAL/examples/EX1/app.json index f1e83f3672..177776b0da 100644 --- a/docs/nodes/TRANSFORMERS/CALCULUS/DOUBLE_INDEFINITE_INTEGRAL/examples/EX1/app.json +++ b/docs/nodes/TRANSFORMERS/CALCULUS/DOUBLE_INDEFINITE_INTEGRAL/examples/EX1/app.json @@ -1,138 +1,6 @@ { "rfInstance": { "nodes": [ - { - "width": 208, - "height": 96, - "id": "R_DATASET-63e04d25-9599-41b6-ba5e-3df0c3245a75", - "type": "GENERATORS", - "data": { - "id": "R_DATASET-63e04d25-9599-41b6-ba5e-3df0c3245a75", - "label": "R DATASET", - "func": "R_DATASET", - "type": "GENERATORS", - "ctrls": { - "dataset_key": { - "type": "select", - "default": "iris", - "options": [ - "ability.cov", - "airmiles", - "AirPassengers", - "airquality", - "anscombe", - "attenu", - "attitude", - "austres", - "BJsales", - "BOD", - "cars", - "ChickWeight", - "chickwts", - "co2", - "crimtab", - "discoveries", - "DNase", - "esoph", - "euro", - "EuStockMarkets", - "faithful", - "Formaldehyde", - "freeny", - "HairEyeColor", - "Harman23", - "Harman74", - "Indometh", - "infert", - "InsectSprays", - "iris", - "iris3", - "islands", - "JohnsonJohnson", - "LakeHuron", - "LifeCycleSavings", - "Loblolly", - "longley", - "lynx", - "morley", - "mtcars", - "nhtemp", - "Nile", - "nottem", - "npk", - "occupationalStatus", - "Orange", - "OrchardSprays", - "PlantGrowth", - "precip", - "presidents", - "pressure", - "Puromycin", - "quakes", - "randu", - "rivers", - "rock", - "Seatbelts", - "sleep", - "stackloss", - "sunspot.month", - "sunspot.year", - "sunspots", - "swiss", - "Theoph", - "Titanic", - "ToothGrowth", - "treering", - "trees", - "UCBAdmissions", - "UKDriverDeaths", - "UKgas", - "USAccDeaths", - "USArrests", - "USJudgeRatings", - "USPersonalExpenditure", - "VADeaths", - "volcano", - "warpbreaks", - "women", - "WorldPhones", - "WWWusage" - ], - "desc": null, - "functionName": "R_DATASET", - "param": "dataset_key", - "value": "DNase" - } - }, - "initCtrls": {}, - "outputs": [ - { - "name": "default", - "id": "default", - "type": "DataFrame", - "desc": "A DataContainer object containing the retrieved pandas DataFrame." - } - ], - "pip_dependencies": [ - { - "name": "rdatasets", - "v": "0.1.0" - } - ], - "path": "PYTHON/nodes/GENERATORS/SAMPLE_DATASETS/R_DATASET/R_DATASET.py", - "selected": false - }, - "position": { - "x": -974.2422309907095, - "y": -820.0294878929864 - }, - "selected": false, - "positionAbsolute": { - "x": -974.2422309907095, - "y": -820.0294878929864 - }, - "dragging": true - }, { "width": 160, "height": 160, @@ -192,12 +60,12 @@ }, "position": { "x": -717.6599601242405, - "y": -860.1600465620575 + "y": -861.3087449170545 }, "selected": false, "positionAbsolute": { "x": -717.6599601242405, - "y": -860.1600465620575 + "y": -861.3087449170545 }, "dragging": true }, @@ -218,7 +86,7 @@ "desc": "Number of columns of the 3 matrices generated by reshaping the x, y, and z columns of the OrderedTriple.", "functionName": "DOUBLE_INDEFINITE_INTEGRAL", "param": "width", - "value": 16 + "value": 25 }, "height": { "type": "int", @@ -226,7 +94,7 @@ "desc": "Number of rows of the 3 matrices generated by reshaping the x, y, and z columns of the OrderedTriple.", "functionName": "DOUBLE_INDEFINITE_INTEGRAL", "param": "height", - "value": 11 + "value": 40 } }, "initCtrls": {}, @@ -251,12 +119,12 @@ "selected": false }, "position": { - "x": -433.28611846856074, + "x": -430.9887217585666, "y": -857.9246665999526 }, "selected": false, "positionAbsolute": { - "x": -433.28611846856074, + "x": -430.9887217585666, "y": -857.9246665999526 }, "dragging": true @@ -314,8 +182,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 384, + "height": 288, "id": "TEXT_VIEW-44511591-de2f-450e-aca7-d44452751448", "type": "VISUALIZERS", "data": { @@ -349,8 +217,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "SURFACE3D-01e54d50-c2a1-47cf-bb5f-e7dc68a39281", "type": "VISUALIZERS", "data": { @@ -378,28 +246,28 @@ } ], "path": "PYTHON/nodes/VISUALIZERS/PLOTLY/SURFACE3D/SURFACE3D.py", - "selected": false + "selected": true }, "position": { - "x": 143.23035742089172, - "y": -849.1302089066567 + "x": 155.23035742089172, + "y": -858.1302089066567 }, - "selected": false, + "selected": true, "positionAbsolute": { - "x": 143.23035742089172, - "y": -849.1302089066567 + "x": 155.23035742089172, + "y": -858.1302089066567 }, "dragging": true }, { - "width": 225, - "height": 226, - "id": "MATRIX_VIEW-9602e385-cc42-40d8-9c19-c2fd3164951c", + "width": 380, + "height": 293, + "id": "TABLE-7148044d-863f-4882-bfc9-1c35b85a1742", "type": "VISUALIZERS", "data": { - "id": "MATRIX_VIEW-9602e385-cc42-40d8-9c19-c2fd3164951c", - "label": "MATRIX VIEW", - "func": "MATRIX_VIEW", + "id": "TABLE-7148044d-863f-4882-bfc9-1c35b85a1742", + "label": "TABLE", + "func": "TABLE", "type": "VISUALIZERS", "ctrls": {}, "initCtrls": {}, @@ -407,9 +275,9 @@ { "name": "default", "id": "default", - "type": "OrderedPair|Matrix", + "type": "OrderedTriple|OrderedPair|DataFrame|Vector", "multiple": false, - "desc": null + "desc": "the DataContainer to be visualized" } ], "outputs": [ @@ -417,63 +285,116 @@ "name": "default", "id": "default", "type": "Plotly", - "desc": "the DataContainer containing visualization of the input in matrix format" + "desc": "the DataContainer containing Plotly Table visualization" } ], - "path": "PYTHON/nodes/VISUALIZERS/DATA_STRUCTURE/MATRIX_VIEW/MATRIX_VIEW.py", + "path": "PYTHON/nodes/VISUALIZERS/PLOTLY/TABLE/TABLE.py", "selected": false }, "position": { - "x": -132.2027860677881, - "y": -630.2566818451229 + "x": -545.787793504827, + "y": -631.9942674910868 }, "selected": false, "positionAbsolute": { - "x": -132.2027860677881, - "y": -630.2566818451229 + "x": -545.787793504827, + "y": -631.9942674910868 }, "dragging": true }, { - "width": 225, - "height": 226, - "id": "TABLE-7148044d-863f-4882-bfc9-1c35b85a1742", - "type": "VISUALIZERS", + "width": 208, + "height": 96, + "id": "MATRIX-7136a21d-9bd8-4fb5-8832-80c527d9036c", + "type": "GENERATORS", "data": { - "id": "TABLE-7148044d-863f-4882-bfc9-1c35b85a1742", - "label": "TABLE", - "func": "TABLE", - "type": "VISUALIZERS", + "id": "MATRIX-7136a21d-9bd8-4fb5-8832-80c527d9036c", + "label": "MATRIX", + "func": "MATRIX", + "type": "GENERATORS", + "ctrls": { + "row": { + "type": "int", + "default": 2, + "desc": "number of rows", + "overload": null, + "functionName": "MATRIX", + "param": "row", + "value": 1000 + }, + "column": { + "type": "int", + "default": 2, + "desc": "number of columns", + "overload": null, + "functionName": "MATRIX", + "param": "column", + "value": 3 + } + }, + "initCtrls": {}, + "outputs": [ + { + "name": "default", + "id": "default", + "type": "Matrix", + "desc": "randomly generated matrix" + } + ], + "path": "GENERATORS/SIMULATIONS/MATRIX/MATRIX.py", + "selected": false + }, + "position": { + "x": -1284.7040612581184, + "y": -830.3249451717165 + }, + "selected": false, + "positionAbsolute": { + "x": -1284.7040612581184, + "y": -830.3249451717165 + }, + "dragging": true + }, + { + "width": 160, + "height": 160, + "id": "MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9e", + "type": "TRANSFORMERS", + "data": { + "id": "MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9e", + "label": "MAT 2 DF", + "func": "MAT_2_DF", + "type": "TRANSFORMERS", "ctrls": {}, "initCtrls": {}, "inputs": [ { "name": "default", "id": "default", - "type": "OrderedTriple|OrderedPair|DataFrame|Vector", + "type": "Matrix", "multiple": false, - "desc": "the DataContainer to be visualized" + "desc": "The input matrix to which we apply the conversion to." } ], "outputs": [ { "name": "default", "id": "default", - "type": "Plotly", - "desc": "the DataContainer containing Plotly Table visualization" + "type": "DataFrame", + "desc": "The dataframe result from the conversion of the input." } ], - "path": "PYTHON/nodes/VISUALIZERS/PLOTLY/TABLE/TABLE.py", + "path": "TRANSFORMERS/TYPE_CASTING/MAT_2_DF/MAT_2_DF.py", "selected": false }, "position": { - "x": -545.787793504827, - "y": -631.9942674910868 + "x": -975.0041797428814, + "y": -860.8336298362282 }, "selected": false, "positionAbsolute": { - "x": -545.787793504827, - "y": -631.9942674910868 + "x": -975.0041797428814, + "y": -860.8336298362282 }, "dragging": true } @@ -486,13 +407,6 @@ "targetHandle": "_", "id": "reactflow__edge-DOUBLE_INDEFINITE_INTEGRAL-3f53f6cd-dea7-4216-a9ca-b1678e4e1659default-TEXT-7d06c267-4df4-46cb-955a-590364ffbe7f_" }, - { - "source": "R_DATASET-63e04d25-9599-41b6-ba5e-3df0c3245a75", - "sourceHandle": "default", - "target": "DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5a", - "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-63e04d25-9599-41b6-ba5e-3df0c3245a75default-DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5adefault" - }, { "source": "DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5a", "sourceHandle": "default", @@ -507,14 +421,6 @@ "targetHandle": "default", "id": "reactflow__edge-DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5adefault-TABLE-7148044d-863f-4882-bfc9-1c35b85a1742default" }, - { - "source": "DOUBLE_INDEFINITE_INTEGRAL-3f53f6cd-dea7-4216-a9ca-b1678e4e1659", - "sourceHandle": "default", - "target": "MATRIX_VIEW-9602e385-cc42-40d8-9c19-c2fd3164951c", - "targetHandle": "default", - "id": "reactflow__edge-DOUBLE_INDEFINITE_INTEGRAL-3f53f6cd-dea7-4216-a9ca-b1678e4e1659default-MATRIX_VIEW-9602e385-cc42-40d8-9c19-c2fd3164951cdefault", - "selected": false - }, { "source": "DOUBLE_INDEFINITE_INTEGRAL-3f53f6cd-dea7-4216-a9ca-b1678e4e1659", "sourceHandle": "default", @@ -528,6 +434,20 @@ "target": "TEXT_VIEW-44511591-de2f-450e-aca7-d44452751448", "targetHandle": "default", "id": "reactflow__edge-TEXT-7d06c267-4df4-46cb-955a-590364ffbe7fdefault-TEXT_VIEW-44511591-de2f-450e-aca7-d44452751448default" + }, + { + "source": "MATRIX-7136a21d-9bd8-4fb5-8832-80c527d9036c", + "sourceHandle": "default", + "target": "MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9e", + "targetHandle": "default", + "id": "reactflow__edge-MATRIX-7136a21d-9bd8-4fb5-8832-80c527d9036cdefault-MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9edefault" + }, + { + "source": "MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9e", + "sourceHandle": "default", + "target": "DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5a", + "targetHandle": "default", + "id": "reactflow__edge-MAT_2_DF-5188bea2-1358-429d-9027-37a7608d2e9edefault-DF_2_ORDERED_TRIPLE-9187e7e2-5b69-4f50-92c2-89e9ad32eb5adefault" } ], "viewport": { @@ -535,5 +455,6 @@ "y": 226.88940714410813, "zoom": 0.5 } - } + }, + "textNodes": [] } \ No newline at end of file diff --git a/docs/nodes/TRANSFORMERS/MATRIX_MANIPULATION/TRANSPOSE_MATRIX/a1-[autogen]/docstring.txt b/docs/nodes/TRANSFORMERS/MATRIX_MANIPULATION/TRANSPOSE_MATRIX/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..ef6e9daeee --- /dev/null +++ b/docs/nodes/TRANSFORMERS/MATRIX_MANIPULATION/TRANSPOSE_MATRIX/a1-[autogen]/docstring.txt @@ -0,0 +1,11 @@ +The TRANSPOSE_MATRIX node takes an input 2D matrix and transposes it. + + Inputs + ------ + a : Matrix + The input matrix to be transposed + + Returns + ------- + Matrix + The transposed matrix diff --git a/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_NP/examples/EX1/app.json b/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_NP/examples/EX1/app.json index 448a9b5ec7..dbefc14fb5 100644 --- a/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_NP/examples/EX1/app.json +++ b/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_NP/examples/EX1/app.json @@ -54,8 +54,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 384, + "height": 288, "id": "TEXT_VIEW-228214a7-b6be-493b-b311-3022b731cb68", "type": "VISUALIZERS", "data": { @@ -88,138 +88,6 @@ }, "dragging": true }, - { - "width": 208, - "height": 96, - "id": "R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6", - "type": "GENERATORS", - "data": { - "id": "R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6", - "label": "R DATASET", - "func": "R_DATASET", - "type": "GENERATORS", - "ctrls": { - "dataset_key": { - "type": "select", - "default": "iris", - "options": [ - "ability.cov", - "airmiles", - "AirPassengers", - "airquality", - "anscombe", - "attenu", - "attitude", - "austres", - "BJsales", - "BOD", - "cars", - "ChickWeight", - "chickwts", - "co2", - "crimtab", - "discoveries", - "DNase", - "esoph", - "euro", - "EuStockMarkets", - "faithful", - "Formaldehyde", - "freeny", - "HairEyeColor", - "Harman23", - "Harman74", - "Indometh", - "infert", - "InsectSprays", - "iris", - "iris3", - "islands", - "JohnsonJohnson", - "LakeHuron", - "LifeCycleSavings", - "Loblolly", - "longley", - "lynx", - "morley", - "mtcars", - "nhtemp", - "Nile", - "nottem", - "npk", - "occupationalStatus", - "Orange", - "OrchardSprays", - "PlantGrowth", - "precip", - "presidents", - "pressure", - "Puromycin", - "quakes", - "randu", - "rivers", - "rock", - "Seatbelts", - "sleep", - "stackloss", - "sunspot.month", - "sunspot.year", - "sunspots", - "swiss", - "Theoph", - "Titanic", - "ToothGrowth", - "treering", - "trees", - "UCBAdmissions", - "UKDriverDeaths", - "UKgas", - "USAccDeaths", - "USArrests", - "USJudgeRatings", - "USPersonalExpenditure", - "VADeaths", - "volcano", - "warpbreaks", - "women", - "WorldPhones", - "WWWusage" - ], - "desc": null, - "functionName": "R_DATASET", - "param": "dataset_key", - "value": "airquality" - } - }, - "initCtrls": {}, - "outputs": [ - { - "name": "default", - "id": "default", - "type": "DataFrame", - "desc": "A DataContainer object containing the retrieved pandas DataFrame." - } - ], - "pip_dependencies": [ - { - "name": "rdatasets", - "v": "0.1.0" - } - ], - "path": "PYTHON/nodes/GENERATORS/SAMPLE_DATASETS/R_DATASET/R_DATASET.py", - "selected": false - }, - "position": { - "x": -1108.0780650709485, - "y": -823.4997659508415 - }, - "selected": false, - "positionAbsolute": { - "x": -1108.0780650709485, - "y": -823.4997659508415 - }, - "dragging": true - }, { "width": 160, "height": 160, @@ -264,8 +132,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "LINE-b936bc3c-9199-4a7b-b8ca-1a57a9ab4c0a", "type": "VISUALIZERS", "data": { @@ -296,19 +164,19 @@ "selected": false }, "position": { - "x": -448.09960951515916, - "y": -654.468220615062 + "x": -301.06622007553875, + "y": -717.6466301398989 }, "selected": false, "positionAbsolute": { - "x": -448.09960951515916, - "y": -654.468220615062 + "x": -301.06622007553875, + "y": -717.6466301398989 }, "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "LINE-cb11873f-7720-4b9f-b4c0-4d665d748b8a", "type": "VISUALIZERS", "data": { @@ -348,23 +216,61 @@ "y": -651.2243747293668 }, "dragging": true + }, + { + "width": 208, + "height": 96, + "id": "SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0", + "type": "GENERATORS", + "data": { + "id": "SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0", + "label": "SCIKIT LEARN DATASET", + "func": "SCIKIT_LEARN_DATASET", + "type": "GENERATORS", + "ctrls": { + "dataset_name": { + "type": "select", + "options": [ + "iris", + "diabetes", + "digits", + "linnerud", + "wine", + "breast_cancer" + ], + "default": "iris", + "desc": null, + "overload": null, + "functionName": "SCIKIT_LEARN_DATASET", + "param": "dataset_name", + "value": "iris" + } + }, + "initCtrls": {}, + "outputs": [ + { + "name": "default", + "id": "default", + "type": "DataFrame", + "desc": "A DataContainer object containing the retrieved pandas DataFrame." + } + ], + "path": "GENERATORS/SAMPLE_DATASETS/SCIKIT_LEARN_DATASET/SCIKIT_LEARN_DATASET.py", + "selected": true + }, + "position": { + "x": -1179.2533628642557, + "y": -790.5389574962747 + }, + "selected": true, + "positionAbsolute": { + "x": -1179.2533628642557, + "y": -790.5389574962747 + }, + "dragging": true } ], "edges": [ - { - "source": "R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6", - "sourceHandle": "default", - "target": "DF_2_NP-c3182546-506f-428e-ab39-8870d2c38003", - "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6default-DF_2_NP-c3182546-506f-428e-ab39-8870d2c38003default" - }, - { - "source": "R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6", - "sourceHandle": "default", - "target": "LINE-cb11873f-7720-4b9f-b4c0-4d665d748b8a", - "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-6aa094ed-362b-47ed-b0f0-2c95ee2a5af6default-LINE-cb11873f-7720-4b9f-b4c0-4d665d748b8adefault" - }, { "source": "DF_2_NP-c3182546-506f-428e-ab39-8870d2c38003", "sourceHandle": "default", @@ -385,6 +291,20 @@ "target": "TEXT_VIEW-228214a7-b6be-493b-b311-3022b731cb68", "targetHandle": "default", "id": "reactflow__edge-TEXT-55b6e973-c612-43ad-8d7a-b911e16dc39cdefault-TEXT_VIEW-228214a7-b6be-493b-b311-3022b731cb68default" + }, + { + "source": "SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0", + "sourceHandle": "default", + "target": "DF_2_NP-c3182546-506f-428e-ab39-8870d2c38003", + "targetHandle": "default", + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0default-DF_2_NP-c3182546-506f-428e-ab39-8870d2c38003default" + }, + { + "source": "SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0", + "sourceHandle": "default", + "target": "LINE-cb11873f-7720-4b9f-b4c0-4d665d748b8a", + "targetHandle": "default", + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-af21c865-05de-409b-8ed9-3d5be39210e0default-LINE-cb11873f-7720-4b9f-b4c0-4d665d748b8adefault" } ], "viewport": { @@ -392,5 +312,6 @@ "y": 226.88940714410813, "zoom": 0.5 } - } + }, + "textNodes": [] } \ No newline at end of file diff --git a/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_ORDERED_TRIPLE/examples/EX1/app.json b/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_ORDERED_TRIPLE/examples/EX1/app.json index 36089b4ebd..b770a52fbb 100644 --- a/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_ORDERED_TRIPLE/examples/EX1/app.json +++ b/docs/nodes/TRANSFORMERS/TYPE_CASTING/DF_2_ORDERED_TRIPLE/examples/EX1/app.json @@ -54,8 +54,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 384, + "height": 288, "id": "TEXT_VIEW-b70bbfaf-d726-4ff5-b243-1441ab16befc", "type": "VISUALIZERS", "data": { @@ -88,138 +88,6 @@ }, "dragging": true }, - { - "width": 208, - "height": 96, - "id": "R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141b", - "type": "GENERATORS", - "data": { - "id": "R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141b", - "label": "R DATASET", - "func": "R_DATASET", - "type": "GENERATORS", - "ctrls": { - "dataset_key": { - "type": "select", - "default": "iris", - "options": [ - "ability.cov", - "airmiles", - "AirPassengers", - "airquality", - "anscombe", - "attenu", - "attitude", - "austres", - "BJsales", - "BOD", - "cars", - "ChickWeight", - "chickwts", - "co2", - "crimtab", - "discoveries", - "DNase", - "esoph", - "euro", - "EuStockMarkets", - "faithful", - "Formaldehyde", - "freeny", - "HairEyeColor", - "Harman23", - "Harman74", - "Indometh", - "infert", - "InsectSprays", - "iris", - "iris3", - "islands", - "JohnsonJohnson", - "LakeHuron", - "LifeCycleSavings", - "Loblolly", - "longley", - "lynx", - "morley", - "mtcars", - "nhtemp", - "Nile", - "nottem", - "npk", - "occupationalStatus", - "Orange", - "OrchardSprays", - "PlantGrowth", - "precip", - "presidents", - "pressure", - "Puromycin", - "quakes", - "randu", - "rivers", - "rock", - "Seatbelts", - "sleep", - "stackloss", - "sunspot.month", - "sunspot.year", - "sunspots", - "swiss", - "Theoph", - "Titanic", - "ToothGrowth", - "treering", - "trees", - "UCBAdmissions", - "UKDriverDeaths", - "UKgas", - "USAccDeaths", - "USArrests", - "USJudgeRatings", - "USPersonalExpenditure", - "VADeaths", - "volcano", - "warpbreaks", - "women", - "WorldPhones", - "WWWusage" - ], - "desc": null, - "functionName": "R_DATASET", - "param": "dataset_key", - "value": "airquality" - } - }, - "initCtrls": {}, - "outputs": [ - { - "name": "default", - "id": "default", - "type": "DataFrame", - "desc": "A DataContainer object containing the retrieved pandas DataFrame." - } - ], - "pip_dependencies": [ - { - "name": "rdatasets", - "v": "0.1.0" - } - ], - "path": "PYTHON/nodes/GENERATORS/SAMPLE_DATASETS/R_DATASET/R_DATASET.py", - "selected": false - }, - "position": { - "x": -677.2257115768947, - "y": 320.5883946561946 - }, - "selected": false, - "positionAbsolute": { - "x": -677.2257115768947, - "y": 320.5883946561946 - }, - "dragging": true - }, { "width": 160, "height": 160, @@ -289,8 +157,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "TABLE-62eb9ff0-2e0f-4ea7-9770-be6a54d3c45f", "type": "VISUALIZERS", "data": { @@ -321,19 +189,19 @@ "selected": false }, "position": { - "x": 24.997712912767724, - "y": 32.889244940134404 + "x": 31.521079459966586, + "y": -20.38491519532323 }, "selected": false, "positionAbsolute": { - "x": 24.997712912767724, - "y": 32.889244940134404 + "x": 31.521079459966586, + "y": -20.38491519532323 }, "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "TABLE-de8a3838-f5c7-45e3-b045-2f838d8002d4", "type": "VISUALIZERS", "data": { @@ -364,19 +232,19 @@ "selected": false }, "position": { - "x": -451.59508901412926, - "y": 27.36861318594225 + "x": -508.1309324231863, + "y": -25.905546949515326 }, "selected": false, "positionAbsolute": { - "x": -451.59508901412926, - "y": 27.36861318594225 + "x": -508.1309324231863, + "y": -25.905546949515326 }, "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "SCATTER3D-9cb36053-f988-4c5f-a860-32c18d550b66", "type": "VISUALIZERS", "data": { @@ -407,19 +275,19 @@ "selected": false }, "position": { - "x": -449.45547957094664, - "y": 482.8784460901976 + "x": -444.01934078161423, + "y": 477.4423073008652 }, "selected": false, "positionAbsolute": { - "x": -449.45547957094664, - "y": 482.8784460901976 + "x": -444.01934078161423, + "y": 477.4423073008652 }, "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "SCATTER3D-cbfb4d9c-b0ff-4aaf-8aa5-6909ba2e2350", "type": "VISUALIZERS", "data": { @@ -459,23 +327,61 @@ "y": 496.85585704666755 }, "dragging": true + }, + { + "width": 208, + "height": 96, + "id": "SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6", + "type": "GENERATORS", + "data": { + "id": "SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6", + "label": "SCIKIT LEARN DATASET", + "func": "SCIKIT_LEARN_DATASET", + "type": "GENERATORS", + "ctrls": { + "dataset_name": { + "type": "select", + "options": [ + "iris", + "diabetes", + "digits", + "linnerud", + "wine", + "breast_cancer" + ], + "default": "iris", + "desc": null, + "overload": null, + "functionName": "SCIKIT_LEARN_DATASET", + "param": "dataset_name", + "value": "breast_cancer" + } + }, + "initCtrls": {}, + "outputs": [ + { + "name": "default", + "id": "default", + "type": "DataFrame", + "desc": "A DataContainer object containing the retrieved pandas DataFrame." + } + ], + "path": "GENERATORS/SAMPLE_DATASETS/SCIKIT_LEARN_DATASET/SCIKIT_LEARN_DATASET.py", + "selected": false + }, + "position": { + "x": -745.491934881735, + "y": 336.62103541988444 + }, + "selected": false, + "positionAbsolute": { + "x": -745.491934881735, + "y": 336.62103541988444 + }, + "dragging": true } ], "edges": [ - { - "source": "R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141b", - "sourceHandle": "default", - "target": "TABLE-de8a3838-f5c7-45e3-b045-2f838d8002d4", - "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141bdefault-TABLE-de8a3838-f5c7-45e3-b045-2f838d8002d4default" - }, - { - "source": "R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141b", - "sourceHandle": "default", - "target": "SCATTER3D-9cb36053-f988-4c5f-a860-32c18d550b66", - "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141bdefault-SCATTER3D-9cb36053-f988-4c5f-a860-32c18d550b66default" - }, { "source": "DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83", "sourceHandle": "default", @@ -498,18 +404,32 @@ "id": "reactflow__edge-DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83default-TEXT-92862b82-03c7-45b3-955e-381cde864d77_" }, { - "source": "R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141b", + "source": "TEXT-92862b82-03c7-45b3-955e-381cde864d77", "sourceHandle": "default", - "target": "DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83", + "target": "TEXT_VIEW-b70bbfaf-d726-4ff5-b243-1441ab16befc", "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-777e46f9-b7c0-4cf4-91a5-ce61d713141bdefault-DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83default" + "id": "reactflow__edge-TEXT-92862b82-03c7-45b3-955e-381cde864d77default-TEXT_VIEW-b70bbfaf-d726-4ff5-b243-1441ab16befcdefault" }, { - "source": "TEXT-92862b82-03c7-45b3-955e-381cde864d77", + "source": "SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6", "sourceHandle": "default", - "target": "TEXT_VIEW-b70bbfaf-d726-4ff5-b243-1441ab16befc", + "target": "TABLE-de8a3838-f5c7-45e3-b045-2f838d8002d4", "targetHandle": "default", - "id": "reactflow__edge-TEXT-92862b82-03c7-45b3-955e-381cde864d77default-TEXT_VIEW-b70bbfaf-d726-4ff5-b243-1441ab16befcdefault" + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6default-TABLE-de8a3838-f5c7-45e3-b045-2f838d8002d4default" + }, + { + "source": "SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6", + "sourceHandle": "default", + "target": "SCATTER3D-9cb36053-f988-4c5f-a860-32c18d550b66", + "targetHandle": "default", + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6default-SCATTER3D-9cb36053-f988-4c5f-a860-32c18d550b66default" + }, + { + "source": "SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6", + "sourceHandle": "default", + "target": "DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83", + "targetHandle": "default", + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-25706df5-5161-49f1-b8f7-ddb6053a64a6default-DF_2_ORDERED_TRIPLE-a6cde1bc-b701-45c7-beac-24381f68ff83default" } ], "viewport": { @@ -517,5 +437,6 @@ "y": 226.88940714410813, "zoom": 0.5 } - } -} + }, + "textNodes": [] +} \ No newline at end of file diff --git a/docs/nodes/TRANSFORMERS/TYPE_CASTING/MATRIX_2_VECTOR/a1-[autogen]/docstring.txt b/docs/nodes/TRANSFORMERS/TYPE_CASTING/MATRIX_2_VECTOR/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..eb94cefe15 --- /dev/null +++ b/docs/nodes/TRANSFORMERS/TYPE_CASTING/MATRIX_2_VECTOR/a1-[autogen]/docstring.txt @@ -0,0 +1,11 @@ +The MATRIX_2_VECTOR node takes a matrix and flatten it into vector type data. + + Inputs + ------ + default: Matrix + The input matrix that will be transformed into vector data type. + + Returns + ------- + Vector + Vector that is flatten from input matrix. diff --git a/docs/nodes/TRANSFORMERS/TYPE_CASTING/VECTOR_2_MATRIX/a1-[autogen]/docstring.txt b/docs/nodes/TRANSFORMERS/TYPE_CASTING/VECTOR_2_MATRIX/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..aab859a320 --- /dev/null +++ b/docs/nodes/TRANSFORMERS/TYPE_CASTING/VECTOR_2_MATRIX/a1-[autogen]/docstring.txt @@ -0,0 +1,18 @@ +The VECTOR_2_MATRIX node takes a vector and transform it into matrix data type where + the shape is chosen by row and col parameters. + + Inputs + ------ + default: Vector + The input vector that will be transformed into matrix. + + Parameters + ---------- + row: int + number of rows for the new matrix + col: int + number of columns for the new matrix + Returns + ------- + Matrix + The matrix that is generated from the given vector and the parameters. diff --git a/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/docstring.txt b/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/docstring.txt index 8db9cc3153..d091fba5f9 100644 --- a/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/docstring.txt +++ b/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/docstring.txt @@ -3,9 +3,14 @@ The TEXT_VIEW node creates a text visualization for a given TextBlob DataContain Inputs ------ default : TextBlob - the DataContainer to be visualized in text format + The DataContainer to be visualized in text format + + Parameters + ---------- + prettify : Boolean + Whether to prettify the displayed text (defaults to True) Returns ------- TextBlob - the DataContainer containing text data + The DataContainer containing text data diff --git a/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/python_code.txt b/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/python_code.txt index 16cd9891c1..7cf54cfa51 100644 --- a/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/python_code.txt +++ b/docs/nodes/VISUALIZERS/DATA_STRUCTURE/TEXT_VIEW/a1-[autogen]/python_code.txt @@ -1,8 +1,17 @@ +import pprint from flojoy import flojoy, TextBlob @flojoy -def TEXT_VIEW(default: TextBlob): +def TEXT_VIEW( + default: TextBlob, + prettify: bool = False +) -> TextBlob: - return default + s = default.text_blob + + if prettify: + s = pprint.pformat(default.text_blob) + + return TextBlob(s) diff --git a/docs/nodes/VISUALIZERS/PLOTLY/LINE/examples/EX1/app.json b/docs/nodes/VISUALIZERS/PLOTLY/LINE/examples/EX1/app.json index 90ddf52d8e..48a0bc0700 100644 --- a/docs/nodes/VISUALIZERS/PLOTLY/LINE/examples/EX1/app.json +++ b/docs/nodes/VISUALIZERS/PLOTLY/LINE/examples/EX1/app.json @@ -38,147 +38,18 @@ "selected": false }, "position": { - "x": 83.36011635478266, - "y": 444.9631272301297 + "x": 97.49407720704693, + "y": 504.76065391278627 }, "selected": false, "positionAbsolute": { - "x": 83.36011635478266, - "y": 444.9631272301297 + "x": 97.49407720704693, + "y": 504.76065391278627 }, "dragging": true }, { - "width": 208, - "height": 96, - "id": "R_DATASET-6c382bcf-a72e-488d-a784-eb21cb00839a", - "type": "GENERATORS", - "data": { - "id": "R_DATASET-6c382bcf-a72e-488d-a784-eb21cb00839a", - "label": "R DATASET", - "func": "R_DATASET", - "type": "GENERATORS", - "ctrls": { - "dataset_key": { - "type": "select", - "default": "iris", - "options": [ - "ability.cov", - "airmiles", - "AirPassengers", - "airquality", - "anscombe", - "attenu", - "attitude", - "austres", - "BJsales", - "BOD", - "cars", - "ChickWeight", - "chickwts", - "co2", - "crimtab", - "discoveries", - "DNase", - "esoph", - "euro", - "EuStockMarkets", - "faithful", - "Formaldehyde", - "freeny", - "HairEyeColor", - "Harman23", - "Harman74", - "Indometh", - "infert", - "InsectSprays", - "iris", - "iris3", - "islands", - "JohnsonJohnson", - "LakeHuron", - "LifeCycleSavings", - "Loblolly", - "longley", - "lynx", - "morley", - "mtcars", - "nhtemp", - "Nile", - "nottem", - "npk", - "occupationalStatus", - "Orange", - "OrchardSprays", - "PlantGrowth", - "precip", - "presidents", - "pressure", - "Puromycin", - "quakes", - "randu", - "rivers", - "rock", - "Seatbelts", - "sleep", - "stackloss", - "sunspot.month", - "sunspot.year", - "sunspots", - "swiss", - "Theoph", - "Titanic", - "ToothGrowth", - "treering", - "trees", - "UCBAdmissions", - "UKDriverDeaths", - "UKgas", - "USAccDeaths", - "USArrests", - "USJudgeRatings", - "USPersonalExpenditure", - "VADeaths", - "volcano", - "warpbreaks", - "women", - "WorldPhones", - "WWWusage" - ], - "functionName": "R_DATASET", - "param": "dataset_key", - "value": "iris" - } - }, - "outputs": [ - { - "name": "default", - "id": "default", - "type": "DataFrame" - } - ], - "pip_dependencies": [ - { - "name": "rdatasets", - "v": "0.1.0" - } - ], - "path": "PYTHON/nodes\\GENERATORS\\SAMPLE_DATASETS\\R_DATASET\\R_DATASET.py", - "selected": false - }, - "position": { - "x": 96.13358497687051, - "y": 215.36594613774037 - }, - "selected": false, - "positionAbsolute": { - "x": 96.13358497687051, - "y": 215.36594613774037 - }, - "dragging": true - }, - { - "width": 208, + "width": 210, "height": 96, "id": "TIMESERIES-511ecdda-9fd1-443e-95bb-2399e69b6484", "type": "GENERATORS", @@ -214,13 +85,13 @@ "selected": false }, "position": { - "x": 61.722775228768, - "y": 2.6454783507012394 + "x": 67.1589140181004, + "y": -18.011849048761917 }, "selected": false, "positionAbsolute": { - "x": 61.722775228768, - "y": 2.6454783507012394 + "x": 67.1589140181004, + "y": -18.011849048761917 }, "dragging": true }, @@ -254,13 +125,13 @@ "selected": false }, "position": { - "x": 469.8687147537621, - "y": 362.50128832181895 + "x": 467.6942592380291, + "y": 399.4670320892793 }, "selected": false, "positionAbsolute": { - "x": 469.8687147537621, - "y": 362.50128832181895 + "x": 467.6942592380291, + "y": 399.4670320892793 }, "dragging": true }, @@ -294,13 +165,13 @@ "selected": false }, "position": { - "x": 762.7310457743708, - "y": 116.02468713396252 + "x": 780.1266899002345, + "y": 114.937459376096 }, "selected": false, "positionAbsolute": { - "x": 762.7310457743708, - "y": 116.02468713396252 + "x": 780.1266899002345, + "y": 114.937459376096 }, "dragging": true }, @@ -334,13 +205,65 @@ "selected": false }, "position": { - "x": 403.6067599272868, - "y": -57.773384759895634 + "x": 417.740720779551, + "y": -119.7453669582851 }, "selected": false, "positionAbsolute": { - "x": 403.6067599272868, - "y": -57.773384759895634 + "x": 417.740720779551, + "y": -119.7453669582851 + }, + "dragging": true + }, + { + "width": 208, + "height": 96, + "id": "SCIKIT_LEARN_DATASET-1abc7ecd-da77-4b00-bfdc-8068bd315a63", + "type": "GENERATORS", + "data": { + "id": "SCIKIT_LEARN_DATASET-1abc7ecd-da77-4b00-bfdc-8068bd315a63", + "label": "SCIKIT LEARN DATASET", + "func": "SCIKIT_LEARN_DATASET", + "type": "GENERATORS", + "ctrls": { + "dataset_name": { + "type": "select", + "options": [ + "iris", + "diabetes", + "digits", + "linnerud", + "wine", + "breast_cancer" + ], + "default": "iris", + "desc": null, + "overload": null, + "functionName": "SCIKIT_LEARN_DATASET", + "param": "dataset_name", + "value": "iris" + } + }, + "initCtrls": {}, + "outputs": [ + { + "name": "default", + "id": "default", + "type": "DataFrame", + "desc": "A DataContainer object containing the retrieved pandas DataFrame." + } + ], + "path": "GENERATORS/SAMPLE_DATASETS/SCIKIT_LEARN_DATASET/SCIKIT_LEARN_DATASET.py", + "selected": false + }, + "position": { + "x": 79.88477303643154, + "y": 236.65339910085572 + }, + "selected": false, + "positionAbsolute": { + "x": 79.88477303643154, + "y": 236.65339910085572 }, "dragging": true } @@ -354,18 +277,18 @@ "id": "reactflow__edge-TIMESERIES-511ecdda-9fd1-443e-95bb-2399e69b6484default-LINE-be1cb8d9-dc67-4567-8952-8b7eaeb9134ddefault" }, { - "source": "R_DATASET-6c382bcf-a72e-488d-a784-eb21cb00839a", + "source": "MATRIX-adb7407c-2ba3-4478-8c1a-2c0d2dc1f095", "sourceHandle": "default", - "target": "LINE-fba98010-ffc1-4864-8a5a-356f46f70a26", + "target": "LINE-b77bfca4-130d-46b6-9962-f53f605d7107", "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-6c382bcf-a72e-488d-a784-eb21cb00839adefault-LINE-fba98010-ffc1-4864-8a5a-356f46f70a26default" + "id": "reactflow__edge-MATRIX-adb7407c-2ba3-4478-8c1a-2c0d2dc1f095default-LINE-b77bfca4-130d-46b6-9962-f53f605d7107default" }, { - "source": "MATRIX-adb7407c-2ba3-4478-8c1a-2c0d2dc1f095", + "source": "SCIKIT_LEARN_DATASET-1abc7ecd-da77-4b00-bfdc-8068bd315a63", "sourceHandle": "default", - "target": "LINE-b77bfca4-130d-46b6-9962-f53f605d7107", + "target": "LINE-fba98010-ffc1-4864-8a5a-356f46f70a26", "targetHandle": "default", - "id": "reactflow__edge-MATRIX-adb7407c-2ba3-4478-8c1a-2c0d2dc1f095default-LINE-b77bfca4-130d-46b6-9962-f53f605d7107default" + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-1abc7ecd-da77-4b00-bfdc-8068bd315a63default-LINE-fba98010-ffc1-4864-8a5a-356f46f70a26default" } ], "viewport": { @@ -392,5 +315,6 @@ "i": "INPUT_PLACEHOLDER" } } - ] + ], + "textNodes": [] } \ No newline at end of file diff --git a/docs/nodes/VISUALIZERS/PLOTLY/TABLE/examples/EX1/app.json b/docs/nodes/VISUALIZERS/PLOTLY/TABLE/examples/EX1/app.json index 87eedd42eb..04de105f88 100644 --- a/docs/nodes/VISUALIZERS/PLOTLY/TABLE/examples/EX1/app.json +++ b/docs/nodes/VISUALIZERS/PLOTLY/TABLE/examples/EX1/app.json @@ -3,7 +3,7 @@ "nodes": [ { "width": 150, - "height": 150, + "height": 180, "id": "LINSPACE-96f418c8-14ed-4457-abea-9520da6d5078", "type": "default", "data": { @@ -55,135 +55,6 @@ }, "dragging": true }, - { - "width": 150, - "height": 150, - "id": "R_DATASET-44eaa566-97ed-4dca-a9c5-0bcb7f680ad8", - "type": "GENERATORS", - "data": { - "id": "R_DATASET-44eaa566-97ed-4dca-a9c5-0bcb7f680ad8", - "label": "R DATASET", - "func": "R_DATASET", - "type": "GENERATORS", - "ctrls": { - "dataset_key": { - "type": "select", - "default": "iris", - "options": [ - "ability.cov", - "airmiles", - "AirPassengers", - "airquality", - "anscombe", - "attenu", - "attitude", - "austres", - "BJsales", - "BOD", - "cars", - "ChickWeight", - "chickwts", - "co2", - "crimtab", - "discoveries", - "DNase", - "esoph", - "euro", - "EuStockMarkets", - "faithful", - "Formaldehyde", - "freeny", - "HairEyeColor", - "Harman23", - "Harman74", - "Indometh", - "infert", - "InsectSprays", - "iris", - "iris3", - "islands", - "JohnsonJohnson", - "LakeHuron", - "LifeCycleSavings", - "Loblolly", - "longley", - "lynx", - "morley", - "mtcars", - "nhtemp", - "Nile", - "nottem", - "npk", - "occupationalStatus", - "Orange", - "OrchardSprays", - "PlantGrowth", - "precip", - "presidents", - "pressure", - "Puromycin", - "quakes", - "randu", - "rivers", - "rock", - "Seatbelts", - "sleep", - "stackloss", - "sunspot.month", - "sunspot.year", - "sunspots", - "swiss", - "Theoph", - "Titanic", - "ToothGrowth", - "treering", - "trees", - "UCBAdmissions", - "UKDriverDeaths", - "UKgas", - "USAccDeaths", - "USArrests", - "USJudgeRatings", - "USPersonalExpenditure", - "VADeaths", - "volcano", - "warpbreaks", - "women", - "WorldPhones", - "WWWusage" - ], - "functionName": "R_DATASET", - "param": "dataset_key", - "value": "iris" - } - }, - "outputs": [ - { - "name": "default", - "id": "default", - "type": "DataFrame" - } - ], - "pip_dependencies": [ - { - "name": "rdatasets", - "v": "0.1.0" - } - ], - "path": "PYTHON/nodes\\GENERATORS\\SAMPLE_DATASETS\\R_DATASET\\R_DATASET.py", - "selected": false - }, - "position": { - "x": 48.515937476087885, - "y": 399.8731016300469 - }, - "selected": false, - "positionAbsolute": { - "x": 48.515937476087885, - "y": 399.8731016300469 - }, - "dragging": true - }, { "width": 380, "height": 293, @@ -225,8 +96,8 @@ "dragging": true }, { - "width": 225, - "height": 226, + "width": 380, + "height": 293, "id": "TABLE-57c89935-c3df-4ba4-a8a5-f53534c47ee9", "type": "VISUALIZERS", "data": { @@ -263,22 +134,74 @@ "y": 379.87310163004656 }, "dragging": true + }, + { + "width": 208, + "height": 96, + "id": "SCIKIT_LEARN_DATASET-0fb48f9e-ebe6-427e-b770-7c2ba14dfe92", + "type": "GENERATORS", + "data": { + "id": "SCIKIT_LEARN_DATASET-0fb48f9e-ebe6-427e-b770-7c2ba14dfe92", + "label": "SCIKIT LEARN DATASET", + "func": "SCIKIT_LEARN_DATASET", + "type": "GENERATORS", + "ctrls": { + "dataset_name": { + "type": "select", + "options": [ + "iris", + "diabetes", + "digits", + "linnerud", + "wine", + "breast_cancer" + ], + "default": "iris", + "desc": null, + "overload": null, + "functionName": "SCIKIT_LEARN_DATASET", + "param": "dataset_name", + "value": "iris" + } + }, + "initCtrls": {}, + "outputs": [ + { + "name": "default", + "id": "default", + "type": "DataFrame", + "desc": "A DataContainer object containing the retrieved pandas DataFrame." + } + ], + "path": "GENERATORS/SAMPLE_DATASETS/SCIKIT_LEARN_DATASET/SCIKIT_LEARN_DATASET.py", + "selected": false + }, + "position": { + "x": 59.534565049635674, + "y": 450.0003568907141 + }, + "selected": false, + "positionAbsolute": { + "x": 59.534565049635674, + "y": 450.0003568907141 + }, + "dragging": true } ], "edges": [ { - "source": "R_DATASET-44eaa566-97ed-4dca-a9c5-0bcb7f680ad8", + "source": "LINSPACE-96f418c8-14ed-4457-abea-9520da6d5078", "sourceHandle": "default", - "target": "TABLE-57c89935-c3df-4ba4-a8a5-f53534c47ee9", + "target": "TABLE-41e3d344-1ece-4eb2-adb8-dc944c80b49b", "targetHandle": "default", - "id": "reactflow__edge-R_DATASET-44eaa566-97ed-4dca-a9c5-0bcb7f680ad8default-TABLE-57c89935-c3df-4ba4-a8a5-f53534c47ee9default" + "id": "reactflow__edge-LINSPACE-96f418c8-14ed-4457-abea-9520da6d5078default-TABLE-41e3d344-1ece-4eb2-adb8-dc944c80b49bdefault" }, { - "source": "LINSPACE-96f418c8-14ed-4457-abea-9520da6d5078", + "source": "SCIKIT_LEARN_DATASET-0fb48f9e-ebe6-427e-b770-7c2ba14dfe92", "sourceHandle": "default", - "target": "TABLE-41e3d344-1ece-4eb2-adb8-dc944c80b49b", + "target": "TABLE-57c89935-c3df-4ba4-a8a5-f53534c47ee9", "targetHandle": "default", - "id": "reactflow__edge-LINSPACE-96f418c8-14ed-4457-abea-9520da6d5078default-TABLE-41e3d344-1ece-4eb2-adb8-dc944c80b49bdefault" + "id": "reactflow__edge-SCIKIT_LEARN_DATASET-0fb48f9e-ebe6-427e-b770-7c2ba14dfe92default-TABLE-57c89935-c3df-4ba4-a8a5-f53534c47ee9default" } ], "viewport": { @@ -305,5 +228,6 @@ "i": "INPUT_PLACEHOLDER" } } - ] + ], + "textNodes": [] } \ No newline at end of file diff --git a/nodeSidebar.json b/nodeSidebar.json index 5fece8e4c5..a3cc472dd2 100644 --- a/nodeSidebar.json +++ b/nodeSidebar.json @@ -146,7 +146,7 @@ "nodes/IO/ANALOG_SENSORS/PRESSURE_SENSORS/FLEXIFORCE_25LB/FLEXIFORCE_25LB", "nodes/IO/ANALOG_SENSORS/THERMOCOUPLES/LM34/LM34" ], - "I/O > DAQ Boards": [ + "I/O > Daq Boards": [ "nodes/IO/INSTRUMENTS/DAQ_BOARDS/LABJACK/U3/BASIC/READ_A0_PINS/READ_A0_PINS", "nodes/IO/INSTRUMENTS/DAQ_BOARDS/NI/COMING_FALL_2023/COMING_FALL_2023", "nodes/IO/INSTRUMENTS/DAQ_BOARDS/PHIDGET/INTERFACEKIT/BASIC/READ_N_PINS/READ_N_PINS" @@ -159,15 +159,6 @@ "nodes/IO/INSTRUMENTS/FUNCTION_GENERATORS/KEYSIGHT/33XXX/BASIC/OUTPUT_SYNC_33510B/OUTPUT_SYNC_33510B", "nodes/IO/INSTRUMENTS/FUNCTION_GENERATORS/KEYSIGHT/33XXX/BASIC/SET_WAVEFORM_33510B/SET_WAVEFORM_33510B" ], - "I/O > Digital Multimeters": [ - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/AC_CURRENT_USB4065/AC_CURRENT_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/AC_VOLTAGE_USB4065/AC_VOLTAGE_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/CONNECTION_USB4065/CONNECTION_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/DC_CURRENT_USB4065/DC_CURRENT_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/DC_VOLTAGE_USB4065/DC_VOLTAGE_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/DIODE_USB4065/DIODE_USB4065", - "nodes/IO/INSTRUMENTS/MULTIMETERS/NI/USB_4065/BASIC/RESISTANCE_USB4065/RESISTANCE_USB4065" - ], "I/O > MOCK": [ "nodes/IO/INSTRUMENTS/MOCK/WEINSCHEL8320/WEINSCHEL8320" ], From a98c007dc75adcaf0555abadc6863e7fae4856b5 Mon Sep 17 00:00:00 2001 From: jackparmer Date: Wed, 11 Oct 2023 06:04:27 +0000 Subject: [PATCH 2/4] update: remove basic folder for serial nodes --- .../IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt index aeb31f70b6..999209a695 100644 --- a/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt +++ b/docs/nodes/IO/PROTOCOLS/SCPI/SCPI_WRITE/a1-[autogen]/docstring.txt @@ -1,4 +1,4 @@ -The SCPI node writes a SCPI command to a connected bench-top instrument and returns the result. +The SCPI_WRITE node writes a SCPI command to a connected bench-top instrument and returns the result. Inputs ------ From 922eaf061ac54df56777444e1509a3e5b6b751d5 Mon Sep 17 00:00:00 2001 From: jackparmer Date: Wed, 11 Oct 2023 06:36:36 +0000 Subject: [PATCH 3/4] update: CAN node --- .../OPEN_SERIAL/a1-[autogen]/docstring.json | 17 ++++++++++ .../OPEN_SERIAL/a1-[autogen]/python_code.txt | 12 ++----- .../a1-[autogen]/docstring.json | 16 ++++++++++ .../a1-[autogen]/docstring.json | 31 +++++++++++++++++++ 4 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/docstring.json create mode 100644 docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_SINGLE_MEASUREMENT/a1-[autogen]/docstring.json create mode 100644 docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_TIMESERIES/a1-[autogen]/docstring.json diff --git a/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/docstring.json b/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/docstring.json new file mode 100644 index 0000000000..cb4bff4fb7 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/docstring.json @@ -0,0 +1,17 @@ +{ + "description": null, + "parameters": [ + { + "name": "device", + "type": "Serial", + "description": "The connected serial device." + } + ], + "returns": [ + { + "name": null, + "type": "TextBlob", + "description": null + } + ] +} \ No newline at end of file diff --git a/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/python_code.txt b/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/python_code.txt index 267175c76c..87b0c5ddb5 100644 --- a/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/python_code.txt +++ b/docs/nodes/IO/PROTOCOLS/SERIAL/OPEN_SERIAL/a1-[autogen]/python_code.txt @@ -6,15 +6,7 @@ from flojoy.connection_manager import DeviceConnectionManager @flojoy(deps={"pyserial": "3.5"}) def OPEN_SERIAL(device: SerialDevice, baudrate: int = 9600) -> TextBlob: - """The OPEN_SERIAL node opens a serial connection through your computer's USB or RS-232 port. - Parameters - ---------- - device: Serial - The connected serial device. - Returns - ------- - TextBlob - """ + ser = serial.Serial( port=device.get_port(), @@ -27,4 +19,4 @@ def OPEN_SERIAL(device: SerialDevice, baudrate: int = 9600) -> TextBlob: DeviceConnectionManager.register_connection(device, ser) - return TextBlob(text_blob=json.dumps(ser.get_settings())) \ No newline at end of file + return TextBlob(text_blob=json.dumps(ser.get_settings())) diff --git a/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_SINGLE_MEASUREMENT/a1-[autogen]/docstring.json b/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_SINGLE_MEASUREMENT/a1-[autogen]/docstring.json new file mode 100644 index 0000000000..b1d987e054 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_SINGLE_MEASUREMENT/a1-[autogen]/docstring.json @@ -0,0 +1,16 @@ +{ + "description": null, + "parameters": [ + { + "name": "baudrate", + "type": "int", + "description": "Baud rate for the serial communication." + }, + { + "name": "comport", + "type": "string", + "description": "Defines the comunication port on which the serial device is connected." + } + ], + "returns": [] +} \ No newline at end of file diff --git a/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_TIMESERIES/a1-[autogen]/docstring.json b/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_TIMESERIES/a1-[autogen]/docstring.json new file mode 100644 index 0000000000..bbf5c0d639 --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/SERIAL/SERIAL_TIMESERIES/a1-[autogen]/docstring.json @@ -0,0 +1,31 @@ +{ + "description": null, + "parameters": [ + { + "name": "num_readings", + "type": "int", + "description": "Number of points to record." + }, + { + "name": "record_period", + "type": "float", + "description": "Length between two recordings in seconds." + }, + { + "name": "baudrate", + "type": "int", + "description": "Baud rate for the serial device." + }, + { + "name": "comport", + "type": "string", + "description": "COM port of the serial device." + }, + { + "name": "num_readings * record_period", + "type": "", + "description": "Is roughly the run length in seconds." + } + ], + "returns": [] +} \ No newline at end of file From 83c9d468af68991aea30498e1bcaf6f7a70fd9df Mon Sep 17 00:00:00 2001 From: jackparmer Date: Wed, 11 Oct 2023 20:06:51 +0000 Subject: [PATCH 4/4] update: CAN example and op2vec node --- .../CAN_MESSAGE/a1-[autogen]/docstring.txt | 17 +++++++++++++++++ .../a1-[autogen]/docstring.txt | 11 +++++++++++ nodeSidebar.json | 1 - 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 docs/nodes/IO/PROTOCOLS/CAN/CANABLE/CAN_MESSAGE/a1-[autogen]/docstring.txt create mode 100644 docs/nodes/TRANSFORMERS/TYPE_CASTING/ORDERED_PAIR_2_VECTOR/a1-[autogen]/docstring.txt diff --git a/docs/nodes/IO/PROTOCOLS/CAN/CANABLE/CAN_MESSAGE/a1-[autogen]/docstring.txt b/docs/nodes/IO/PROTOCOLS/CAN/CANABLE/CAN_MESSAGE/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..c02e1f0c0d --- /dev/null +++ b/docs/nodes/IO/PROTOCOLS/CAN/CANABLE/CAN_MESSAGE/a1-[autogen]/docstring.txt @@ -0,0 +1,17 @@ +The CAN_MESSAGE node sends a message onto CAN network through a slcan-compatible USB-to-CAN adapter. + + Inputs + ------ + default: Vector + The array of data to send to the CAN bus. + + Parameters + ---------- + arbitration_id: + Unique ID for message being sent. + is_extended_id: bool + Flag that controls the size of the arbitration_id field. + + Returns + ------- + None diff --git a/docs/nodes/TRANSFORMERS/TYPE_CASTING/ORDERED_PAIR_2_VECTOR/a1-[autogen]/docstring.txt b/docs/nodes/TRANSFORMERS/TYPE_CASTING/ORDERED_PAIR_2_VECTOR/a1-[autogen]/docstring.txt new file mode 100644 index 0000000000..e51e43393c --- /dev/null +++ b/docs/nodes/TRANSFORMERS/TYPE_CASTING/ORDERED_PAIR_2_VECTOR/a1-[autogen]/docstring.txt @@ -0,0 +1,11 @@ +The ORDERED_PAIR_2_VECTOR return the y component of an ordered pair as a Vector. + + Inputs + ------ + default : OrderedPair + The input OrderedPair. + + Returns + ------- + Vector + The y component of the input OrderedPair. diff --git a/nodeSidebar.json b/nodeSidebar.json index a3cc472dd2..512b81d150 100644 --- a/nodeSidebar.json +++ b/nodeSidebar.json @@ -188,7 +188,6 @@ "nodes/IO/INSTRUMENTS/OSCILLOSCOPES/TEKTRONIX/MDO3XXX/BASIC/TRIGGER_LEVEL_MDO3XXX/TRIGGER_LEVEL_MDO3XXX" ], "I/O > Protocols": [ - "nodes/IO/PROTOCOLS/CAN/CAN", "nodes/IO/PROTOCOLS/SCPI/IDN/IDN", "nodes/IO/PROTOCOLS/SCPI/MEASURE_VOLTAGE/MEASURE_VOLTAGE", "nodes/IO/PROTOCOLS/SERIAL/BASIC/OPEN_SERIAL/OPEN_SERIAL",