You are not logged in.
Pages: 1
I'm having trouble with Dia.... which seems to be dead, it hasn't updated in like a year.
Anyway, I want to do a UML diagram, I guess (ichy, I know). The problem is when I add an association between two classes such that each class has a role and a multiplicity, I can't seem to position these labels. Half the time the role is inside the box or on the line or I can't see the multiplicity label, etc. Is this just Dia being a pain, or am I doing something stupid?
Or Is there a better diagramming tool out there?
Thanks,
Dusty
Offline
I can't help you with your dia program, but I would also be interested in any other program that shares its features.
Offline
It has been too long since I messed around with Dia (it was fairly disappointing), but I know in Visio you can change the normal text tool to a text repositioning tool (called the Text Block Tool) in the menubar. It's not real obvious that the tool was there, so perhaps there's a similar option in Dia? Unfortunately I haven't come across any other diagramming tool that fits the bill for Linux...
Offline
I've found that my favorite diagramming tool is draw from the openoffice package.
Offline
I've found that my favorite diagramming tool is draw from the openoffice package.
I never thought of that, good idea....
Is it posible to get UML symbols in draw? How about connecting lines to objects so if I move the object the line moves with it?
Even without this, I think draw might work better for me than dia.
Dusty
Offline
I figured out how to use glue points for the second question. :oops:
now, what about labelling lines in more places than just the centre of the line?
Dusty
Offline
jftaylor21 wrote:I've found that my favorite diagramming tool is draw from the openoffice package.
I never thought of that, good idea....
I was going to say "You can try Inkscape" - I mean, it could be done, but it may be a bit more work.
I'd be interested too, if there is an alternative UML/diagram tool that you come across - and while I'm on the topic:
Why have I never found a UML tool that will generate skeletons... I mean, it's not hard to turn a UML spec into something like:
class MyClass(MyBase):
def __init__(self,a,b):
pass
def foo(self):
passOffline
I was going to say "You can try Inkscape" - I mean, it could be done, but it may be a bit more work.
I'll try it too, cool.
Why have I never found a UML tool that will generate skeletons... I mean, it's not hard to turn a UML spec into something like:
class MyClass(MyBase): def __init__(self,a,b): pass def foo(self): pass
1) Hmmm.... might be a good idea to write one.
2) since when does phrakture post code in python? :shock:
Dusty
Offline
there's poseidon uml in aur repo, but it's slow as hell
Offline
2) since when does phrakture post code in python? :shock:
Laziness 4 teh winz!
I didn't want to write:
class my_class : public my_base
{
int a,b;
public:
my_class(int _a, int _b) : a(_a), b(_b) {}
virtual ~my_class() {}
virtual void foo() = 0;
};Offline
Dusty wrote:jftaylor21 wrote:I've found that my favorite diagramming tool is draw from the openoffice package.
I never thought of that, good idea....
I was going to say "You can try Inkscape" - I mean, it could be done, but it may be a bit more work.
I'd be interested too, if there is an alternative UML/diagram tool that you come across - and while I'm on the topic:
Why have I never found a UML tool that will generate skeletons... I mean, it's not hard to turn a UML spec into something like:class MyClass(MyBase): def __init__(self,a,b): pass def foo(self): pass
umbrello in the kdesdk package does uml plus code generation in the following languages:
java, php, javascript, actionscript, sql, python, ada, idl, xmlschema, perl, php5, cpp
Disclaimer: I have never used it though, so I don't know how well it works.
Offline
I figured out how to use glue points for the second question. :oops:
now, what about labelling lines in more places than just the centre of the line?
Dusty
I am not sure how to make the text "stick" to the lines, but you could just manually place the text anywhere next to lines.
Sorry
.
Offline
Laziness 4 teh winz!
I didn't want to write:
And yet when it comes to coding you prefer C++ over python?
:-P
Dusty
Offline
There's also kivio. It's part of koffice and is similar to Visio (which was mentionned by elasticdog). I don't know if it can do what you want to do. I tried it once instead of xfig but I came back to xfig because of some features it didn't had.
EDIT: Kivio Features:
* Scriptable stencils using Python.
* Support for Dia stencils.
* Plugin framework for adding more functionality.
Offline
And yet when it comes to coding you prefer C++ over python?
Ah, but those things are not mutually exclusive:
#include <iostream>
#include <vector>
#include <algorithm>
typedef std::istream_iterator<int> iter; //i'm lazy
int main()
{
std::vector<int> v;
std::copy(iter(cin),iter(), std::back_inserter(v));
std::cout << std::accumulate(v.begin(),v.end(),0);
}read in an arbitrary set of numbers (stdin) and output the total.
edit: this does it via the command line
#include <iostream>
#include <vector>
#include <algorithm>
#include <cstdlib>
int accum(int i, const char* s) { return i+std::atoi(s); }
int main(int argc, char** argv)
{
std::cout << std::accumulate(argv+1,argv+argc,0,accum);
}Offline
The developers are happy to announce the release of a new version of the diagramming tool Dia. This release features automatic line layout, better Python plugins, many bug fixes and usability improvements plus a few security fixes. Read details below.
Version 0.95 adds the following major features:
* New "mainpoint" system allows lines to be added by dragging from anywhere on one object to anywhere on another, and to always point towards the middle of an object even when that object is moved.
* Python plug-ins added to create DOT output, generate Python bindings by 'self reflection', and allow round-trip engineering plug-ins.
* The grid can now automatically change size depending on your zoom level.
* Text input now highlights the object that receives the input, and tabbing between text input areas on one or more objects is possible.
* Many new shapes added.
* Several new UML objects added as well as some extensions to existing objects.
* Several security problems fixed in XFig import and Python plug-in.
* Full screen mode.
* Improved SVG import,
* Plug-in loading and unloading doesn't require restart of Dia.
* Many i18n problems have been fixed, particularly in export filters.
* Many bugs have been fixed, too many to mention here.
* Command line usage has improved to allow the selecting of individual layers
and specific output filters.
* Uses the new GTK+ File Dialog.
* Experimental libgnomeprint and Cairo plug-ins.
I removed my sig, cause i select the flag, the flag often the target of enemy.
SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]
Offline
For interested people, another alternative for UML is ArgoUML http://argouml.tigris.org/
Offline
Dusty try umlet.
http://www.umlet.com/
I don't like argouml, and dia is only really useful for me for making network diagrams (good at what it does..but I couldn't ever use it for uml stuff very well).
EDIT: oh my. this topic is old as hell.
:oops:
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1