@jpro wrote:
We are using SVG images created via the same procedure. In Safari 9.1.3 on OSX some scale correctly while others do not.
phost.svg does NOT scale:
https://drive.google.com/file/d/1k7JVz63EtxYfsFr3Vh9JDPSIOvMhGaDk/view?usp=sharing
router.svg does scale:
https://drive.google.com/file/d/1-chsoLLI63zTpqZMkc31MkV4ulUsD0KP/view?usp=sharingdiagram.nodeTemplateMap.add('phost', $(go.Node, "Table", {}, // main node shape $(go.Shape, "RoundedRectangle", { row: 0, column: 1, parameter1: 10, name: "SHAPE", fromSpot: go.Spot.RightSide, toSpot: go.Spot.LeftSide, portId: "", stretch: go.GraphObject.Fill, fill: DISPLAY.nodeColor, strokeWidth: 0, minSize: new go.Size(60, 0) } ), // internal panel layer $(go.Panel, "Auto", { row: 0, column: 1, shadowVisible: false, padding: new go.Margin(7, 10) }, $(go.Picture, {source: "images/phost.svg", scale:1}))));
Posts: 6
Participants: 3