{"id":16678072,"url":"https://github.com/johnynek/netmodeler","last_synced_at":"2025-04-09T21:31:18.778Z","repository":{"id":535017,"uuid":"164284","full_name":"johnynek/netmodeler","owner":"johnynek","description":"a C++ package for analyzing and modeling network/graph structure.","archived":false,"fork":false,"pushed_at":"2011-03-23T02:46:42.000Z","size":1982,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T23:25:55.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://boykin.acis.ufl.edu/wiki/index.php/Netmodeler","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnynek.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-03-31T16:38:11.000Z","updated_at":"2023-10-05T10:48:30.000Z","dependencies_parsed_at":"2022-07-20T14:47:56.221Z","dependency_job_id":null,"html_url":"https://github.com/johnynek/netmodeler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnynek%2Fnetmodeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnynek%2Fnetmodeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnynek%2Fnetmodeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnynek%2Fnetmodeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnynek","download_url":"https://codeload.github.com/johnynek/netmodeler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248114654,"owners_count":21050082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T13:28:17.693Z","updated_at":"2025-04-09T21:31:18.757Z","avatar_url":"https://github.com/johnynek.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Netmodeler uses the autoconf and automake build system.\n\nThere is a script called bootstrap.sh which should allow you to build\neverything (for those of us that have not bothered to understand\nautoconf).\n\nAfter running the bootstrap code, you may need to go into the src\ndirectory and type\n\nmake netmodeler.h\n\n(Obviously the above is purely due to the author's autoconf/automake\nignorance).\n\nAfter that, you are on your own!\n\nThe above should make the libnetmod.a library and the netmodeler executable from\nthe main.cpp in the main library.  This main.cpp probably is not exactly what\nyou want.  Check the examples directory for simpler examples.\n\nTo write your own code you just use any parts you would like, then using the\ncompiler, link to the libnetmod.a.  For g++ (the GNU C++ compiler), you could\ndo the following:\n\nFirst compile your my.cpp:\ng++ -c my.cpp -I /path/to/headers/\nThen link it:\ng++ -o test my.o /path/to/library/libnetmod.a\n\nThe default path is src/.libs/libnetmod.a\n\nnow, the executible \"test\" should be your code.\n\nYou may need to give a complete path to the headers (which is represented in\nthe above example as /path/to/headers/) and you may need to give the complete\npath to the libnetmod.a file (which is represented above as\n/path/to/library/).\n\nYou may want to make new classes in /src/ directory.\nAfter making new files (Let's name them yourfile.cpp and yourfile.h), You need to add your files to the input to Makefile.\nAdd yourfile.cpp and yourfile.h to 'libnetmod_la_SOURCES' in /src/Makefile.in\nAdd yourfile.lo to 'am_libnetmod_la_OBJECTS' in /src/Makefile.in\nrun 'make' in the upper directory.\nNow, you can use your own classes.\n\n======SWIG/Python Support=====\n\nNetmodeler now has some support for SWIG, which allows us to use netmodeler\nfrom languages other than C/C++.  To enable this, use:\n\n./configure --enable-swig\n\nThis requires swig to be installed as well as the headers for python (and\nin the future maybe other languages).  Go to the pytools directory to see\nsome examples of using python with netmodeler.\n\n======CODE DOCUMENTATION======\n\nThe source code is annotated with doxygen (Javadoc) style comments.  Not all\nof the code is properly documented, but much of it is.  To produce this\ndocumentation, go into the doc directory, and type:\n\ndoxygen netmodeler.doxy\n\nOf course, you will need doxygen installed.  This will produce HTML and latex\ndocumentation that should help you get an idea of the structure of the code.\nIf you are lost, I recommend looking at the software in the tools directory\nfor examples of code that does something useful.\n\nGood Luck,\nPOB\nboykin@pobox.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnynek%2Fnetmodeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnynek%2Fnetmodeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnynek%2Fnetmodeler/lists"}