<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ndbx formatVersion="20" type="file" uuid="7277fd11-2700-49c5-ac9e-1151be8fadf0">
    <property name="canvasHeight" value="1000"/>
    <property name="canvasWidth" value="1000"/>
    <property name="canvasX" value="0"/>
    <property name="canvasY" value="0"/>
    <link href="python:pi_funcs.py" rel="functions"/>
    <node name="root" prototype="core.network" renderedChild="group1">
        <node name="align1" position="8.00,11.00" prototype="corevector.align">
            <port name="valign" type="string" value="top"/>
        </node>
        <node name="colorize1" position="8.00,9.00" prototype="corevector.colorize">
            <port name="stroke" type="color" value="#4646467a"/>
            <port name="strokeWidth" type="float" value="2.25"/>
        </node>
        <node name="colors" position="5.00,11.00" prototype="core.network" renderedChild="selector">
            <node name="hsb_color1" position="6.00,1.00" prototype="color.hsb_color">
                <port name="hue" type="float" value="296.0"/>
                <port name="saturation" type="float" value="255.0"/>
                <port name="brightness" type="float" value="255.0"/>
            </node>
            <node name="range1" position="6.00,0.00" prototype="math.range">
                <port name="end" type="float" value="255.0"/>
                <port name="step" type="float" value="25.5"/>
            </node>
            <node function="pi_funcs/selector" name="selector" position="6.00,2.00">
                <port description="" label="" name="list" range="list" type="list" widget="none"/>
                <port description="" label="" name="index" range="value" type="int" value="9" widget="int"/>
            </node>
            <port childReference="selector.index" description="" label="" name="index" range="value" type="int" value="9" widget="int"/>
            <conn input="hsb_color1.hue" output="range1"/>
            <conn input="selector.list" output="hsb_color1"/>
        </node>
        <node name="count1" position="3.00,7.00" prototype="list.count"/>
        <node name="group1" position="2.00,16.00" prototype="corevector.group"/>
        <node name="make_point1" position="-2.00,8.00" prototype="corevector.make_point"/>
        <node name="pi_data" position="3.00,8.00" prototype="core.network" renderedChild="round1">
            <node name="import_csv1" position="0.00,-1.00" prototype="data.import_csv">
                <port name="file" type="string" value="pi.csv"/>
            </node>
            <node name="lookup1" position="0.00,0.00" prototype="data.lookup">
                <port name="key" type="string" value="0"/>
            </node>
            <node name="round1" position="0.00,1.00" prototype="math.round"/>
            <conn input="lookup1.list" output="import_csv1"/>
            <conn input="round1.value" output="lookup1"/>
        </node>
        <node name="point_size" position="9.00,0.00" prototype="math.number">
            <port name="value" type="float" value="5.0"/>
        </node>
        <node name="rect1" position="8.00,7.00" prototype="corevector.rect"/>
        <node name="slice1" position="3.00,9.00" prototype="list.slice">
            <port name="size" type="int" value="50000"/>
        </node>
        <node name="translate1" position="2.00,15.00" prototype="corevector.translate"/>
        <node function="pi_funcs/my_gridx" name="x_points" outputRange="list" position="1.00,3.00">
            <port description="" label="" name="size" range="value" type="int" value="0" widget="int"/>
        </node>
        <node function="pi_funcs/my_gridy" name="y_points" outputRange="list" position="4.00,3.00">
            <port description="" label="" name="size" range="value" type="int" value="0" widget="int"/>
        </node>
        <conn input="slice1.list" output="pi_data"/>
        <conn input="count1.list" output="make_point1"/>
        <conn input="slice1.size" output="count1"/>
        <conn input="colorize1.shape" output="rect1"/>
        <conn input="colorize1.fill" output="colors"/>
        <conn input="colors.index" output="slice1"/>
        <conn input="translate1.translate" output="make_point1"/>
        <conn input="make_point1.x" output="x_points"/>
        <conn input="align1.shape" output="colorize1"/>
        <conn input="translate1.shape" output="align1"/>
        <conn input="group1.shapes" output="translate1"/>
        <conn input="make_point1.y" output="y_points"/>
        <conn input="rect1.width" output="point_size"/>
        <conn input="rect1.height" output="point_size"/>
        <conn input="x_points.size" output="point_size"/>
        <conn input="y_points.size" output="point_size"/>
    </node>
</ndbx>
