Comments (9)
This causes a problem with refreshing the nodes tho
from nodenetwork.
It seems you have copied and modified the example code. I can't really investigate this without a reproducible example. Could you upload your code?
from nodenetwork.
I tried it in the demo project as well if you install the new propertychanged.fody it crashes
from nodenetwork.
from nodenetwork.
from nodenetwork.
Here is what happens:
After compilation, fody inserts a call to RaisePropertyChanged in any property of a class that implements the INotifyPropertyChanged interface (directly or indirectly).
Before fody:
public PortType PortType
{
get => _portType;
set => this.RaiseAndSetIfChanged(ref _portType, value);
}
private PortType _portType;
After fody:
public PortType PortType
{
get
{
return this._portType;
}
set
{
if (this._portType == value)
return;
IReactiveObjectExtensions.RaiseAndSetIfChanged<CodeGenPortViewModel, PortType>((M0) this, (M1&) ref this._portType, (M1) value, nameof (PortType));
this.ReactiveUI.IReactiveObject.RaisePropertyChanged(<>PropertyChangedEventArgs.PortType);
}
}
As you can see, this does not make sense. It seems this is not a NodeNetwork issue, but rather that PropertyChanged.Fody is not really compatible with ReactiveUI.
Is there any reason why you are not using ReactiveUI.Fody instead? It is specifically tailored for ReactiveUI, is supported by the ReactiveUI team, and seems to work perfectly here.
from nodenetwork.
Yea it is a Fody and ReactiveUI issue. When I used ReactiveUI.Fody I lost my property changed functionality did yours work or is there an extra step I am not familiar with ReactiveUI that much
from nodenetwork.
It worked fine for me after following the guide on the github page: https://github.com/kswoll/ReactiveUI.Fody/blob/rxui7beta/Readme.md
I am closing this issue because it is not related to NodeNetwork, but rather to Fody/ReactiveUI
from nodenetwork.
Ok ill give it a try
from nodenetwork.
Related Issues (20)
- The style is not applied to the elements of the NodeList HOT 2
- Validation Inifinite Loop when cascading values through nodes HOT 2
- Problem with Custom Input Editor
- Constructor behaviour HOT 2
- ListNode doesn't receive updates when create in code. HOT 2
- Facing an odd Issue in the hello world example. HOT 2
- NNViewRegistrar Pending registrations seems unusable HOT 1
- Values are not "flowing through" connections HOT 10
- How to use NodeNetwork with the WinForm project? HOT 1
- Is it possible to check the mouse click event? HOT 3
- More easy code editor in 'one line' ?
- Avalonia Port HOT 1
- Is there any way to create an auto-expanding array of ports? HOT 2
- AddEndpointDropPanel shows also if the connection is not compatible
- Documentation and project creation
- network.Nodes.Add(node1); and node1.Inputs.Add(node1Input); not working HOT 1
- How to access all the nodes
- Memory leak when adding and removing nodes HOT 2
- Is there any way to keep the nodes connected and not disconnect when dragging? HOT 2
- Displaying bound fields on nodes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodenetwork.