Questions tagged [graphiti-js]

Graphiti JS GraphLib, is a Javascript library, based on Raphael and companion of Draw2D, for SVG rendering of vector based shapes and diagrams on the client side.

http://draw2d.org/graphiti/jsdoc/

Not to be confused with Eclipse Graphiti

19 questions
3
votes
1 answer

Trying to get raw Graphite data for multiple graphs in one call... is it possible to nest targets?

To make my Graphite graphs more customizable and interactive, I am switching from Graphiti to getting the raw data and plotting it with a Javascript library (flot). I am getting raw JSON data from Graphite for each graph on my page about every 10…
user1873950
1
vote
2 answers

How to create two input ports and two output ports in diamond?

I want to create two input ports and two output ports, I have tried it in diamond shape as: this.createPort("input"); this.createPort("input"); this.createPort("output"); this.createPort("output"); but the above code doesn't work as required, it do…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

js-graph.it: How to add Blocks dynamically and build the connections using the Connectors

I am using the js-graph.it based on the documentation provided here and the JS/CSS sample provided here. I am using jQuery to create the Blocks and Connectors dynamically. But for some reason, I am unable to create the Blocks and Connectors. Can…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
0
votes
0 answers

Graphql query from array object

I have a mongoose schema like this: var MoviesSchema = new mongoose.Schema({ name: String, collections: [String] }); var Movie = mongoose.model('Movie', MovieSchema); I'm using graphiti to generate the graphql schema automatically. I'm able to…
Vimalraj Selvam
  • 2,155
  • 3
  • 23
  • 52
0
votes
0 answers

I want Tooltip functionality in draw2d 2.3.0?

Please provide me tooltip functionality in 2.3.0. As Library change will effect other parts of the application. So I need to have that functionality in this library itself. Thanks in advance.
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

Resizeable but not draggable in draw2dTouch

I have tried somthing like this in draw2dTouch: this.setSelectable(true); this.setDraggable(false); this.setResizeable(true); but the behaviour is not expected as it should be. So please check if this is the library bug due to new release. Because…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

How to set z-index in draw2dTouch/Graphiti?

Ho can I set the z-index of any shape or element in draw2dTouch/Graphiti. Please help me as soon as possible.
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

Is there any tooltip functionality in Graphiti?

Is there any tooltip functionality, so that on mouse over of any shape(node) it will appear showing the information for the shape. Thanks in advance:)
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
2 answers

How to overcome the port detach issue?

In this example : Undo/Redo Drop the start node on to the canvas. Mousedown on the port and drag it. Now while dragging press RIGHT CLICK. Now the issue is that the port become detach from the start node. It should not be happen. Please look in to…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

Is there any resizeable limit for a shape in Graphiti?

In the Graphiti example : Drag And Drop Edit Policy When we drag any shape then it is draggble to some limited area that we have defined. But when we are going to resize any of the shapes then it got resize outside the dragging limit(no limlt for…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

Change the default connection router in graphiti?

When you connect two ports in graphiti (by mouse dragging) a default connection router is used. How do I change this to let's say a bezierConnectionRouter ?
Stig Husby
  • 1,677
  • 12
  • 15
0
votes
1 answer

How to make specific sides of rectangle to be resizable?

I want to make few or single side of rectangle to be resizable in Graphiti. If anybody has any idea then please help me. Thanks in advance.
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

How to control connection after deletion of node?

Here is the example of Undo/Redo : Undo_Redo_Delete I did the following steps : Drag and Drop start and end nodes. Connect them via ports. Delete end node. Now again drag end node. This time I again try to connect start and end node , but it shows…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

Can SVGFigure be scaled as VectorFigure in Graphiti?

I have been playing with the demos of Draw2D Graphiti, just curious to know if its possible to scale (change width/height in editor) SVGFigure for example the OpAmp, just like how basic shapes can be scaled ? Thanks.
Zakiullah Khan
  • 1,445
  • 2
  • 15
  • 26
0
votes
1 answer

Is it possible that I am using input and output ports directly on Raphael.js rectangle object?

I want to know that can u used Graphiti.js Input/Output ports on Raphael.js Rectangle Objects? so that it is easy for me to get functionality for set operation.
1
2