File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
3535
3636 Add the yFiles dependency:
3737 ```
38- npm install <yFiles package path>/lib-dev/yfiles-26 .0.0+dev.tgz
38+ npm install <yFiles package path>/lib-dev/yfiles-30 .0.0+dev.tgz
3939 ```
4040
4141 <details >
@@ -47,7 +47,7 @@ You can learn how to work with the yFiles npm module in our [Developer’s Guide
4747 "dependencies" : {
4848 "react" : " ^18.2.0" ,
4949 "react-dom" : " ^18.2.0" ,
50- "yfiles" : " ./lib-dev/yfiles-26 .0.0.tgz"
50+ "@ yfiles/yfiles " : " ./lib-dev/yfiles-30 .0.0.tgz"
5151 }
5252 ```
5353 </details >
Original file line number Diff line number Diff line change 6060 "typescript" : " ^5.3.2"
6161 },
6262 "dependencies" : {
63- "@yworks/react-yfiles-core" : " ^2 .0.0"
63+ "@yworks/react-yfiles-core" : " ^3 .0.0"
6464 },
6565 "files" : [
6666 " LICENSE" ,
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ import {
1111 CanExecuteCommandArgs
1212} from '@yfiles/yfiles'
1313
14- // TODO move to core?
15-
1614type Recognizer = ( evt : EventArgs , eventSource : any ) => boolean
1715
1816let commandBindings : KeyboardInputModeBinding [ ] = [ ]
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ export function initializeHover(
6868 }
6969 }
7070 inputMode . itemHoverInputMode . addEventListener ( 'hovered-item-changed' , hoverItemChangedListener )
71- inputMode . itemHoverInputMode . hoverItems = GraphItemTypes . NODE
7271 return hoverItemChangedListener
7372}
7473
@@ -146,8 +145,7 @@ export function initializeSelection(
146145 * Initializes the highlights for selected or focused elements.
147146 */
148147function initializeHighlights ( graphComponent : GraphComponent ) : void {
149- graphComponent . selectionIndicatorManager . enabled = false
150-
151- // Hide the default focus highlight in favor of the CSS highlighting from the template styles
152- graphComponent . focusIndicatorManager . enabled = false
148+ // Hide the default select/focus highlight in favor of the CSS highlighting from the template styles
149+ graphComponent . graph . decorator . nodes . selectionRenderer . hide ( )
150+ graphComponent . graph . decorator . nodes . focusRenderer . hide ( )
153151}
You can’t perform that action at this time.
0 commit comments