Trigger Touch Events for Palette
@Ranjith_Rajendran wrote: Hi Team, I could not able to trigger the touch events TouchDown,TouchUp,TouchMove and TouchLeave from the PaletteControl.I am just triggeringr the event in code behind file...
View ArticleAllow palette Scroll for Touch but not for mouse
@Ranjith_Rajendran wrote: Hi, I would like to scroll a palette list for touch events and at the same time it should not get scroll for mouse events.Is that possible? Posts: 3 Participants: 2 Read full...
View ArticleLinks not respecting portIds when layout.isInitial is set to false
@jkainth wrote: I am using the TreeLayout where i persist the location information. When i allow for auto layout, the graph respects the portIds - everything is good. But when I don't do the initial...
View ArticleDiagram size equal to Section size
@nitin291989 wrote: How to make the diagram size (with blue border) equal to the section size (black dotted border). image.png1438x391 23.2 KB Posts: 4 Participants: 3 Read full topic
View ArticleReset Zoom
@nitin291989 wrote: How to reset the diagram to the initial view programmatically? Suppose, i have zoomed-in and now want go back to the original view which was visible firstly, when diagram was...
View ArticleDragZooming with DoJo
@nitin291989 wrote: How to use DragZoomingTool, an extension which is used for zooming a particular part of a diagram using a drag-Box, with DoJo? Posts: 1 Participants: 1 Read full topic
View ArticleMouseDrop : How can I know what object is being dropped
@anildes wrote: mouseDrop: function(e, node) { console.log("The node in mousedrop is ",node.data.key); console.log("The draged part is ",part); } Here is I always see the background node , How can I...
View ArticleTree Layout - subNodes Alignment
@VojuCZ wrote: Hi, can you help me get me from this: gojs_1.PNG1071x394 17.5 KB something like this: I tried edit layout settings, but i didnt find parameters values and their functions. code:layout:...
View ArticleChanging precision of points in model
@ethar1 wrote: Dear all,Any update, I just need to use my point structure"points" :[{"x" : 382.57772043949024}, { "x" : 315}]not "points" : [135.2847602000331, 115.81426167116703, , , ] Thanks in...
View ArticleAdding a tool to the ToolManager
@nitin291989 wrote: Could you please explain the following function call: myDiagram.toolManager.mouseMoveTools.insertAt(2, new DragZoomingTool()); What is meaning of insertAt and its first argument...
View ArticleWhy it say's mypallete is undefined?
@anildes wrote: I have declared my own paltte in planogram.html as shown below myPaletteAssembled.model = new go.GraphLinksModel([ { key: "Rackassembledpatchpanel", color: green,...
View ArticleSupport IE v11
@kenai wrote: Hello Dear Walter,I want to know GoJS v1.6.16 can support Internet Explorer v11. I think it's not supported right? Posts: 3 Participants: 2 Read full topic
View ArticleDiagram node to use properties from related palette node
@Dominic.Lerbs wrote: Hi, when dragging a node from the palette to the diagram all nodeData properties are copied to the new diagram node.Is there any mechanism for copying only some of the...
View ArticleCustom text editor
@Mickey wrote: I have this custom text editor. It solves some editing problems but have one bug with TextEdited diagram event. Value of event.parameter is new string instead of previous text like in...
View Article我该怎么设置线条重叠时的效果
@wenbi wrote: 当我拖动使线条重叠时,我想要让重叠部分是相通的,就像形成一个十字路口,我看了https://gojs.net/latest/samples/logicCircuit.html例子,效果跟我需要的差很多 Posts: 2 Participants: 2 Read full topic
View ArticleMaterial Icons in IE11 not showing
@Andreas wrote: I've implemented a function, which provides a button with an icon on it. Material Icons (Google) are included via bower. $(go.TextBlock, { text: 'zoom_out_map', stroke: '#000', font:...
View ArticleNumber Spinner using GoJS
@nitin291989 wrote: Is it possible to create a Number Spinner using GoJS, which looks like as follows: Breadth : Posts: 2 Participants: 2 Read full topic
View Article有关于线条路径会错误的问题
@wenbi wrote: image.png793x609 134 KB 我参照官网例子做了一个简单的效果,但是我发现会出现图中的问题,我该怎么设置,才能让路劲朝着正确方向走,打X的是错误的,打√的才是正确的 Posts: 3 Participants: 2 Read full topic
View ArticlemakeImageData function sometimes output a img with black border
@hoganhan wrote: Hi, image.png782x540 35.8 KB as the image shown above, it has a black border on the right and bottom side, and here is my code for it mainDiagram.makeImageData({ background: "white",...
View ArticleHow to get new link data that created on drop of node on link?
@suprith_sa wrote: we have a optionwhere user can drag and drop a node on link existing like below ifels.PNG744x149 2.87 KB i can get the oldlink detail that is from call service to if else but how...
View Article