<div id="myJoint"></div>

var uml = joint.shapes.uml;

var graph = new joint.dia.Graph
var paper = new joint.dia.Paper({
    el: $('#paper'),
    width: 600,
    height: 400,
    gridSize: 10,
    model: graph
})

var mycss = {
    '.uml-class-name-rect' : {
        fill: "#fff"},
    '.uml-class-attrs-rect' : {
	fill: "#fff"},
    '.uml-class-methods-rect' : {
        fill: "#fff"}};

var myclass = new uml.Class({
    position: {x: 10, y: 10},
    size: {width: 220, height: 100},
    name: 'My UML Class',
    attrs: mycss});

graph.addCells([myclass]);
