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);
     }
 }
示例#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;
        }
示例#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;
        }
示例#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;
        }
示例#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;
        }