Changing SVG icon color using css or js
@Tany wrote: Hi is it possible to use a single SVG icon for a node, and change its color depending on an attribute, either via js or via css “webkit-mask-image” attribute. currently we need to create...
View ArticleUnable to get actual bounds of adornment when binding the "visible" event to...
@Abhishek wrote: Some times i am not getting some properties of the actual bounds on visible event. perfect condition is like this for adorn.actualBounds $: 330.15000000000003 G: 895 H:...
View ArticleGojs初始化渲染位置让他从左侧开始渲染
@chenguanglin wrote: When gojs initializes rendering, it defaults to center rendering. How to let the left side of the initialization graph start rendering? 微信图片_20190611004601.jpg1920×1080 532 KB...
View ArticlelinkDataArray delete a link - Sever interation
@ArunPrabhu wrote: Hi, We have an application where we create a node and connect that node to another node. once user create his diagram he can save the design. Here is our problem :- whenever we...
View ArticleHyperlinkText and Typescript usage
@Rajeshpatil74 wrote: I am developing a SPfx component using React Typescript and needs to use HyperlinkText. How to import that file so it can be used while defining template? Posts: 2 Participants:...
View ArticleNode connection issue
@leonide077 wrote: I have groups with nodes. There is a connection between nodes from different groups. Problem: Lets suppose, node x from group B is connected to group A-s y. {from:x to:y}. If I open...
View ArticleGet links in mouseOver event of node
@safwan wrote: I would like to show different color to output links when the mouse is over the node. is there a way to get the links connected to the node when mouseOver the node? Posts: 2...
View ArticleDisplay digram nodes with negative coordinate
@AlexZanel wrote: When diagram nodes with negative coordinates are displayed, they come from the edge of the palette. Can I make them appear immediately in the center? Demo -...
View ArticleScrolling table not sizing to parent table width
@Roland wrote: I am trying to get a scrolling table to work inside of another table. But when I add the scrolling table inside, I seem unable to get the scrolling table to match the width of its...
View ArticleHide links between groups and nodes
@leonide077 wrote: I have net with different connections using links and I am interested in making condition for specific connection. Problem I am experiencing: I want someone to help me to hide each...
View ArticleStrange Layout Bug
@vander wrote: I am running into an extremely odd problem with link routing on a layered digraph. I have the layout in the image below: gojs_numbers.PNG989×880 27.5 KB However, if for the labels I...
View ArticleExternal objects dropped on to the grid have values set for the older objects
@AmoghRaghuram wrote: We have a palette with several objects in our Angular application. These objects have several keys. Once after we drag and drop objects on to the screen, we set values for them....
View ArticleRestrict the Move of objects in area
@Abhishek wrote: I am setting an image as background. it is being set from 0,0. is there a way an object placed over the layout can not be moved beyond the boundaries of that image which is set as...
View ArticleKanban board subgraph
@ap wrote: Hi, I am working with Kanban board example. Is it possible to set lanes to “isSubGraphExpanded=No”(=minimize) at starting? … … Thanks in advance. Posts: 2 Participants: 2 Read full topic
View ArticleHow to add a segmentation point to a polyline like a link
@fecn wrote: I want to achieve the effect of the following pictures on the polyline. Who can tell me how to do it? If you can give me an example, I would be grateful. Posts: 1 Participants: 1 Read...
View ArticleElementFinished in makeSvg
@agv wrote: Hello, I tried using elementFinished in makeSVG to change all the white stroke to black stroke in a graphobject. But I´m obtaining this: At the Diagram i have this: This is my makeSVG...
View ArticleRotate 90 degree shape when zoom in it disappear
@BATU wrote: https://gojs.net/latest/extensions/RotateMultiple.html Rotate 90-degree shape when zoom in it disappear Jun-18-2019 20-10-42.gif518×522 1.26 MB Posts: 1 Participants: 1 Read full topic
View ArticleNodes should always have positive coordinates
@AlexZanel wrote: Document coordinates have a negative area on the x and y axis. Nodes must have positive coordinates. But when dragging a node to the left or up, its coordinates will become negative....
View ArticleIs there a way to tell if node/part is in Palette or in diagram
@Abhishek wrote: I want to hide selection adornment if in palette and for that i have binded visible property to a function in which we can get that part, but is there any property of that part which...
View ArticleHelp! When dragging a node consisting of several geometric figures,...
@scaperow wrote: as shown: codes below: let somPalette = ...; let template = $(go.Part, "Viewbox", { width: 40, height: 40 }, $(Go.Panel, "Postion", new go.Binding("itemArray", "itemArray"), {...
View Article