Questions tagged [rappid]

An HTML5 framework for for building visual tools, with the JointJS library at its core.

Rappid is an HTML5 framework for for building visual tools, with the JointJS library at its core.


Documentation


Related tags

92 questions
1
vote
1 answer

Label to flows in JointJS

I'm working with jointJs and Rappid. I know how to draw a bpmn diagram, as the photo I have attached. I'm drawing the elements, but I'm having some problems with rows (flows). Is there any way to add a flow label or name? As I added on my image in…
Zuri
  • 312
  • 3
  • 18
1
vote
2 answers

Implement Rappid with angular 2

I am working on a angular 2 application wherein I have to implement rappid in one of component and had already purchased a licence of rappid with which I have got the licenced rappid.js file. Facing issues on how to integrate rappid with Angular…
Anil Saini
  • 627
  • 3
  • 17
1
vote
1 answer

How to use rappid.js & joint.js with angular 2?

I want to use rappid and joint.js inside one of component of my angular 2 application. I have tried googling it, but didn't find a example which serves my purpose. Is there demo example or way which demonstrate how it can be used ?
Anil Saini
  • 627
  • 3
  • 17
1
vote
1 answer

How to add a new Inspector(apart from the Inspector of elements and links) in jointJS - Rappid

I want to add a 3rd Inspector which will open only for an element(not a link) of specific type, for example only for basic.Rect in Rappid. So far, there are 2 Inspectors.For elements and for links. Is there any way it can be done? The following code…
user8598044
1
vote
0 answers

How to add a text field on a jointjs element

I am new to Jointjs and Rappid. I have an element (idea_1 in this case), I want to add a note box on the top of it (as shown in the picture below) so that users can store information about the element. anyone who knows how to do it…
BeLeTh
  • 131
  • 1
  • 5
1
vote
1 answer

Rappid: implementing select2 field in the inspector, but it don't run the conditions "when"

I'm using Rappid to diagram relationship between objects. I need to customize the inspector. I want to use select2 plugin to replace select-box when the values are too many. To do that i used an example that appear in the documentation that use…
Matias Medina
  • 133
  • 1
  • 8
1
vote
1 answer

JointJS how to dynamically add options to the inspector according to a user input?

'bpmn.Gateway': { NumberofTrigger : { type: 'select', options: [ { value: '0', content: '0' }, { value: '1', content: '1' }, { value: '2', content: '2' }, { value: '3', content: '3'…
chan sam
  • 49
  • 3
1
vote
2 answers

Change JointJS Port color dynamically

I am looking to change the port colors in a JointJS graph based on some external data once the graph has been generated. I've tried the following code: var l_portsIn = this.model.get('inPorts'); if (l_portsIn.length > 0){ this.portProp…
Khalid Adil
  • 110
  • 14
1
vote
1 answer

Link arrow design in Rappid (JointJS?)

I'm using Rappid to develop a chart, and I need to modify the default arrows to look like the 1st and 3rd ones in this picture ("One" and "One (and only one)"): The best I can get gives me this though: There is either empty space or the lines are…
fpcjh
  • 273
  • 5
  • 16
1
vote
1 answer

Change color of JointJS Rappid object (via modifying different instance in the left-nav menu and also modify via Rappid Inspector color picker)?

I basically want to change the color of a JointJS shape in their RAPPID environment I'm trialing. Here is some background on what I have so far and what I want to achieve: I have a JointJS shape called ChristmasTree that extends…
armyofda12mnkeys
  • 3,214
  • 2
  • 32
  • 39
1
vote
1 answer

How to copy inspector edit text value inside element box in jointJS - Rappid

I want when writing something on the inspector displayName edit text to pass it to the inbox name of every element. My javascript code is the following: var count = 0; //Code to edit element inboxName with value given from displayName field …
1
vote
1 answer

How to differentiate dblclick, Right-click and mousewheel click on a shape dragged on to paper element JointJS Rappid

I am trying to implement code for different events on a shape which is dragged on to the paper element from stencil. pointerup event triggers a halo with options around the element. Double click event triggers some modal window and right click event…
priya
  • 21
  • 5
1
vote
1 answer

Get incoming links number for graph element in jointJS

In jointJS I want for every element to check the number of incoming connected links.So this is the code I made according to documentation but it doesn't work: _.each(this.graph.getElements(), function(element) { var inboundLinksCount =…
1
vote
2 answers

How to check a jointJS element not based on type but on stencil name instead

I want in Rappid to make a check when inserting an element inside Paper, if this element is Workitem or Activity but the only similar check I found in Rappid documentation is: if (cell.get('type') !== 'link'){//Do something} which checks if this…
1
vote
2 answers

I can't close dialog in jointJS

Here is and a screenshot I uploaded for you I have edited my post, according to your advice in comments, posting my updated version of my code.I enclose in /**/ my original post for helping you. /*In jointJS I try using a `ui.dialog` to delete all…