Giter Site home page Giter Site logo

Comments (4)

HungryProton avatar HungryProton commented on June 11, 2024

Runtime generation has always been planned but it's currently disabled.
There's two possible options though:

  • Either replace the two final lines of your code by this:
wire.reload_template()
wire.clear_output()
wire._template.generate(true)
  • Or remove the editor checks in concept_graph.gd and keep your original code. There's one in enter_tree and another one in generate.

from protongraph.

chances avatar chances commented on June 11, 2024

Unfortunately, calling reload_template at runtime modifies my scene and renders the Concept Graph Editor UI underneath my UI. I'm trying to narrow down where this happens (load_from_file I'm deducing); any pointers?

from protongraph.

HungryProton avatar HungryProton commented on June 11, 2024

The ConceptGraph node is a control node (it extends from GraphEdit) so if it's under another control it will show up on screen. load_from_file will load the node graph in memory, generation is run from this data later so you can't skip this part.

The results are stored under the Output node (right next to the Input node). Maybe you can just hide the ConceptGraph node and move the results somewhere else on the tree each time you regenerate an output?

from protongraph.

HungryProton avatar HungryProton commented on June 11, 2024

Closing as this is no longer a Godot add-on.

from protongraph.

Related Issues (20)

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.