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

Dynamic name of node with hyperlink #820

Open
loszelos opened this issue Feb 3, 2024 · 1 comment
Open

Dynamic name of node with hyperlink #820

loszelos opened this issue Feb 3, 2024 · 1 comment

Comments

@loszelos
Copy link

loszelos commented Feb 3, 2024

Hello to all :-) for first, thanks for great library!!!
I'm programmer beginner and I would like to use your library for make simple app for layout of workplaces of plant with hypertexts, where are infos like IP adress, devices etc...

So, I used for testing and learning your example but I'm lost. It would be super, if someone will upload more examples or make any better documentation with examples! :-)

My goal is :

drawflow

RUC{number} is specific and original ID for workplace.
WP{number} is name of workplace (It's not specific, just name)

I would like to dynamic create node where I can change RUC number and after that I will be possible to click on it and directing on PHP page with database.

I tried to catch after creating node it's ID and fill to the name, but I was fail. I was fail also with hypertext.

It would be also nice if is possible change sides and add on top and bottom joints for node.

image

And last question is where I'm able to create or change nodes as components?

After creating layout I'm able to save to database and load from database :-) It's super :-)

PLEASE UPLOAD WHOLE CODE CSS and HTML.

Thanks a lot for help :-)

@jerosoler
Copy link
Owner

You could update the node html like this:

And last question is where I'm able to create or change nodes as components?

Exmaple vue3
https://github.com/jerosoler/drawflow-vue3-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants