komorra / NodeEditorWinforms

Node based user control / editor for Windows Forms
MIT License
514 stars 144 forks source link

Test example? #1

Closed BruceNielsen closed 7 years ago

BruceNielsen commented 8 years ago

Any chance of a runnable test example? As it stands there's bits missing from the example usage code to get it to do anything: Error CS0535 'FContext' does not implement interface member 'INodesContext.FeedbackInfo' etc.

komorra commented 8 years ago

You are correct. At minimum implementation of INodesContext derived class should contain following members actually:

public NodeVisual CurrentProcessingNode { get; set; }

public event Action<string, NodeVisual, FeedbackType, object, bool> FeedbackInfo;

Thank you for reminding me about this :) (I'm also updated Readme.md of the project).

olivernovakovic commented 8 years ago

Thanks a lot for your work and providing the source code. I second Bruce's request: A runable test example would be very helpful to quickly test your library / control and to get things up and running faster. Thanks again!

komorra commented 8 years ago

Hi, the samples will be added soon (today probbably), but it will bring some small project structure changes (moving .csproj into the inside folder, adding sln, adding sample projects). Thanks for the request, and stay tuned :)

komorra commented 8 years ago

Hello again, now I'm added working example (math nodes), that you could check for basic usage of the framework, hope this will be useful. In the future I'm planning to add more complex examples.

olivernovakovic commented 8 years ago

Hi komorra, thank you very much for the update. This is very helpful. I have just looked into the MathSample and it seems like a very good starting point. Great work!

TurkerTunali commented 8 years ago

I am considering to use komorra for executing our BPM rules. I am evaluating right now. It seems very mature and capable. I hope I will use it.