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 want to interactively add links to my JointJS based graph.  My idea is to create a small temporary node on pointerdown with a link from the original node to this temporary node, drag it on top of another node and on pointerup create the real link r...
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 want joint.js library to read my JSON and display it as a chart...  var paper = new joint.dia.Paper({     el: $('#paper'),     width: 600,     height: 200,     model: graph });  var graph = new joint.dia.Graph;  jsonstring = '{"empl...
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> <!-- &...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.