graphlib-dot icon indicating copy to clipboard operation
graphlib-dot copied to clipboard

bugfix: defaults escaping subgraphs

Open emma-borhanian opened this issue 5 years ago • 1 comments

Fixes: graph { { node [color=red]; }; a } to produce "a []" rather than "a [color=red]"

Caused by using _.clone instead of _.cloneDeep in the default stack

emma-borhanian avatar Jan 15 '20 04:01 emma-borhanian

0.00s$ sh -e /etc/init.d/xvfb start
sh: 0: Can't open /etc/init.d/xvfb
The command "sh -e /etc/init.d/xvfb start" failed and exited with 127 during .

This travis failure looks unrelated to my change

emma-borhanian avatar Jan 15 '20 06:01 emma-borhanian

Closing this because it's implemented in https://github.com/dagrejs/graphlib-dot/pull/77/

Thanks for the PR!

rustedgrail avatar Jul 24 '23 13:07 rustedgrail