GraphVizを使ったグラフ作りは楽しい でも以外と時間が掛かる 特に時間を取られるのはノードのかたちと エッジの矢印選びだ GraphVizで使えるかたちと矢印は豊富だけれども 豊富過ぎて名前を見ただけではそれがわからない だから前々回作ったGraphAzで見本を作ってみた これでかたちと矢印選びもばっちり!
ERD, Rubyそういえば,ちょっと前に「ymldot」というのを作りました. なに?(What?)どうやって?(How?)楽々ERDレッスン 第1回:「お持ち帰りご注文用紙」編:CodeZineで紹介されているERDを書くときに # reference http://codezine.jp/article/detail/154?p=1 config: font: MSUIGOTHIC.ttf tables: - name: 顧客 columns: - 名前 - 電話番号 foreignkeys: has_many: - 注文 - name: 注文 columns: - 注文数 - name: 商品 columns: - 名前 - 金額 - 税 - 商品区分 foreignkeys: has_many: - 注文 - name: 商品カテゴリ columns: - 商品カテゴリ名 f
GraphvizでER図を書く方法(その2) http://d.hatena.ne.jp/T-ABYSS/20070302/1172815082 どうもしっくりくるER図を書くツールがないので、 ここを参考にGraphvizで書いていました。 なかなかいいなあと、思ってたんだけど、 やっぱり全部手で書くのはめんどいので、 ActiveRecord::SchemaDumperを改造して、 dotファイルを生成するプラグインを作ってみました。 http://youhei.s276.xrea.com/er_diagram.tar.gz 出力はこんな感じ。Flickrぽい色にしてみました。 使い方はvendor/plugins以下にファイルを置いて、 % rake doc:er_diagramとするだけです。doc以下にGraphviz用のdotファイルがつくられます。 注意! かなり適当につくっ
An emacs mode for "The DOT Language", used by graphviz (www.graphviz.org and att). ;;; Commentary: ;; Use this mode for editing files in the dot-language (www.graphviz.org and ;; http://www.research.att.com/sw/tools/graphviz/). ;; ;; To use graphviz-dot-mode, add ;; (load-file "PATH_TO_FILE/graphviz-dot-mode.el") ;; to your .emacs or ~/.xemacs/init.el ;; ;; The graphviz-dot-mode will do font locki
Posted by Nick Sieger Fri, 27 Oct 2006 16:48:00 GMT As part of the momentum surrounding the Ruby implementer’s summit, I have decided to take on a pet project to understand Ruby’s grammar better, with the goal of contributing to an implementation-independent specification of the grammar. Matz mentioned during his keynote how parse.y was one of the uglier parts of Ruby, but just how ugly? Well, jud
Please join the Graphviz forum to ask questions and discuss Graphviz. What is Graphviz? Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual inter
Ruby on Railsの素晴らしい点の一つに、テーブル間の関係をプログラム中で定義することで、データを自在に取り出せるようになるという事が挙げられる。 E-R図などでリレーションを定義しても、それが適切にプログラムされているかどうかは分からない。だが、プログラム中で定義し、制御できるRailsであれば適切に処理されるようになる。足りないのはマネージャ向けのE-R図の存在だろう。 今回紹介するオープンソース・ソフトウェアはRailRoad、Rails向けのダイアログジェネレータだ。 RailRoadを使うと、モデルやコントローラーの関係から、Graphviz向けのdotファイルを生成できる。後はSVGやPNGといった形式への変換が可能だ。 モデルであればE-R図が生成され、テーブル間の関係も表現される。コントローラーであれば、メソッドが表示される。どちらも複数人での開発時や、規模が大きく
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く