scrollMargin only adds margin vertically
@Gatix wrote: diagram.scrollMargin only adds margin to vertical scroll, not with horizontal scroll. Is this normal behavior? I've tried both scrollMargin: 100 and scrollMargin: new go.Margin(100, 100,...
View ArticleDynamic Ports sample
@n0gare wrote: Hello, I am very impressed by this example http://gojs.net/latest/samples/dynamicPorts.html But I struggle to adapt it into my code.As soon as I create a new link, I get this error:...
View ArticlecontentAlignment On Demand
@Tany wrote: Hi,I would like to Center my node's/groups on demand.To be more accurate, as soon as the user presses a key, i divide the nodes into groups and i would like to center the groups in the...
View ArticleJoin two disconnected links to obtain one link
@darioschmidt wrote: Hi, we are evaluating GoJs to build a model graphic builder. The library looks great, but we want to know if this use case could be supported. 1- The user creates nodes that...
View ArticleBind a value from a hierarchical model
@llopht wrote: Imagine a model like : { key: 'My little key', color: '#FF0000' } To bind color, it's very simple with : new go.Binding('portId', 'portId'), But In case where this "color" is encapsuled...
View ArticleChange Binding format to another format in existing diagram
@JP wrote: For existing diagram for some of the nodes have location binding format like: new go.Binding("location", "loc").makeTwoWay() // so in diagram json it binded as {...., "loc":{"class":...
View ArticleHow to display the context menu of a specific shape on left click?
@MiniXC wrote: I can assign a context menu to a specific part of a node by simply setting the contextMenu option, but I don't see an option (for go.HTMLInfo) to set the default event to left click...
View ArticleIs there any way to find hidden objects just like findObjectAt?
@anupamsinghbisht wrote: is there any way to fine hidden objects just like findObjectAt. var node = myDiagram.findObjectAt(new go.Point(p1, p2)); // ?? this only find visible nodes Posts: 3...
View ArticleImage resizing is not properly performed in Go JS
@ramesh1 wrote: I have requirement uploaded the image and resizing the image. it should be resize as per aspect ratio of image. please provide your suggestion. please find the code your reference....
View ArticleHow to use more than one type of link template?
@tesicg wrote: We have diagram with electrical elements that looks as following: As you can see there are thick black lines and some elements that could be connected to these lines. For this type of...
View ArticleChange node table text color based on event
@jvasanthu wrote: Hi Could you please advise how to change node table text color based on event. Based on event i need to refresh the diagram model. based on node data need to change the node table...
View ArticleHow to set rectangles' stroke to be dashed?
@tesicg wrote: How to set rectangles' stroke to be dashed? Posts: 2 Participants: 2 Read full topic
View ArticleHi Support
@jvasanthu wrote: Hi Once i buy the license . What I get in Support. Can i call you and discuss the technical chalenges i have or it is same as forum. Basically support means what you provide Posts: 3...
View ArticleUML Class Diagram Arrows overlap when we add new nodes to existing diagram
@mohanr.k wrote: Hi, I have implemented UML class diagram using UML Class diagram samples(http://gojs.net/latest/samples/umlClass.html). And also I implemented right click context menu to add new...
View ArticleProgramatically control state of PanelExpanderButton
@mohanr.k wrote: I have a panel with panelexpanderbutton as shown below. As shown in above screenshot I can remove the panel content by clicking on "-" button and add content to panel by clicking on...
View ArticleHow to show a selection adornment only on a icon, not whole panel
@Rey wrote: I have a Node which has a icon and a text block like this pictureI want a selection adornment show on the icon only, not whole node, like this pictureCan I do this? Posts: 2 Participants:...
View ArticleThe issue with two types of ports
@tesicg wrote: I have 2 elements. Each element has 2 ports of different type. The code looks as following: myDiagram.linkTemplate = $(go.Link, { relinkableFrom: true, relinkableTo: true,...
View ArticlePalette issue in combination with Leaflet
@n0gare wrote: Hello, I have problems to use a palette in combination with Leaflet. Since I want all the "dropped" nodes from the palette to stay on the geographic position, I am calculatiing the...
View ArticleDoes the Radial Layout Template need to be Initialized everytime for Dynamic...
@shantanoo-desai wrote: Hello again, So I have a much better understanding of using GoJS Radial Template with Angular 2 (Typescript) as I already have a Repository for Reference displaying the same...
View ArticlePort linking bad wire orientation
@llopht wrote: Hi there, I try to links two nodes, but the result wire is not in the correct orientation : The right (green) node has this properties : panel.fromSpot = go.Spot.Right;...
View Article