Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

GUI: option to display a facility graph

Aperta
#166 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Inizia esaminando i punti di ingresso della GUI e LightController.graph, quindi esamina la vista BeamPath esistente e i grafi dell'impianto generati con pygraphviz. Definisci come devono essere visualizzati il layout dell'impianto, l'espansione dei rami e il percorso del fascio; il lavoro è completato quando gli utenti possono ispezionare il layout dell'impianto e vedere il percorso attivo all'interno di lightpath.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Current Behavior

Currently the only view of the facility is through a singular BeamPath, which is workable if you're not considering other beamlines

Possible Solution

A button that displays an image of the facility, based off the LightController.graph. Could condense nodes between branching nodes, with an option to expand a branch by clicking on it. It would be a good place to also show the beam path through the facility from beginning to end.

Context

Currently there is no way to see the facility layout within lightpath itself. We have been referring users to an facility map, which may be inconvenient. With different endstations possibly changing their respective happi databases and configurations, it would be good to give people the ability to check what their changes have done.

Throughout development / testing, I've used pygraphviz to create some facility graphs which were honestly... ugly.
Screen Shot 2022-07-27 at 3 50 03 PM
pygraphviz tries to keep each depth at the same level, which does not at all work for the facility graph.

This was something that was spitballed early on during the lightpath rework, but tabled.

Your Environment

lightpath master

Lingua principale
Python
Stelle
4
Fork
9
Merge medio
7g 14h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pcdshub/lightpath

Tutte le issue di pcdshub/lightpath

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.