GraphConstants.setAutoSize(this.attributes, true); GraphConstants.setBorder(this.attributes , BorderFactory.createLineBorder(Color.green));
GraphConstants.setBorderColor(this.attributes, Color.green.darker()); GraphConstants.setLineWidth(this.attributes, 4); GraphConstants.setBounds(this.attributes, bounds); GraphConstants.setVerticalTextPosition(this.attributes, JLabel.TOP);
	public void initDrawAttributes(GraphStructure graphStruct, Rectangle bounds)	{		this.port = new DefaultPort();		this.add(this.port);				(graphStruct.getAttributes()).put(this, this.attributes);		GraphConstants.setAutoSize(this.attributes, true);		GraphConstants.setBorder(this.attributes , BorderFactory.createLineBorder(Color.green));		(graphStruct.getGraphModel()).insert(new Object[] {this}, null, null, null, null);	}