コード例 #1
0
    def test_node_label(self):
        self.graph_name = ['graph_VKN']
        label_key = 'Summary'
        #label_key       = 'Issue Type'

        self.png_data = Vis_Js_Views.node_label(
            params=[self.graph_name, label_key])
コード例 #2
0
    def test_vis_js(self):
        graph_name = 'graph_I3H'
        #graph_name = 'graph_N59'   # raw data
        #graph_name = 'graph_BP9'    # created graph

        from osbot_browser.view_helpers.Vis_Js_Views import Vis_Js_Views
        self.png_data = Vis_Js_Views.default(params=[graph_name],
                                             headless=False)
コード例 #3
0
    def test_default(self):
        graph_name = 'graph_XKW'    # (7 nodes)
        graph_name = 'graph_MKF'    # ( 20 nodes,  27 edges)
        graph_name = 'graph_YT4'   # (199 nodes, 236 edges)
        #graph_name = 'graph_VZ5'   # (367 nodes, 653 edges)
        #graph_name = 'graph_EE3'    # fails in lamnda

        self.png_data = Vis_Js_Views.default(params=[graph_name])
        return
コード例 #4
0
    def test_default(self):
        graph_name = 'graph_XKW'  # (7 nodes)
        graph_name = 'graph_MKF'  # ( 20 nodes,  27 edges)
        graph_name = 'graph_YT4'  # (199 nodes, 236 edges)
        #graph_name = 'graph_VZ5'   # (367 nodes, 653 edges)
        #graph_name = 'graph_EE3'    # fails in lamnda

        self.png_data = Vis_Js_Views.default(params=[graph_name])
        return

        browser_helper = Browser_Lamdba_Helper(headless=False).setup()
        pngData = browser_helper.get_screenshot_png(close_browser=False)
        browser_helper.save_png_data(pngData)
コード例 #5
0
 def test_hello_gs_cs(self):
     result = Vis_Js_Views.hello_gs_cs()
     result = Lambda('browser.lambda_browser').invoke(
         {"params": ["graph", "___", "hello_gs_cs"]})
     Dev.pprint(result)
コード例 #6
0
 def test_r1_pinned(self):
     # graph_RKR # large graph (r0 with 4 levels)
     graph_name = 'graph_S2H'  #'graph_LGK' #'graph_1Q5'  #
     #graph_name ='graph_DAS'
     self.png_data = Vis_Js_Views.r1_pinned(params=[graph_name],
                                            headless=False)
コード例 #7
0
 def test_by_issue_type(self):
     # graph_RKR # large graph (r0 with 4 levels)
     graph_name = 'graph_9CP'  #'graph_1Q5'  #
     self.png_data = Vis_Js_Views.by_issue_type(params=[graph_name],
                                                headless=False)
コード例 #8
0
 def test_by_rating(self):
     self.png_data = Vis_Js_Views.by_rating(params=['graph_07B'])
     self.png_data = None
コード例 #9
0
 def test_by_status(self):
     graph_name = 'graph_LGK'  #'graph_9CP'#
     self.png_data = Vis_Js_Views.by_status(params=[graph_name])
     self.png_data = None
コード例 #10
0
 def test_r1_r4(self):
     self.graph_name = 'graph_2Y4'
     self.png_data = Vis_Js_Views.r1_r4(params=[self.graph_name])
     Dev.pprint(self.png_data)
コード例 #11
0
 def test_no_labels(self):
     self.png_data = Vis_Js_Views.no_labels(params=[self.graph_name])
コード例 #12
0
 def test_by_status(self):
     graph_name = 'graph_TAP' #'graph_9CP'#
     self.png_data = Vis_Js_Views.by_status(params=[graph_name],headless=False)
     self.png_data = None
コード例 #13
0
 def test_node_label(self):
     self.graph_name = ['graph_J2O']
     label_key = 'Summary'
     self.result = Vis_Js_Views.node_label(
         params=[self.graph_name, label_key], headless=False)
コード例 #14
0
 def test_default(self):
     graph_name = 'graph_X3X'  # 'graph_JF4'
     self.png_data = Vis_Js_Views.default(params=[graph_name],
                                          headless=False)