开发者

Drawing a simple library dependency scheme

开发者 https://www.devze.com 2023-03-08 12:03 出处:网络
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:

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开发者_C百科 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?


I think you can use a UML Component Diagram


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.


Maybe jGraph will be helpful for you? Cheers

0

精彩评论

暂无评论...
验证码 换一张
取 消