001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    
005    package graphlab.plugins.visualization.corebasics;
006    
007    import graphlab.graph.graph.EdgeModel;
008    import graphlab.graph.graph.GraphModel;
009    import graphlab.graph.graph.VertexModel;
010    
011    import java.awt.geom.Point2D;
012    import java.util.HashMap;
013    
014    /**
015     * @author Rouzbeh Ebrahimi
016     * Email: ruzbehus@gmail.com
017     */
018    public interface VisualizationInterface {
019        /*
020          @param g
021         */
022        public void setWorkingGraph(GraphModel g);
023    
024        public abstract HashMap<VertexModel, Point2D> getNewVertexPlaces();
025    
026        public abstract HashMap<EdgeModel, Point2D> getNewEdgeCurveControlPoints();
027    }