I would like to embedded the "leaflet" javascript library into my grap like background geolocalized.
But when I do that, I've my jointjs graph under my leaflet map.
Jonathan.
var graph = new joint.dia.Graph;
var paper = new joint.dia.Paper({
el: $('#paper'),
width: 640,
height: 400,
gridSize: 1,
model: graph
});
var rb = new joint.shapes.basic.Rect({
position: { x: 100, y: 100 },
size: { width: 80, height: 40 },
attrs: { rect: { fill: 'blue' }}
});
var map = L.map('paper').setView([51.505, -0.09], 13);
}).addTo(map);
graph.addCell(rb);