def _apply_style(self, graph):

        styles = {
            'graph': {
                'fontsize': '16',
                'fontcolor': 'white',
                'bgcolor': '#333333',
                'rankdir': 'BT',
            },
            'nodes': {
                'fontname': 'Helvetica',
                'shape': 'rectangle',
                'fontcolor': 'white',
                'color': 'white',
                'style': 'filled',
                'fillcolor': '#006699',
            },
            'edges': {
                'style': 'dashed',
                'color': 'white',
                'arrowhead': 'open',
                'fontname': 'Courier',
                'fontsize': '12',
                'fontcolor': 'white',
            }
        }
        graph.graph_attr.update(
            ('graph' in styles and styles['graph']) or {})
        graph.node_attr.update(
            ('nodes' in styles and styles['nodes']) or {})
        graph.edge_attr.update(
            ('edges' in styles and styles['edges']) or {})
        return graph
Return the script deployment object
dataset/ETHPy150Open CiscoDevNet/yang-explorer/server/explorer/utils/dygraph.py/DYGraph._apply_style--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/msazure.py/script