# Revision history [back]

### Can I draw a graph whose vertices have two kind of labels?

Hello.

I want to draw a graph.

Each vertex connects to another information.

For example,

G=graphs.EmptyGraph()
for i in [1,2,3]:
for j in [i+1..4]:
if j%i==0:

V=[]
for i in G.vertices():
if i<3:
V=V+["Dog"]
else:
V=V+["Cat"]


Then 1,2 --> Dog and 3,4 --> Cat.

I want to get a plotting graph which show the second information Dog and Cat.

Is that possible?

Thanks.

### Can I draw a graph whose vertices have two kind of labels?

Hello.

I want to draw a graph.

Each vertex connects to another information.

For example,

G=graphs.EmptyGraph()
for i in [1,2,3]:
for j in [i+1..4]:
if j%i==0:

V=[]
for i in G.vertices():
if i<3:
V=V+["Dog"]
else:
V=V+["Cat"]


Then 1,2 --> Dog and 3,4 --> Cat.

I want to get a plotting graph which show the second information Dog and Cat.

Is that possible?

Thanks.

### Can I draw a graph whose vertices have two kind of labels?

Hello.

I want to draw a graph.

Each vertex connects to another information.

For example,

G=graphs.EmptyGraph()
for i in [1,2,3]:
for j in [i+1..4]:
if j%i==0:

V=[]
for i in G.vertices():
if i<3:
V=V+["Dog"]
else:
V=V+["Cat"]


Then 1,2 --> Dog and 3,4 --> Cat.

I want to get a plotting graph which show shows the second information Dog and Cat.

Is that possible?

Thanks.