Bug 541
[osm/LW-UI.git] / lib / osm / osm_rdcl_graph.py
diff --git a/lib/osm/osm_rdcl_graph.py b/lib/osm/osm_rdcl_graph.py
deleted file mode 100644 (file)
index 91b798f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-#   Copyright 2017 CNIT - Consorzio Nazionale Interuniversitario per le Telecomunicazioni
-#
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#       http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an  BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
-#
-
-import json
-import logging
-import copy
-from lib.rdcl_graph import RdclGraph
-
-logging.basicConfig(level=logging.DEBUG)
-log = logging.getLogger('OsmRdclGraph')
-
-class OsmRdclGraph(RdclGraph):
-    """Operates on the graph representation used for the GUI graph views"""
-
-    def __init__(self):
-        pass
-
-
-    def build_graph_from_project(self, json_project, model={}):
-        """Creates a single graph for a whole project"""
-
-        #print "json_project ",json_project
-        graph_object = {
-            'vertices': [],
-            'edges': [],
-            'graph_parameters': {},
-            'model': model
-        }
-        try:
-            positions = json_project['positions'] if 'positions' in json_project else False
-            log.debug('build graph from project json')
-
-
-        except Exception as e:
-            log.exception('Exception in build_graph_from_project')
-            raise
-
-        return graph_object