473,734 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating block diagrams in a fixed-width font

Hi. Someone, I'm sure, is going to laugh at me - but - is there an easier
way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on the page)

I'd paste the html here but it would be a mess. Basically, it's an "ascii"
text figure, with whitespace held together by   entities.

It will not be helpful if someone tells me to use Adobe Illustrator. Way too
expensive. ;-)

But still, what's an optimized CSS way of doing this?

Brian
Jul 20 '05 #1
8 5139
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)

I'd paste the html here but it would be a mess. Basically, it's an
"ascii" text figure, with whitespace held together by   entities.

It will not be helpful if someone tells me to use Adobe Illustrator.
Way too expensive. ;-)

But still, what's an optimized CSS way of doing this?


I tried reading that page with IBM's Home Page Reader. (I am not disabled, but
I am trying to learn about the problems faced by such people so that I can
make my web sites more accessible). Needless to say, the speech for that
diagram was gibberish! It read out every special character.

I believe that the proper authoring for that diagram is to provide an image
for sighted people (PNG or GIF, say, or perhaps SVG for scalability). Then
provide at least "alt" text, and possibly a "longdesc" too. I suggest the role
of CSS should simply be to position the image appropriately.

I would produce that diagram using PowerPoint (but Word might do) and turn it
into (say) GIF using Paint Shop Pro or Photoshop. I've done many diagrams that
way. But there are probably cheaper and/or better options.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)


any graphics/image creator/editor would do the job.

btw: 'quote of the day' brilliant ;o)

--
William Tasso - http://WilliamTasso.com
Jul 20 '05 #3
In article <Ix************ ***@newssvr16.n ews.prodigy.com > in
comp.infosystem s.www.authoring.stylesheets, B McDonald <no@spam.com>
wrote:
I'd paste the html here but it would be a mess. Basically, it's an "ascii"
text figure, with whitespace held together by &nbsp; entities. But still, what's an optimized CSS way of doing this?


When you have a screw to drive, a hammer is the wrong tool.

Draw your diagram and enclose it in <pre> ... </pre>.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4

"Stan Brown" <th************ @fastmail.fm> wrote in message
news:MP******** *************** @news.odyssey.n et...
In article <Ix************ ***@newssvr16.n ews.prodigy.com > in
comp.infosystem s.www.authoring.stylesheets, B McDonald <no@spam.com>
wrote:
http://www.galtsvalley.com/on/rts.html


I've already answered your actual question, but I wouldn't be me if
I didn't point out that "other's words" on that page should be
"others' words".

If only you'd given a real e-mail address, I would have been able to
tell you that privately.


Thanks for being you. Apparently being you is the same as being me - I hate
grammatical errors. I'll correct that in the next ftp.

Brian

p.s. my email address is all over my website!
Jul 20 '05 #5

"William Tasso" <ne****@tbdata. com> wrote in message
news:bk******** ****@ID-139074.news.uni-berlin.de...
B McDonald wrote:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on
the page)
any graphics/image creator/editor would do the job.


I'm gonna implement Mad Bad Rabbit's idea - which seems like an interesting
one. That said, I may end up agreeing with you and Stan.
btw: 'quote of the day' brilliant ;o)


If Dick Diver's character didn't end up disintegrating in the novel, the
quote might have maintained all it's "charm" for me too. Still, I love
reading that one in isolation!

Brian
Jul 20 '05 #6
Mad Bad Rabbit wrote:
"B McDonald" <no@spam.com> wrote in
news:Ix******** *******@newssvr 16.news.prodigy .com:
Hi. Someone, I'm sure, is going to laugh at me - but - is there an
easier way to create the following block diagram?

http://www.galtsvalley.com/on/rts.html (look at the sole figure on the
page)

[snip] <div class="inter-block">
<div>Sense</div>
<div>&rarr;</div>
<div>&larr;</div>
<div>Cntrl</div>
</div>


Yes, your idea appears to give the desired results, but it requires CSS
to be usable. Without CSS the above makes no sense.

--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.

Jul 20 '05 #7
B McDonald wrote:
"Barry Pearson" wrote: [snip]
I would produce that diagram using PowerPoint (but Word might do)
and turn it into (say) GIF using Paint Shop Pro or Photoshop. I've
done many diagrams that way. But there are probably cheaper and/or
better options.


So I just did. Just a few minutes.
It's such a simple picture that I instinctively didn't want to create
a gif for it. But, perhaps you're right. Still, I'm intruiged by the
suggestion of "Mad Bad Rabbit" - to create the block diagram using
DIVs. Kinda obvious when you think about it. I'll probably just
choose a better solution than I have now and then think about the
accessibility issues, if I can't conquer all worlds at once.


http://www.barry.pearson.name/me/rts.htm

Use them as you choose. I'll leave them there for a few days.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #8
>
So I just did. Just a few minutes.

http://www.barry.pearson.name/me/rts.htm

Use them as you choose. I'll leave them there for a few days.


Thank you. I'll pull one down. I think I've been motivated to start using my
powerpoint SW!

Brian
Jul 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7328
by: sams | last post by:
Is there a flow draw tool/API in Java to map out a simple application flow? Tks Sam
2
5253
by: Greg Lindstrom | last post by:
Hello- I'm creating fixed-length record layouts for various record translations I need to perform. I have been using a home-grown object, "FixedLengthRecord" for about 4 years now and am very happy with it. Almost. The burr under my saddle occurs when I serialize the record. Currently, I create an empty text field and for each record in my database (all record layouts, data types, lengths, defaults, etc. are held in an SQL server) I...
6
34168
by: Clay Beatty | last post by:
When you create database diagrams in Enterprise Manager, the details for constructing those diagrams is saved into the dtproperties table. This table includes an image field which contains most of the relevant infomation, in a binary format. SQL Enterprise manager offers no way to script out those diagrams, so I have created two Transact SQL components, one User Function and one User Procedure, which together provide a means to script...
2
6243
by: Todd_M | last post by:
I was wondering what anyone might suggest as "best practice" patterns for streaming out fixed formatted text files with C#? Let's say we get our data in a dataset table and we need to iterate over thousands..potentially tens of thousands of rows to create a properly formatted text file -- like an ACH file, for example. In there you typically have a header, a body block of detail rows and a trailer. (The trailers usually contain sums of the...
16
10092
by: Bill | last post by:
Say I have a childThread currently is running a finally block to cleanup external resources. At the same time the main thread calls childThread.Abort(). The question is: when the ThreadAbortException is thrown, does the childThread finish the remaining code in the finally block?
1
2406
by: Satpreet | last post by:
I'm looking to simulate the behavior of a digital hardware arithmetic block in a C/C++ program. I was just wondering if there are any libraries (with datatypes and overloaded operators etc.) available for arithmetic operations on Fixed/Block-Floating Point variables ?? Alternatively could anyone throw me a pointer to sample code if available on the net...
0
4492
by: craig dunn | last post by:
I've used the code from the post for a while now... but recently upgraded to SQL Server 2005. I've written a new script for SQL Server 2005, which can be found at http://www.codeproject.com/useritems/ScriptDiagram2005.asp if anyone is looking to script out database diagrams... Thanks to the original poster - Clay Beatty - for his effort. URL: ...
1
5381
by: MakaMaka | last post by:
Hi, Does anybody know of a good widget for wxpython, gtk, etc. that allows the editing of block diagrams and make it easy to export the diagram as a digraph? It has to be available under Windows. I want the user to draw a series of blocks on a canvas, connect them with directional arrows, and then a function will extract the digraph this represents and do some graph traversal algorithms on it. Think DIA or VISIO w/ only a few blocks...
8
2287
by: ms news group | last post by:
What happens if exception is thown within a fixed block? Will the pinned memory buffer get unpinned? and if the pinning pointer points to a managed memery buffer allocated within the throwing function, will the memory buffer get garbage-collected finally? I check the language spec, also searched the internet, found nothing regarding this question.
4
2156
by: Ole Nielsby | last post by:
In the old ages when I was taught Pascal, the manual had nice syntax diagrams. Each grammatical structure was shown as round boxes connected by arrows, with a model railway look, with the boxes representing either lexical tokens or other diagrams (i.e. terminals/nonterminals). They seemed very intuitive because you could toot-toot one finger along the rails in the book while moving another finger over your code. Does anything similar...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9452
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9184
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4551
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4813
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.