Git Product home page Git Product logo

wpfsamples's People

Contributors

high-core avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wpfsamples's Issues

Some technical issues...

Hello!
Actually I was following your explanations on StackExchange (https://stackoverflow.com/questions/15579069/graph-nodes-coordinates-evaluation), but unfortunately, I'm not allowed to leave any question due to lack of points.
Your code works well on my machine (I'm using Windows 10, VS 2017). However, when I try to reimplement your solution for my own project, it appears, that the biggest part of controls (like Label, GroupBox, etc) are not supported (I'm using Universal Windows solution). Idem for stuff like CompositeCollection, DockPanel, etc.
Can you tell please, how did you implement all these Controls? Should I use download some additional package? Should i also include MetroStyle package? Or should I simply use another project template?

Missing delete-icon.png

Firstly, awesome samples! Its a lot of stuff to study, I love WPF!

Now, the issue:

The file "NodesEditor\Left Edition Panel\ButtonsPanel.xaml" has an missing reference for a resource "delete-icon.png". Surely you can simply add the file into sources. I cloned the repo and changed from

            <Image Source="../Resources/delete-icon.png" 
                   HorizontalAlignment="Center" VerticalAlignment="Center"
                   Width="40" Height="40"
                   Stretch="Fill" StretchDirection="Both"/>

to

            <Canvas Height="35" Width="35" HorizontalAlignment="Center">
                <Path Width="35" Height="35" Stretch="Fill" Fill="Yellow" Stroke="Black" Data="F1 M 25.3333,23.75L 50.6667,23.75C 51.5411,23.75 51.8541,27.3125 51.8541,27.3125L 24.1458,27.3125C 24.1458,27.3125 24.4589,23.75 25.3333,23.75 Z M 35.625,19.7917L 40.375,19.7917C 40.8122,19.7917 41.9583,20.9378 41.9583,21.375C 41.9583,21.8122 40.8122,22.9584 40.375,22.9584L 35.625,22.9584C 35.1878,22.9584 34.0416,21.8122 34.0416,21.375C 34.0416,20.9378 35.1878,19.7917 35.625,19.7917 Z M 27.7083,28.5L 48.2916,28.5C 49.1661,28.5 49.875,29.2089 49.875,30.0834L 48.2916,53.8334C 48.2916,54.7078 47.5828,55.4167 46.7083,55.4167L 29.2917,55.4167C 28.4172,55.4167 27.7083,54.7078 27.7083,53.8334L 26.125,30.0834C 26.125,29.2089 26.8339,28.5 27.7083,28.5 Z M 30.0833,31.6667L 30.4792,52.25L 33.25,52.25L 32.8542,31.6667L 30.0833,31.6667 Z M 36.4167,31.6667L 36.4167,52.25L 39.5833,52.25L 39.5833,31.6667L 36.4167,31.6667 Z M 43.1458,31.6667L 42.75,52.25L 45.5208,52.25L 45.9167,31.6667L 43.1458,31.6667 Z "/>
            </Canvas>

Its not a breaking bug, but I was grateful for your code, so I wanna help on your incredible sample.

It will show a recycle bin (from here), and dont need any external resources. I tried send the code via Git, but I dont know how push things to GitHub yet... so I'm sending the code here.

Good Luck and Congratulations for the nice job.

Fabio Alves

Question: Scaling the nodes

Hi! These are indeed fabulous samples. But how would you go about enabling the user to resize the nodes in the Node Editor / House Plan? I've been trying to combine your project (In a slightly modified form) with another that allows the user to resize objects by creating a frame of Thumbs. Up until now, I've had little success. If you could possibly take a look at my question at StackOverflow and give me a hint, I would be eternally indebted to you. Here are the details:
http://stackoverflow.com/q/24899172/3828965

Regards,
Alex

Node Layout in HousePlan Sample

Hi,
I'd like to use your node connecting system as a base for a project I am working on. The issue I have run into is creating custom nodes, specifically the layout of the node. By default when a node is created it has 2 drop down boxes (combo boxes) and 3 text boxes. I would like to be able to change this, but I cannot seem to find where in the solution these feature of the node are being decided. Thank you for any help you can give.

best,
mgheffel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.