Skip to content

Commit

Permalink
feat(Vectorizer)!: support camel case attributes, add attributeNames …
Browse files Browse the repository at this point in the history
…static property (#2430)
  • Loading branch information
kumilingus committed Dec 12, 2023
1 parent 80ab3ee commit 5e743f3
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 147 deletions.
4 changes: 2 additions & 2 deletions packages/joint-core/demo/flowchart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ paper.on('cell:mouseenter', (cellView, evt) => {
padding,
layer: dia.Paper.Layers.FRONT,
attrs: {
'stroke-width': 1.5,
'stroke-linejoin': 'round',
strokeWidth: 1.5,
strokeLinejoin: 'round',
}
});
frame.el.classList.add('jj-frame');
Expand Down
18 changes: 9 additions & 9 deletions packages/joint-core/demo/links/src/custom-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ var link1 = new joint.dia.Link({
pointerEvents: 'none',
strokeLinejoin: 'round',
targetMarker: {
'type': 'path',
'fill': '#fe854f',
'stroke': 'black',
'stroke-width': 1,
'd': 'M 10 -3 10 -10 -2 0 10 10 10 3'
type: 'path',
fill: '#fe854f',
stroke: 'black',
strokeWidth: 1,
d: 'M 10 -3 10 -10 -2 0 10 10 10 3'
}
},
p3: {
Expand All @@ -71,10 +71,10 @@ var link1 = new joint.dia.Link({
fill: 'none',
stroke: 'black',
targetMarker: {
'type': 'path',
'fill': 'black',
'stroke': 'black',
'd': 'M 10 10 -2 0 10 -10'
type: 'path',
fill: 'black',
stroke: 'black',
d: 'M 10 10 -2 0 10 -10'
}
},
sign: {
Expand Down
Loading

0 comments on commit 5e743f3

Please sign in to comment.