nochmla orga angepasst
This commit is contained in:
parent
1dbb3b127e
commit
5a830cf48e
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
|
|
@ -112,7 +112,7 @@ function setNodeTemplate(obj, diagram) {
|
|||
var items = new ej.data.DataManager(data);
|
||||
|
||||
var diagram = new ej.diagrams.Diagram({
|
||||
width: "1000px", height: "600px",
|
||||
width: "1400px", height: "800px",
|
||||
dataSourceSettings: {
|
||||
// set the unique field from data source
|
||||
id: 'id',
|
||||
|
|
@ -154,12 +154,12 @@ function setNodeTemplate(obj, diagram) {
|
|||
|
||||
if(obj['properties']['data']['id'] == 'parent'){
|
||||
image.id = obj.id + '_pic';
|
||||
image.width = 250; image.height = image.width/2; image.style.strokeColor = 'none';
|
||||
image.width = 325; image.height = image.width/1.5; image.style.strokeColor = 'none';
|
||||
image.source = obj.data.imageUrl;
|
||||
}
|
||||
else{
|
||||
image.id = obj.id + '_pic';
|
||||
image.width = 75; image.height = 75; image.style.strokeColor = 'none';
|
||||
image.width = 100; image.height = 100; image.style.strokeColor = 'none';
|
||||
image.source = obj.data.imageUrl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue