projetss4iutv Index du Forum

projetss4iutv
Forum pour regrouper les informations des différents membres de l'equipe pour les projets de l'iut

 FAQFAQ   RechercherRechercher   MembresMembres   GroupesGroupes   S’enregistrerS’enregistrer 
 ProfilProfil   Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés   ConnexionConnexion 

Tree-like distribution problem (geometry, etc.)

 
Poster un nouveau sujet   Répondre au sujet    projetss4iutv Index du Forum -> projets S4 -> Projet: Theorie des graphes
Sujet précédent :: Sujet suivant  
Auteur Message
duzagowa


Hors ligne

Inscrit le: 22 Juin 2018
Messages: 8
Localisation: Adger

MessagePosté le: Ven 29 Juin - 10:21 (2018)    Sujet du message: Tree-like distribution problem (geometry, etc.) Répondre en citant

Hello,


I ask if anyone can think of a more appropriate forum. Apart from the fact that the problem is very specific, I also don't intend to write the solution in PB, but in JavaScript. However, I can't just go onto some random JavaScript forum and ask about something like this - people expect syntax questions on such forums. This might be a problem for mathematicians - I don't know.The problem is, I have a bunch of rectangles (about 50 in total) which represent linear chains of events, and I need to distribute these rectangles around a (limitless) 2D plane in the most optimal way. The rectangles are all of the same width, but of different heights. Furthermore, the chains of rectangles are occasionally inter-linked. There might be a "junction" rectangle which is linked to three, four, even five other rectangles. This is what has me completely stumped: how to distribute all of the rectangles such that the linkages are concentrated geographically, and don't sprawl all over the canvas? In other words: how to keep it tidy, and elegant?Here is a mock-up of how the end result should look. The only difference is that the rectangles' heights will vary slightly. Note that there is a right-ward "drift", because the rectangles are prequels/sequels of each other.


Please help.


I didn't find the right solution from the Internet.


References:-
http://forums.purebasic.com/english/viewtopic.php?f=17&t=65634
Animated Explainer Video Production Company


Thanks


Revenir en haut
Publicité






MessagePosté le: Ven 29 Juin - 10:21 (2018)    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    projetss4iutv Index du Forum -> projets S4 -> Projet: Theorie des graphes Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

 
Sauter vers:  

Index | Panneau d’administration | creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com