Variables

Importing variables

Hi,
I'm trying to control edge lengths in neato. Is it possible to import variables into a graph?
Ideally I would import a vector/array at the start eg "edges" and use it to describe the edge lengths . Something like:
import "edges"
n1 -- n2 [w=1 len=edges[1]].
Is this possible in the DOT language?
thanks

Recent comments

Syndicate content