inukshuk / sqleton

Visualize your SQLite database schema
GNU General Public License v3.0
110 stars 12 forks source link

Arrows missing #16

Closed thisislola closed 1 year ago

thisislola commented 1 year ago

Hi,

Thank you for the great tool! I have tried every single layout, but none of them show the arrows as in the example. Then I downloaded the z.sqlite file and tested that and it worked without issue (showing arrows).

I'm on a mac M1 npm -v: 9.4.2 Installed graphviz with brew

My example:

image
inukshuk commented 1 year ago

Generally, it depends on your db. We fetch the foreign key constraints using the foreign_key_list pragma statement; if the constraints show up there, they should be included as edges in the graph.

thisislola commented 1 year ago

I see. Thank you. I still get what I need from the tool. Thank you again for sharing it open source!