Given a simple Lie algebra of type $X_N$ and a highest weight $\lambda$, this demo produces the Cartan matrix, Dynkin diagram, and root information in terms of fundamental weights for this algebra. In addition, we find all of the weights of the irreducible $X_N$-module with highest weight $\lambda$. When working in ranks 1, 2, or 3, we also provide a plot of the weights of our irreducible module. The small grey dots in these plots represent part of the fundamental weight lattice (i.e., integral linear combinations of fundamental weights).
Notes:
Note to self: Finish commenting code. Clean up output (e.g., line breaks).
The computation above is powered by SageMath. The Sage code is embedded in this webpage's html file. To view the code instruct your browser to show you this page's source. For example, in Chrome, right-click and choose "View page source".