@@ -0,0 +1,1958 @@
+package me.teaisaweso.client;%0A%0Aimport me.teaisaweso.shared.Graph;%0Aimport me.teaisaweso.shared.Vertex;%0Aimport me.teaisaweso.shared.VertexDirection;%0A%0Apublic interface GraphManager2d %7B%0A%0A    /**%0A     * gets the underlying graph for this 2d representation%0A     * %0A     * @return a new graph instance%0A     */%0A    public Graph getUnderlyingGraph();%0A%0A    /**%0A     * adds a vertex to the graph%0A     * %0A     * the vertex may not be centered at the passed location%0A     * %0A     * @param v%0A     *            the vertex to be added%0A     * @param xPosition%0A     *            the center x position of the vertex%0A     * @param yPosition%0A     *            the center y position of the vertex%0A     */%0A    public void addVertex(Vertex v, int xPosition, int yPosition, int size);%0A%0A    /**%0A     * removes a vertex from the graph%0A     * %0A     * @param v%0A     *            the vertex to be removed%0A     */%0A    public void removeVertex(Vertex v);%0A%0A    /**%0A     * moves a vertex to a given position%0A     * %0A     * the vertex may not be centered at the passed location%0A     * %0A     * @param v%0A     *            the vertex to be moved%0A     * @param xPosition%0A     *            the new center x position of the vertex%0A     * @param yPosition%0A     *            the new center y position of the vertex%0A     */%0A    public void moveVertexTo(Vertex v, int xPosition, int yPosition);%0A%0A    /**%0A     * changes the size of a vertex%0A     * %0A     * may displace this or other vertices%0A     * %0A     * @param v%0A     *            the vertex to have it's size changed%0A     * @param newSize%0A     *            the new size of the vertex in pixels%0A     */%0A    public void scaleVertex(Vertex v, int newSize);%0A%0A    /**%0A     * adds an edge between two vertices%0A     * %0A     * @param v1%0A     *            the %22from%22 vertex%0A     * @param v2%0A     *            the %22to%22 vertex%0A     * @param dir%0A     *            the edge direction%0A     */%0A    public void addEdge(Vertex v1, Vertex v2, VertexDirection dir);%0A%0A%7D%0A

add a graphmanager2d interface