绘制一个简单的库依赖方案
我正在寻找一个工具和指南/示例来展示如何编写一个简单的图片来解释以下组件之间的关系:
- 一个java小程序
- 一个c++库
- 一个用于C++库的java包装器(使用JNI)
- 一个c
库applet 使用 java 包装器方法。 java 包装器是 c++ 库的包装器。可以以两种方式调用方法(C++ --> java、java --> c++) C++ 库基本上是 C 库的接口。
我有 argoUML 和 Microsoft Visio;任何东西都有效,只是一些简单的图片来显示它,它不必太具体或漂亮(只是不是油漆级别的)。
有人可以向我指出解释如何描绘这样的程序关系的资源吗?
I am looking for a tool and a guide/example to show how you can write a simple picture that explains the relationship between the following components:
- A java applet
- A c++ library
- A java wrapper for the C++ library (using JNI)
- A c library
The applet is using the java wrapper methods.
The java wrapper is a wrapper for the c++ library. It is possible to invoke methods both ways (C++ --> java, java --> c++)
The c++ library is basically an interface for the c library.
I got argoUML and Microsoft Visio; anything works, just some simple picture displaying this, it dosn't have to be too specific or pretty (just not paint-level).
Can someone point me to resources explaining how to picture program relationships like this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为你可以使用 UML 组件图
I think you can use a UML Component Diagram
Enterprise Architect 的 UML 教程这里可能会让您对几个 UML 图有所了解。对您的需求有用。
一般来说,依赖关系显示在类图(多个类之间)、包图(命名空间/库之间)和组件图中。
如果您更具体地询问有关您头脑中某些事物的 UML 表示的问题,我将为您提供帮助。
The UML tutorial of Enterprise Architect here may give you some idea about the several UML diagrams that are of use to your needs.
In general dependencies are shown in class diagrams (between several classes), package diagrams (between namespaces/libraries) and component diagrams.
If you ask more specifically about UML representation of something in your mind I will be of help.
也许 jGraph 对您有帮助?
干杯
Maybe jGraph will be helpful for you?
Cheers