M
M
Max Antonov2017-02-23 16:31:17
Python
Max Antonov, 2017-02-23 16:31:17

Logistics scheme?

Good day!
Just now, one of the lecturers suggested that before the end of the semester, write a program that could, I quote: "... more clearly than Excel to show the movement of the load." And I managed to blurt out that I'm fond of programming (I'm a logistician) ... And now the question is: how to write a program (knowing only python), in which it would be possible to build a logistics scheme like from "cubes".
In my view, the working field should be a kind of graph adjacency matrix. The columns are the nodes (base, warehouse, port), and the rows are the types of connections that can currently be used.
The first thing that comes to mind is tkinter, but will it work? Please suggest a tool that does not take long to master.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2017-02-23
@sim3x

First write the code for output to the console / text editor /
GUI image can be attached later

A
Alexander Titov, 2017-02-27
@alex-t

Visualization of any graph pictures is convenient on Graphviz.
It has a simple text format at the input - nodes, text for them, what arrows, what to draw on these nodes and arrows ...
It seems that there is even a Python lib, but the format is not complicated, you can also form it with prints.
This is if you only need to display the result, without the possibility of pulling and rearranging the arrows on the big picture ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question