Changeset 1731:616bc933c2bc in lemon-0.x for gui/graph-displayer.cc
- Timestamp:
- 10/20/05 17:50:23 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2258
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph-displayer.cc
r1650 r1731 11 11 std::vector <std::string> node_property_strings; 12 12 std::vector <double> node_property_defaults; 13 13 int longest_property_string_length; 14 14 15 15 int main(int argc, char *argv[]) … … 38 38 node_property_defaults[N_TEXT]=0; 39 39 40 longest_property_string_length=0; 41 for(int i=0;i<EDGE_PROPERTY_NUM;i++) 42 { 43 int j=edge_property_strings[i].size(); 44 if(j>longest_property_string_length) 45 { 46 longest_property_string_length=j; 47 } 48 } 49 for(int i=0;i<NODE_PROPERTY_NUM;i++) 50 { 51 int j=node_property_strings[i].size(); 52 if(j>longest_property_string_length) 53 { 54 longest_property_string_length=j; 55 } 56 } 57 58 40 59 //initializing GUI 41 60
Note: See TracChangeset
for help on using the changeset viewer.