<commit_before>package edu.wustl.cab2b.client.ui.dag;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.util.HashMap;

import org.netbeans.graph.api.control.GraphHelper;
import org.netbeans.graph.api.control.IGraphNodeRenderer;
import org.netbeans.graph.api.control.editor.IGraphEditor;
import org.netbeans.graph.api.control.editor.TextFieldEditor;
import org.netbeans.graph.api.model.IGraphNode;
import org.netbeans.graph.api.model.IGraphPort;
import org.netbeans.graph.api.model.ability.IDisplayable;
import org.netbeans.graph.api.model.ability.INameEditable;
import org.openide.util.NbBundle;

import edu.wustl.common.querysuite.queryobject.IExpressionId;

public class ClassNodeRenderer implements IGraphNodeRenderer 
{
	private static Font font = Font.decode("Times-bold").deriveFont(10.0f); // NOI18N
	private static Color colorFont = new Color(0, 0, 0); // 174, 100

	protected static int PORT_SPACE = 20;  // sanjeev
	protected static int PORT_SPACE_2 = 8;
	    
	private static final int LAYER_BACKGROUND = 100;
	private static final int LAYER_NODE = 400;
	private int[] layers = new int[] { LAYER_BACKGROUND, LAYER_NODE };
	private GraphHelper helper;
	
	protected Rectangle m_textRect;
	private Rectangle m_option;
	private Rectangle m_maxMinRectangle;<commit_msg>made font public<commit_after>package edu.wustl.cab2b.client.ui.dag;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.util.HashMap;

import org.netbeans.graph.api.control.GraphHelper;
import org.netbeans.graph.api.control.IGraphNodeRenderer;
import org.netbeans.graph.api.control.editor.IGraphEditor;
import org.netbeans.graph.api.control.editor.TextFieldEditor;
import org.netbeans.graph.api.model.IGraphNode;
import org.netbeans.graph.api.model.IGraphPort;
import org.netbeans.graph.api.model.ability.IDisplayable;
import org.netbeans.graph.api.model.ability.INameEditable;
import org.openide.util.NbBundle;

import edu.wustl.common.querysuite.queryobject.IExpressionId;

public class ClassNodeRenderer implements IGraphNodeRenderer 
{
	public static final Font font = Font.decode("Times-bold").deriveFont(10.0f); // NOI18N
	private static Color colorFont = new Color(0, 0, 0); // 174, 100

	protected static int PORT_SPACE = 20;  // sanjeev
	protected static int PORT_SPACE_2 = 8;
	    
	private static final int LAYER_BACKGROUND = 100;
	private static final int LAYER_NODE = 400;
	private int[] layers = new int[] { LAYER_BACKGROUND, LAYER_NODE };
	private GraphHelper helper;
	
	protected Rectangle m_textRect;
	private Rectangle m_option;
	private Rectangle m_maxMinRectangle;
{'fraction_non_alphanumeric': 0.10067567567567567, 'fraction_numerical': 0.018243243243243244, 'mean_word_length': 5.354077253218884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6347586', 'n_tokens_mistral': 1030, 'n_tokens_neox': 988, 'n_words': 212}