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
0
votes
1 answer

Is ImageFigure() Constructor present in graphiti.js like draw2d?

i found one method ImageFigure() in draw2d. So i want to know is it presnt in graphiti.js also. If it present in graphiti then it solves my problem on grouping object. Thanks In advance.
0
votes
1 answer

How to add click event on rectangle in Graphiti.js

I want to register click event on rectangle in graphiti. i tried this var innerrect = new graphiti.shape.basic.Rectangle(100, 20); innerrect.onClick = function(){ alert("Hi"); } rect.addFigure(innerrect , new…
0
votes
1 answer

How to handle figure overlapping in Graphiti?

I have a big rectangle and a small rectangle made of graphiti, now when I drag small rectangle over big rectangle then I am not able to select that small rectangle instead big rectangle got selected. In short that small rectangle doesn't has mouse…
JS Rocker
  • 148
  • 1
  • 1
  • 10
0
votes
1 answer

How to make diamond shape using graphiti?

Can you please provide me how to make diamond shape in graphiti , i have tried it using RestoreBridge example but that example is SVG import so please provide me some idea or code for making diamond like shapes ( resizable and draggable diamond…
JS Rocker
  • 148
  • 1
  • 1
  • 10
1
2