Hi Jimmy,
That sounds like an interesting project. I'd be happy to see that. Actually, the joint.shapes.uml plugin contains the links you're asking for: joint.shapes.uml.Generalization, joint.shapes.uml.Implementation, joint.shapes.uml.Aggregation, joint.shapes.uml.Composition and joint.shapes.uml.Association are all links. For example:
var myGeneralizationLink = new joint.shapes.uml.Generalization({
source: { myClassA.id },
target: { myClassB.id }
})
graph.addCell(myGeneralizationLink)
All those links have the 'type' property that tells you what type of link it is.
Note that the Rappid demo application is just a demo, it is not meant to be a final product or so, nor it is specific to UML, it is just showing how our commercial Rappid plugin can be put together to create various diagramming applications.
We're working on documenting all the shape plugins now to make it clear what shapes they contain and how they can be used. For the time being, please look at the source code to these plugins, they should be quite readable and should tell you what shapes there are.