Quantcast
Channel: GoJS - Northwoods Software
Browsing all 7069 articles
Browse latest View live

如何用一个 按钮来控制画布是用自动布局还是json数据的位置信息来布局?

@Meizhizhi wrote: 如何用一个按钮来控制画布开启或者关闭画布的自动布局,比如,用户手动拖动,保存用当前位置信息重新渲染画布了,可是想回到之前自动布局的状态,如何控制画布的自动布局的开启呢?… Posts: 1 Participants: 1 Read full topic

View Article


Image may be NSFW.
Clik here to view.

链接如何从节点下方的图片穿过去,而不是有边距呢?

@Meizhizhi wrote: 如上图,li链接可以直接从图片的下方穿过去吗?不想要边距… Posts: 1 Participants: 1 Read full topic

View Article


How to create Treeview manually by GoJS

@sepehrian wrote: I’m new at GoJs. I found topic on the website about treeview. it generate an automatic tree with 500 nodes https://gojs.net/latest/samples/treeView.html I’m wondering how to create...

View Article

Image may be NSFW.
Clik here to view.

Link arrow problem

@ahmetgundogdu wrote: How do I fix it normally needs to be like this This problem occurs in the link code link arrow. How do I solve this problem? All code is below: <script id="code"> var...

View Article

Whether goJs supports rendering flowcharts directly based on BPMN's data format

@KouYidong wrote: The demo in goJs renders the flow chart in json format required by goJs, Can render flowchart directly in BPMN format?Thank you for answering my questions Posts: 2 Participants: 2...

View Article


Click is not a function

@v.programmer wrote: I need to programmatically click on node. I try the following code, but it does not work: public palette: go.Palette = new go.Palette(); const inputEvent = new go.InputEvent();...

View Article

DiagramListener TreeExpanded not being called?

@vertice wrote: I am trying to capture TreeExpanded and TreeCollapsed events, but the respective listeners are not being called. I have implemented the listeners as follows:...

View Article

Node text not displaying using GraphLinksModel

@HumanPerson wrote: Using the TreeModel, all the node data is loaded and is visible by simply giving it the array of objects. Unfortunately, I haven’t had any luck yet getting GraphLinksModel to...

View Article


Modify Dragged Node Property

@uuk007 wrote: Hi, While dragging the Node and placing it in the same diagram, want to modify some of the properties. For example i have a node named “Service”. I dragged the item (Using ctrl + mouse...

View Article


Uncaught:RangeError:Maximum call stack size exceeded

@Xieguoiang wrote: The reason for this error is that I have read some of the past topics, and I got a circular reference in the data, but I need a little bit of help from the goJS team. 1.The data...

View Article

Image may be NSFW.
Clik here to view.

我的节点上绑定的图片,如何通过点击按钮来自定义设置节点大小。

@Meizhizhi wrote: image.jpg1412×582 146 KB 我的节点上绑定的图片,如何通过点击一个按钮传入宽高,来设置节点的大小,并且节点内的图片自适应呢?… Posts: 1 Participants: 1 Read full topic

View Article

Font Style is not copied in the Node

@ram4unetcore wrote: Hi, I am using "Nunito", sans-serif font style from google fonts for my Nodes and Links, But it is not inheriting same fonts. Please tell me how can I add a similar font to the...

View Article

Diagram erased on Chrome browser forward button click

@dustinormond wrote: I have built a diagram that works fantastic but I am noticing some odd behavior. When a user clicks the back button in the browser and then the forward button to go back, the...

View Article


How do I get the upper left and lower right positions of each node

@KouYidong wrote: Excuse me, after reading the document, I did not find the party that can obtain the upper-left and lower-right position of the node, but only found that the location can obtain the...

View Article

Image may be NSFW.
Clik here to view.

GoJS Tree layout and links

@akashskan wrote: Hi, I’m trying to build a graph with tree layout structure I have made node templated changes and also link template, still, somehow links are getting tangled or overlap each other,...

View Article


Image may be NSFW.
Clik here to view.

How to put text on top of rest of node?

@the_lying_lama wrote: Hello, Is it possible to align the text outside of a shape ? Eg : I want the text block ‘Step-down transformer’ in this case, outside of a shape. Currently, i am using this in...

View Article

How to make adornment stay visible on outside click

@Abhishek wrote: I was using selection adornments to show an extra part of the main object on selection of that object. But now i want to toggle it using a button and it should stay visible on...

View Article


Automatic Scale formula

@Tany wrote: Hi, Sometimes a diagram contains lots of nodes and links and some of them are not seen unless the user scroll vertically or horizontally in order to view them. I’m looking for a formula...

View Article

Image may be NSFW.
Clik here to view.

Controlling distance between nodes in ForceDirectedLayout

@Tany wrote: Hi, I use ForceDirectedLayout to show nodes and links. I tried to set defaultElectricCharge:150, defaultSpringLength:100, infinityDistance: 10 maxIteration : 500 And the result i got...

View Article

Image may be NSFW.
Clik here to view.

nodeRotateAdornmentTemplate center shape

@ahmetgundogdu wrote: I want to center the way it rotates. I tried, but it doesn’t work const rotateImage =...

View Article
Browsing all 7069 articles
Browse latest View live