Ask Your Question

# Revision history [back]

### How to write the given program in sage

I am new to sage. I have learned the basics of sage programming from various online notes.

I am interested to apply sage in linear algebra and graph theory.

My problem is I want to draw a graph as follows:

Vertices : Subspaces of a vector space of dimension $n$.

Edges: $V_1V_2\iff V_1 \subset V_2$ or $V_2\subset V_1$.

Please don't give me the solution.

Please help me how to write it step by step or give some resources from where I can find this.