public void Render()
        {
            //EnableVertexAttribArrays();
            //GL.BindBuffer(BufferTarget.ArrayBuffer, vbo_position);
            //GL.BindBuffer(BufferTarget.ArrayBuffer, vbo_color);
            //GL.DrawArrays(BeginMode.Triangles, 0, 3);
            //DisableVertexAttribArrays();

            GL.PushMatrix();

            gfx_model.ApplyLocalTransformations(this.Position, this.Scale);
            gfx_model.SetMatrixUniforms();


            foreach (var label in textObjects)
            {
                label.Render();
            }

            GL.PopMatrix();


            GL.PushMatrix();
            gfx_model.ApplyLocalTransformations(this.Position, this.Scale);
            gfx_model.SetMatrixUniforms();

            Draw.Lines(edges, EdgeColor);

            GL.PopMatrix();
        }
        protected override void OnRenderFrame(FrameEventArgs e)
        {
            GL.Viewport(0, 0, this.Width, this.Height);
            GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
            GL.Enable(EnableCap.DepthTest);
            GL.DepthMask(true);
            GL.DepthFunc(DepthFunction.Lequal);

            gfx_model.ApplyLocalTransformations(cam_position, Vector3.One);
            gfx_model.SetMatrixUniforms();

            //txt.Render();
            //shader.Use();


            //lblTitle.Render();

            _graph.Render();


            //GL.PushMatrix();
            //Draw.Lines(relationship_lines, System.Drawing.Color.Red);
            //GL.PopMatrix();


            //shader.UseZero();

            GL.Flush();

            SwapBuffers();

            base.OnRenderFrame(e);
        }