a javascript lib, describe the relationship of entities with svg, base on raphael.js