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    package graphlab.plugins.graphgenerator.core;
005    
006    import graphlab.graph.graph.EdgeModel;
007    import graphlab.graph.graph.GraphModel;
008    import graphlab.graph.graph.VertexModel;
009    
010    import java.awt.*;
011    
012    /**
013     * a helper interface to generate graphs easily, historically the base version of graph generator extension
014     *
015     * @author azin azadi
016    
017     */
018    public interface SimpleGeneratorInterface {
019        public void setWorkingGraph(GraphModel g);
020    
021        public VertexModel[] getVertices();
022    
023        public EdgeModel[] getEdges();
024    
025        //todo: make it return GraphPoint
026        public Point[] getVertexPositions();
027    }