- From: Szabolcs Horvat <szhorvat AT nd.edu>
- To: "graphstream-users AT litislab.fr" <graphstream-users AT litislab.fr>
- Subject: Setting node positions from C++ -- how to pass two values?
- Date: Mon, 24 Jun 2013 10:25:37 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Hello,
How can I set node positions ("xy" attribute) using NetStream (C++ API)?
According to the docs [1], I have to "pass two float values". As far as I
can tell, the C++ API allows only for passing a single value. Is it possible
to still set "xy" or "xyz" from C++? If yes, how does the
.addNodeAttribute() member function expect me to package the two (three)
values together?
Szabolcs
[1]
http://graphstream-project.org/doc/FAQ/Attributes/Is-there-a-list-of-attributes-with-a-predefined-meaning-for-the-graph-viewer_1.0/
- Setting node positions from C++ -- how to pass two values?, Szabolcs Horvat, 24/06/2013
Archives gérées par MHonArc 2.6.16.