What I am trying to do is make a element with custom class for ports and path so that I can add an element with custom path and my own markup for ports.This way when I create an element I will pass dynamic path for its shape just like elements of pat...
I have an FSA in joint.js, and I need to make the states (circles) semi-filled to specific ratios, like 1/2 or 1/6, starting from the bottom of the circle. The tricky part is that it needs to be  done twice - A larger semi-fill and a smaller semi-fil...
I noticed that jointjs do support zoom in/out as of http://www.jointjs.com/ But could not find any examples.  Please help me with the steps to zoom in/out the result graph created by jointjs within a <div>?...
Once a link is created, hovering over it presents the red (X) to delete it.   Clicking this will fire a sequence of events  (collected by subscribing to the 'all' event):   cell:pointerdown link:pointerdown cell:pointermove (x5, seems dubious...
I'm new to javascript and SVG and I have no graphical programming background and this is my first project using all of those. So I started to make a custom element just like Mike Goodwin answer proposed and I ended with this code after editing it...
I'm looking for a good JavaScript Diagram library for a project, can be commercial.    Mandatory Requirements:        Highlight connected lines and components when clicking a component (or hovering)   Ability to switch the image of a component (...
I want to create a custom element with new attributes, I created my custom element like that but I need a new attribute to store information about the element.  joint.shapes.basic.newRect = joint.shapes.basic.Generic.extend({  markup: '<g clas...
I am always seeing this exception when I try the Hello World example from the JointJS site:  Uncaught TypeError: Cannot call method 'getStrokeBBox' of undefined   Here's the code:  <!DOCTYPE html> <html> <head> <!-- &...
I noticed that JointJS links can be removed by hovering over them and clicking the big red X that appears.  But I was wondering if it is possible remove an element once it has been created, without knowing the variable name.  onCreateButtonClick(func...
I created a diagram with JointJS cells and now I want to change the label of a cell by clicking on it. When I click on a cell a modal pops up and I enter a new text. The text will be stored in a variable. When the modal closes the label of the clicke...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.