001    package nl.cwi.sen1.visplugin.graphplugin;
002    
003    import java.awt.Font;
004    
005    import prefuse.util.ColorLib;
006    
007    /**
008     *
009     * @author A. Belgraver
010     * @author Anton Gerdessen (reviewer)
011     * @author Jurgen Vinju
012     * @date 07-3-2007
013     */
014    public class GraphConstants {
015    
016        public static final String GRAPH = "graph";
017        public static final String NODES = "graph.nodes";
018        public static final String EDGES = "graph.edges";
019        public static final String COLOR = "color";
020        public static final String LAYOUT = "layout";
021        public static final String LABELLAYOUT = "label-layout";
022        public static final String LABELS = "labels";
023        public static final String LABEL  = "label";
024    
025        /**
026         * Node background color.
027         */
028        public static final int NODE_FILLCOLOR = ColorLib.rgb(245, 245, 245);
029    
030        /**
031         * Node outline color.
032         */
033        public static final int NODE_LINECOLOR = ColorLib.rgb(0, 0, 0);
034    
035        /**
036         * Node text font.
037         */
038        public static final Font NODE_FONT = new Font("Helvetica", Font.PLAIN, 12);
039    
040        /**
041         * Text color
042         */
043        public static final int TEXTCOLOR = ColorLib.rgb(0, 0, 0);
044    
045        /**
046         * Edge arrow color.
047         */
048        public static final int ARROWCOLOR = ColorLib.rgb(0, 0, 0);
049            
050    
051    }