Skip to content

chat bot chart with fixed out ports #1653

Answered by kumilingus
ArjohnKampman asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

you can reset all ports at once using the prop() method of the element.

element.prop(['ports','items'], ports, { rewrite: true });

Here's a demo:
https://codepen.io/jointjs/pen/mdpZLxM/490ce0751adcfc180ad9ab0323f6c323

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ArjohnKampman
Comment options

@kumilingus
Comment options

@ArjohnKampman
Comment options

@harrizsb
Comment options

@kumilingus
Comment options

Answer selected by kumilingus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants