Closed rednectar closed 10 years ago
If I choose to move the text on a GNS3 v0.8.x icon, it gets hx and hy values.
Eg. [[ROUTER R1]] model = 3725 ...<snip>... hx = 21.0 hy = 19.0
[[ROUTER R1]]
model = 3725
...<snip>...
hx = 21.0
hy = 19.0
Appears like this:
In GNS3v1, this has to be converted to: { "description": "Router c3725", "id": 1, "label": { "text": "R1", "x": 21, "y": 19 },
{
"description": "Router c3725",
"id": 1,
"label": {
"text": "R1",
"x": 21,
"y": 19
},
But the hx and hy values do NOT get translated
Ah... So that's what they're for... hadn't managed to work out what hx and hy meant!
I shall get that one sorted!
If I choose to move the text on a GNS3 v0.8.x icon, it gets hx and hy values.
Eg.
[[ROUTER R1]]
model = 3725
...<snip>...
hx = 21.0
hy = 19.0
Appears like this:
In GNS3v1, this has to be converted to:
{
"description": "Router c3725",
"id": 1,
"label": {
"text": "R1",
"x": 21,
"y": 19
},
But the hx and hy values do NOT get translated