Setting a link for an element

235 views
Skip to first unread message

Florian S.

unread,
Mar 26, 2014, 5:08:31 AM3/26/14
to blockdia...@googlegroups.com
Hello,

is it at all possible to set a http link to an element in an activity diagram?

Kind regards,
Florian

shirou

unread,
Mar 26, 2014, 5:23:49 AM3/26/14
to blockdiag-discuss
Hi,

You can set "href" attribute if output is SVG.

ex:

http://interactive.blockdiag.com/actdiag/?compression=deflate&src=eJxLTC5JyUxMV6jmUlBwVNC1U3ACEc4gwgVEuFpzAWVyEvNSwUqAiqIzilLTbJUySkoKrPT10_Pz03NS9ZLzc5VirRWcrUEaFBRqUfU4WSu4QIRrAUSeHBw

Actually, this feature is implemented at base blockaig, the other diag
series also can use "href" attribute.
But not documented. (I forget why...maybe because this is only SVG feature)


WAKAYAMA Shirou


2014年3月26日 18:08 Florian S. <fschr...@gmail.com>:
> --
> このメールは Google グループのグループ「blockdiag-discuss」に登録しているユーザーに送られています。
> このグループから退会し、グループからのメールの配信を停止するには
> blockdiag-disc...@googlegroups.com にメールを送信してください。
> その他のオプションについては https://groups.google.com/d/optout にアクセスしてください。

shirou

unread,
Mar 26, 2014, 5:34:53 AM3/26/14
to blockdiag-discuss
I remember one point.

If you use sphinx (sphinxcontrib-actdiag), and the output is HTML,
a clickable map is generated when PNG format is selected.


regards,

WAKAYAMA Shirou

Budulínek Dejmihrášek

unread,
Jul 28, 2015, 2:46:06 AM7/28/15
to blockdiag-discuss, shiro...@gmail.com
Hello,
how can i do the "href" trick for a rackdiag diagram?
when i use the example below, it shows an empty box

http://interactive.blockdiag.com/rackdiag/?compression=deflate&src=eJxtkE0LgkAQhu_-isFTgajrB5XSQelYEIh0kA6bbqtobYwSRPTfWzc7WJ6GeZ53mGGQ5nVRUQ5PDcDx0lBTNYB0n0BGUgNs048MIHbNDSiRndd62XW3wLK4ELxhZi4u-jHsp9zJKeXIoNx_5QewqdoaIkT6gMwZEsotpIthR9uOoWyXn7ZCFAgzMpdoNUJOj4hcdmAnSBje2Tf3Cz9JZwzdKegpKD-yFbSIaUOvuTzm9QbVLlBY

btw the reason for the hyperlink in rack is that we try to automatically document complete infrastructure - the DC/rack is just a starting point and we need to be able to drill down to other diagrams at detail levels

thanks a lot in advance
milan

Komiya Takeshi

unread,
Jul 30, 2015, 10:32:20 AM7/30/15
to blockdia...@googlegroups.com, Shirou w
Hi,

> how can i do the "href" trick for a rackdiag diagram?

Sorry for inconvenience.
It's bug of blockdiag-1.5.2. Please update it to 1.5.3.
After that, you can set hyperlink to nodes.

Thanks

Takeshi KOMIYA

2015-07-28 15:46 GMT+09:00 Budulínek Dejmihrášek
<budulinku....@gmail.com>:

Budulinku Dejmihrasku

unread,
Aug 1, 2015, 11:15:53 AM8/1/15
to blockdia...@googlegroups.com
thanks a lot for the fix!
it works as expected now
milan

Budulinku Dejmihrasku

unread,
Oct 24, 2015, 4:59:43 PM10/24/15
to blockdia...@googlegroups.com
Hi,
is there a way how to get the "href" attribute into the edge or note so
i can set a http link similar as in the blockdiag element
thanks
Reply all
Reply to author
Forward
0 new messages