Coder Social home page Coder Social logo

property sidebar for blocks about drawflow HOT 7 CLOSED

jerosoler avatar jerosoler commented on May 12, 2024
property sidebar for blocks

from drawflow.

Comments (7)

jerosoler avatar jerosoler commented on May 12, 2024

Hello @hamedf62

Thank you! ;)

What sidebar are you referring to?

from drawflow.

jerosoler avatar jerosoler commented on May 12, 2024

Are you referring to functions?

Mehtod Description
addNodeInput(id) Add input to node. Ex id: 5
addNodeOutput(id) Add output to node. Ex id: 5
removeNodeInput(id, input_class) Remove input to node. Ex id: 5, input_2
removeNodeOutput(id, output_class) Remove output to node. Ex id: 5, output_2

from drawflow.

hamedf62 avatar hamedf62 commented on May 12, 2024

Your Welcome @jerosoler
Indeed i want to draw a process of data blocks to filter and join them to prepare clear data table.
Something like complex query.

So i have to define few condtions for some blocks.
For example filter table based on a column value.

These configuration can be done in a for for every blocks in side bar (property window).

from drawflow.

jerosoler avatar jerosoler commented on May 12, 2024

Hello

Something similar to the "DB click" node in the demo? https://jerosoler.github.io/Drawflow/

If so, you would have to create your logic to generate the sidebar.

from drawflow.

hamedf62 avatar hamedf62 commented on May 12, 2024

Hello

Something similar to the "DB click" node in the demo? https://jerosoler.github.io/Drawflow/

If so, you would have to create your logic to generate the sidebar.

Great.. let me go ahead and update.

from drawflow.

hamedf62 avatar hamedf62 commented on May 12, 2024

Hi again @jerosoler
finally i could ass sidebar for html content for nodes as we may have many field to fill by user and inside the node may not enough space available.

i made some changes in index.html and only extra definition in drawflow.main.js

so we have to seperate html content for nodes, one for node Title and one for HTML content.
for this in Addnode method added extra argument to handle HTML content.

i thought it would be good idea to consider this change in next version to increase applicability of your great package.
you may want see demo:
image
** also i added a capability to change Node showing name by user as we may have many same type node and user may want to better control the process (can send revised Index.html) if you interested.

Thank you

from drawflow.

jerosoler avatar jerosoler commented on May 12, 2024

@hamedf62 perfect!

It would be interesting to see the changes in a fork.

So I can see it and other users can see it.

Or you can copy here the changes made.

from drawflow.

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.