[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


Trying to create a grid puzzle with specific movements and generate the problem graph using graphviz::digraph in python. here's the code: https://pastebin.com/h96Nkmga

my problem is that all nodes assume their natural positions; (0,0) is on the top left, (2,0) on bottom left and so on. the bottom two nodes (2,1) and (2,2) are swapping positions though, and the edge crossing is causing overlapped labels. how do i fix this without manually setting node positions.
>>
>>1489347
Why don't you want to manually set node positions? You already have them computed.
>>
bump



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.