--
---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Excellent! Thank you.
--
---
You received this message because you are subscribed to a topic in the Google Groups "JointJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jointjs/0O7KKQMnLeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jointjs+u...@googlegroups.com.
Hi guys,
By way of comparison, I'm currently implementing this using node & express, for the server side, plus jade for templates. Currently my data is static json files, but I'm moving to Mongodb.
Cheers
Andrew
--
---
You received this message because you are subscribed to a topic in the Google Groups "JointJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jointjs/0O7KKQMnLeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var rect = new joint.shapes.basic.Rect({
position: { x: 100, y: 100 },
size: { width: 70, height: 30 },
attrs: { text: { text: 'my rectangle' } }
}); // create a cell
var graph = new joint.dia.Graph(); // instantiate the graph
graph.addCell(rect)
; // Add the cell to the graph
var jsonString = JSON.stringify(graph.toJSON());
//...store the JSON to your local disk
// ...retrieve the JSON from your local disk
var data = JSON.parse(jsonString); // unserialize the JSON that was stored to disk
graph.fromJSON(data); // draw the graph, using the JSON retrieved from disk
--
---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
hi dave i want your help.my requirement is i have a table in sqlserver database table having 2 fields FacilityId and FacilityName iam getting both Column values into controller is fyn but i want to create dynamically for every FacilityName one rectangle and display text as FacilityName and maintain FacilityId as background value for that Rectangle.