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

Adding new stencil option in BPMN editor with Rappid JS

I am using trial version of Rappid JS which has stencil with default options in bpmn editor. I need to add new element in the list so that I could use it and append inspector form associated with it. Below is my code which i tried. This is required…
Dev
  • 11
  • 1
  • 4
0
votes
2 answers

How to Add an image in the center of an Atomic shape in jointJS-Rappid

Is there any way I can add an image in the center of an Atomic shape which has 3 in-ports and 3 out-ports? I don't want a solution exclusively for an Atomic shape. It could be a custom shape but in case of a custom shape I want it to have in-ports…
0
votes
2 answers

Flow Diagram to JSON and vise versa

i am working on a project for developing Flow diagram using jointjs and i want to dynamically convert flow diagram to json and vise-versa also.I am new in this field so please help
Shubh
  • 1
  • 1
  • 2
0
votes
1 answer

How to change the default Link name of the graph in jointJS - Rappid

In every new created link in jointJS, over this link there is the default name "Name". How will I change it to my own name, e.x. the content of a var test ? My link javascript code is the following: //New Transition this.paper = new…
user7430373
0
votes
1 answer

Display Ports Dynamically in JointJs

Is it possible to show ports programmatically in JoinJS? This is what I want to do. Using RappidJs. Would like to not show ports in Stencil. Show the ports after dropping cell on paper. I see API for addPort and removePort but don't see anything…
Sanjay Parmar
  • 67
  • 1
  • 1
  • 7
0
votes
2 answers

joint.setTheme is not a function in JointJS-Rappid

I am trying to set theme for my application.I included the dependent files in the order jquery,lodash,backbone,graphlib,dagre,keyboard,rappid and localJs file. when i tried to set the theme with joint.setTheme(dark); it throws an error in the…
priya
  • 21
  • 5
0
votes
1 answer

change port color when cell is moving

I use jointjs / rappid. I would like to change the attributes of a port (e.g. the color of the inPort: in0_2) when the cell is moved. How can I get access to these attributes? Example of a cell:…
Dieter
  • 31
  • 3
0
votes
1 answer

change automatic positioning of ports

With Rappid 1.6 trial I used getPortattrs to change the position of the ports. Instead of attrs[portSelector] = { ref: '.body', 'ref-y': (index + 0.5) * (1 / total) };, I use my own rule. But with Rappid V2 this is not working any more and I can’t…
Dieter
  • 31
  • 3
0
votes
4 answers

Graph search for element by element's name in jointJS

I have a problem in Rappid/jointJS I have in stencil.js 4 shapes(2 basic.Circle and 2 basic.Rect) with names START(basic.Circle), END(basic.Circle), Activity(basic.Rect) and Workitem( basic.Rect) and I want in my main.js from all my graph to get…
0
votes
1 answer

How to autocapitalize an inspector text field in jointJS/Rappid

In jointJS I want when editing in an inspector text field to autocapitalize it. Do I have to alter inspector.js code or to create a new var in my main.js code to do it? In jointJS documentation there is no reference for capitalize feature. Is this…
0
votes
1 answer

I can't keep my previously saved popup form data when I reload my form using Javascript - jointJS

In function form, using Javascript - jointJS I try to make a form which is displayed when I press a button. I want to keep my data after writing them down in my form and when I try to display my form for the second time to be able to view them in…
0
votes
1 answer

JointJS drawing multiple custom connectors to an element

I'm using my own custom connector implementation and i want to be able to consider other connectors to the same elements in order to calculate the source and target points better. joint.connectors.custom = function (sourcePoint, targetPoint,…
liron
  • 113
  • 1
  • 6
0
votes
1 answer

Treelayout in Jointjs

I have a problem with the jointjs/rappid library. I'm using it for rendering the organization diagram and there are over 200 employees. I successfully used the TreeLayout for rendering them out, however they are not stacking in the deeper branches,…
0
votes
1 answer

Rappid.js - getScreenCTM returns null in Firefox

I have encountered a problem that is causing me some headaches over the past few days. I have a web page where users can create sort of a sequence diagram (using joint.js and rappid.js v1.7.1). The idea is - an user has some nodes available that…
Bojan B
  • 2,091
  • 4
  • 18
  • 26
0
votes
2 answers

Display field based on another in JointJS

I have an inspector which contains a list of object has name and type, and my custom data. Let say i wanna display my custom data base on the choice of type attribute. I can do this with 'when' but it's only if it is the simple field with specific…