# Arrange related variables in a set and visualize relations

Hi,

I have a basic question, let me explain with this simple example;

variables;

```
b=var('b')
c=var('c')
d=var('d')
e=var('e')
f=var('f')
g=var('g')
```

relations;

```
a = b + c
m = d + e + b
n = f + g + c
```

So everything is related to each other. I want to form some kind of set-system and visualize these relations in Sage with arrows and so on. How can I achieve this ?

Thank you.

Can you give more details of the kind of structure you want for "with arrows and so on" ? Do you want a simplicial complex, a graph, which graph ? For example, could you provide an example of a picture you would like to get in your example ?

In the following link you can find an example for SymPy. I am trying to implement in Sage. http://s22.postimg.org/shauzsnch/pic.png