public static void RegisterGraphVisualizer(string name, IGraphVisualization instance)
 {
     if(!hash.ContainsKey(name))
     {
         hash.Add(name, instance);
     }
 }
 public static void RegisterGraphVisualizer(string name, IGraphVisualization instance)
 {
     if (!hash.ContainsKey(name))
     {
         hash.Add(name, instance);
     }
 }
Ejemplo n.º 3
0
        public GraphologistComponents(IGraphTraversal graphTraversal, IGraphVisualization graphVisualization)
        {
            if (graphTraversal == null)
            {
                throw new ArgumentNullException("graphTraversal");
            }
            if (graphVisualization == null)
            {
                throw new ArgumentNullException("graphVisualization");
            }

            this._graphTraversal     = graphTraversal;
            this._graphVisualization = graphVisualization;
        }
Ejemplo n.º 4
0
        public Graphologist(IGraphTraversal traversal, IGraphVisualization visualization)
        {
            if (traversal == null)
            {
                throw new ArgumentNullException("traversal");
            }
            if (visualization == null)
            {
                throw new ArgumentNullException("visualization");
            }

            this._traversal     = traversal;
            this._visualization = visualization;
        }
Ejemplo n.º 5
0
        public GraphologistComponents(IGraphTraversal graphTraversal, IGraphVisualization graphVisualization)
        {
            if (graphTraversal == null) throw new ArgumentNullException("graphTraversal");
            if (graphVisualization == null) throw new ArgumentNullException("graphVisualization");

            this._graphTraversal = graphTraversal;
            this._graphVisualization = graphVisualization;
        }
Ejemplo n.º 6
0
        public Graphologist(IGraphTraversal traversal, IGraphVisualization visualization)
        {
            if (traversal == null) throw new ArgumentNullException("traversal");
            if (visualization == null) throw new ArgumentNullException("visualization");

            this._traversal = traversal;
            this._visualization = visualization;
        }