Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MVVM] Vertices text is not showing up correctly #102

Open
quasar-pankaj opened this issue Jul 17, 2019 · 2 comments
Open

[MVVM] Vertices text is not showing up correctly #102

quasar-pankaj opened this issue Jul 17, 2019 · 2 comments
Labels

Comments

@quasar-pankaj
Copy link

quasar-pankaj commented Jul 17, 2019

Hello,
First of all great work! I had a look at the show case app it was awesome. As I prefer MVVM with WPF I thought I would write a MVVM sample which is attached here.
MVVMGraphX.zip
I have managed to show and move vertices but the text for vertices is not showing up correctly.
Am I missing something?
Also my intention is to display complex data using data templates and be able to edit the vertices in place. Is it possible?
Thanks,
Pankaj

@quasar-pankaj quasar-pankaj changed the title Nothing is showing up when I create a graph Vertices text is not showing up correctly Jul 17, 2019
@panthernet
Copy link
Owner

MVVMGraphX_2.zip

Here's the working project. You have to call Generate() method. Also I fixed up graph type in class overloads.

@quasar-pankaj
Copy link
Author

Thanks for the prompt reply. I must apologize as I edited the comment above. There is just one more thing I wanted to ask. I have had to use ToString() override to show the text which makes the vertex read only. I am trying to use data templates to make the vertices editable. In the code below have commented out the data template to build the code. Any other method to do so is also welcome.
MVVMGraphX.zip

@panthernet panthernet changed the title Vertices text is not showing up correctly [MVVM] Vertices text is not showing up correctly Apr 20, 2020
@panthernet panthernet added the FAQ label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants