Geometry.parse() works but then calling normalize() causes exception
@estesbubba wrote: I have a simple path and want to normalize it so it's centered. Here is the code where I create it and normalize it (the React StartIcon isn't used in GoJS). const paths = ['M6 4l20...
View ArticleHow to conditionally display a TextBlock?
@mutt_1924 wrote: Imagine you have a node with a TextBlock for the "heading", and then for the case where there is additional info you want to add for the "body text" below the heading, you have a...
View ArticleHow do locked graphObjects
@ahmetgundogdu wrote: i want locking objects.any object or selection list.I not want move or resize or undomanager or command handler events for locked objects .How to create this state ? Posts: 1...
View ArticleHow selectable and resizable textblock?
@ahmetgundogdu wrote: Hello i use the nodeLabelDraggingTool https://gojs.net/latest/extensions/NodeLabelDragging.html i want nodelabel select and resize.how can I do that ?I have almost the same...
View ArticleGoJS version 1.8.15
@walter wrote: Link Adornments can now be of any Panel type. They are still forced into the type Panel.Link if the Part.selectionObjectName is unspecified or is an empty string, or if it refers to the...
View ArticleHow to re-implement event callback for clicking outside of custom text editor
@HJOON.KIM wrote: I implemented custom text editor for particular node.It opens a (bootstrap) dialog and the dialog has 'cancel', 'save' buttons.Gojs update node text that I modified in the custom...
View Article为什么我的TreeExpanderButton不能正常工作
@wenbi wrote: 现在,我想测试一下TreeExpanderButton的功能,但是现在它报错了,这是怎么回事呢 image.png992x269 10.3 KB image.png1055x169 13.2 KB Posts: 2 Participants: 1 Read full topic
View ArticleHow to use ParallelLayout without group?
@qwe852147 wrote: I want to use ParallelLayout to show my data which will have more split and merge (Pairs) but I don't want to use group within graph. Posts: 2 Participants: 2 Read full topic
View ArticleCan I control some node expand/collapse while others not?
@xiaoideasss wrote: for example, I want to just make leaf2 to collapse when initialize (other nodes expand ). so I add isTreeExpanded: false to leaf2 object.But it does not take effect, can anyone...
View ArticlePlaceholder desiredSize is not working
@ahmetgundogdu wrote: Hello,I resizing group template but placeholder size is not changed.my code: goMake(go.Group, "Vertical", { ungroupable: true, computesBoundsAfterDrag: true, mouseDrop:...
View ArticleApply css class to go.Picture
@Dominic.Lerbs wrote: Hello, I am creating go.Picture to be displayed as images for the nodes based on base64 encoded images: let picture = new go.Picture(); let base64picture =...
View ArticleHow to makeImage without the background
@JasonLee12345 wrote: I set the diagram's background on another layer with an image. Is that possible that I call: myDiagram.makeImage() and only generate an image without the background image? Posts:...
View ArticleDynamically add custom context menu to the nodes
@charu.chaudhari wrote: I am using Go JS 1.7 evaluation version for self project. I have a scenario in which I am creating diagram nodes and relationships dynamically, that is, by fetching values from...
View ArticleHow to disable DraggingTool copy?
@yang wrote: If the user holds down the Control key (Option key on Mac), the DraggingTool will make a copy of the parts being dragged.How to disable this feature? Posts: 1 Participants: 1 Read full...
View ArticlePolygon can't start on an image
@harmoncantillan wrote: I am using PolygonDrawingtool. Ive read on the documentation that it won't start in a mode-less fashion when the user's mouse-down is on an existing Part. I am creating a...
View ArticleAutoscroll to the blinking / highlighting node
@YogeshMohan wrote: I have scenario where i have a flow chart with 200 nodes and i am getting some live data contain key of node.Through this live data( which is coming every second) i am highlighting...
View ArticleTruncated palette
@lfrederic wrote: Hi, Our Palette div has a variable size, and sometimes a requestUpdate() on the Palette makes the inner div (the one inside the one that has the scrollbar with overflow) have a...
View ArticleAbout ForceDirectedLayout
@3q wrote: As shown in the figure, group layout, I use my own custom square layout.The overall layout of the drawing I use ForceDirectedLayout.However, what causes the overlapped nodes after the...
View ArticleLine drawing
@Anupam wrote: Can we have increments of 1 while drawing a line. Floor Planner (5).png1003x654 17.5 KB Posts: 1 Participants: 1 Read full topic
View ArticleAdd aligned TextBlock to pie shaped node
@Dor wrote: Hi, After looking at the example of dynamic pie chart https://gojs.net/latest/samples/dynamicPieChart.htmlIv'e created this node template: myDiagram.nodeTemplateMap.add("StatesNode",...
View Article