Giter VIP home page Giter VIP logo

plano's People

Contributors

crolando avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

plano's Issues

Provide API method to set node header text

The header text is forced to be the member:
plano::api::NodeDescription->Type
which is coupled with the prototype of the node.

This means every instance of a node type would display the same name.

In @adamsepp use case, the API was edited to provide nodes with a setNodeName() and getNodeName() callback.
This made other parts of the program be able to set the node name via the user, ultimately.

Cannot run with the Blueprint example's sidepanel

@adamsepp is designing a way to execute a program that is defined by the nodes. This user has created these forks to implement a scheme for program execution:
https://github.com/adamsepp/nodos_experimental
https://github.com/adamsepp/plano_experimental

@adamsepp I am not able to run your examples. The program dies in the way described here: thedmd/imgui-node-editor#191

I found that I could get it running by disabling the sidepanel. That is, in your plano_experimental frame.cpp file, I got it working by commenting out these lines:

    //Splitter(true, 4.0f, &leftPaneWidth, &rightPaneWidth, 50.0f, 50.0f);

    //ShowLeftPane(leftPaneWidth - 4.0f);

    //ImGui::SameLine(0.0f, 12.0f);

I must apologize, this is not something I understand. I hope in the bug above, we can get to the bottom of it. I can port whatever changes are made there into Plano.

Add userdata fields to Links Nodes and Pins

At the moment, Nodes have a Properties object, which is typedef to attr_table. This in spirit is a userdata class, albeit inflexible and specialized.

In this task, we will formally add userdata fields to all the elemental graph objects: Nodes, Links and Pins.

While not wholly useful by themselves, they can be passed during event callbacks to the user, where they are very useful.

plano_properties.h

Hi, since I'm using the standard blueprint example up to now, I wanted to have a look at your implementation too.
But I'm not sure what else I need.
Seems like some file are missing? For example the "plano_properties.h" ?

Allow the user to make new pin data types

Pin type customization should at least:

  1. allow the user to specify what icon to use.
  2. be seralized / deserialized automatically
  3. interact with typesafe pin connection enforcement

Ensure node stylization can be done from host program

The Plano API needs to expose node stylization rules, so style changes can be done without having to fork plano.

In this issue, we will

  1. expose the existing imgui-node-editor style fields.
  2. expose control over the fonts used for pins and node headers

Design concepts:
Host program should be able to
Nodes should be able to control their own stylization at construction and runtime. Implication: style information is accessible in node callbacks.

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.